Vai al contenuto

Challenge 2016-12


Write a program to read and fill in a text questionnaire.
The questions will be in a text file read by the program.
Each question is presented to the user and the answers read and output to a new file, perhaps a new file for each user questioned.

Example question file:

What is your name?
How old are you?
Where do you live?
What is your star sign?

Example file completed and output by the program:

What is your name?
How old are you?
Where do you live?
New York
What is your star sign?

Extend the program so that some of the follow-up questions depend on previous answers.
For example, if your age is less than 16 ask where you go to school, or if you are married then ask what your parner’s name is or some other depedent questions.


  1. Create a program to draw a sundial clock with a shadow that is correct for the time of day.
  2. Create a drawing in the GraphicsWindow of what you can see from your window: skyline, garden, road or whatever.


Write a program to play a karaoke song, with the words highlighted as they are sung.



Write a program to solve a cubic equation and find the 3 roots.
The user enters the 4 coefficients A, B, C, D for the equation Ax^3 + Bx^2 + Cx +D = 0 , and the program finds the 3 solutions for x.


Write a simple 2 player tennis game.
Each player should move along the base line with 2 keys and the ball is returned if they are in place to hit the ball.

Community Suggestions

  • Falling snow (byYLed) – LINK
  • Create a new graphic visual effect (By YLed) – LINK

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *

Questo sito usa Akismet per ridurre lo spam. Scopri come i tuoi dati vengono elaborati.