A spelling game stores 20 words. Each word has an accompanying sound file where an actor’s voice speaks the word. When the game is running the program repeats the following 20 times:
selects one of the 20 words
loads a sound file matching the selected word
plays the sound file through a speaker
asks the user to type in the word
compares the user’s entry to the stored word
informs the user if they have spelled the word correctly.
When the game is over the program displays the total number of words that have been spelled correctly by the user.
Complete the table below by identifying three processes from the above description of the game.
Input(s) | User enters the word |
Process(es) | |
Output(s) | Play matching sound file through speaker. Display whether or not the user spelled the word correctly. Display the total number of correctly spelled words. |
Was this exam question helpful?


