Computer Programming I :: Projects :: Random Quotes
Department Connection: Social Studies
Problem
You are going to design a program that can generate at least 10 random quotes from historical figures. The quotes could either be from the same historical figure or figures who are somehow related. For example, you could have quotes from ten U.S. presidents, ten famous women, or ten quotes from Abraham Lincoln. These quotes will be chosen at random when a button on the form is pressed. When the button is pressed a picture of the person will be displayed at the same time as the quote.
Specific Requirements
- Write an algorithm before you begin programming. Your algorithm should discuss the creation of a random number and what will happen for each random number generated.
- Your quotes should appear in a label.
- You should have at least 10 different quotes included.
- The previous picture and quote should disappear when a new picture/quote combination appears.
- Rename the form and all controls on the form using a three-letter prefix.
- Add a comment header following class guidelines.
Project Extension
1. Change your program slightly so it is more like a game. When the quote appears the user should enter the name of the source of the quote in a TextBox. After the guess the program tells them if they got the answer correct or not and the picture appears.
2. Modify your game so the user gets one more chance to guess after the quote appears. If they guess incorrectly the picture appears and they get one more chance to guess.
3. Modify your game one last time so the user gets points for each correct answer and loses points if they fail to answer correctly. They should get more points if they answer correctly without the picture.