You will probably want to look at how the readword and ifelse commands are used in the Haunted House example.
You may also be able to do something similar using turtle graphics.
All students should be presented with the same number of questions, regardless of their performance.