Instructions: This is an ungraded fill-in-the-blank exercise. Each question consists of a sentence with one or two words left out. A button represents the missing word(s). For each question, think of the word or phrase that should fill each blank, then click on the buttons to see if you are correct. No grade is calculated for this exercise.
This exercise involves the design of a computer game:
The first player enters a three letter word. The second player should not see what word is entered. Now the second player has five trys to guess the word. If the second player does not guess the word, the first player wins.(This is not a very good game; you may wish to work on it some more at the end of this exercise.) You might argue that the program is much more complicated than this. And of course, it is. But at the outermost level the program consists of code to perform just these two tasks.