Apr-02-2020, 04:35 PM
(Apr-02-2020, 09:11 AM)perfringo Wrote: If you have no clue then maybe you are not up to the task.
However, some clues how I would approach the task:
- have questions, multiple choice answers (including correct answer)
- one at the time output question with choices to screen
- save user input (answer)
- after all questions are asked compare correct answers with user answers
- for every correct answer output to screen appropriate information, for non-correct answers output to screen appropriate message along with user answer and the correct answer.
I've never done anything like this. My idea was to have the user completely go through the entire test and after the test is over then telling him or her how many questions were answered correctly and then have a Back button and the test would go back to the specific question he or she got wrong and showed them what the correct answer was.
But I think your method would be simpler. That way it's like show correct answer as you proceed through the test.