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.
The spelling game stores 20 words.
(i) State the data structure and data type that will be required to store the 20 words.
[2]
(ii)State where in the computer system the 20 words will be stored while the program is running.
[1]
(iii) State the part of the processor that will compare the selected stored word with the user’s input.
[1]
Was this exam question helpful?


