* How do I create a program?
* How do I store a program?
* How do I run a program?
* How do I get the program to output something?
So your first statement seems to miss the mark.
To answer your question, if I'm learning a new language it's usually because I have a specific problem to solve, so I write "Hello World", and then start to grow the program into what I need. I don't have a toy problem to implement as a test.
Probably not the answer you wanted.