Ask and grade (Quiz App)
The input is a quiz, then ---, then the player’s answers (one letter per line, in question order). A question is Q <text, its options A) …, B) … and ANSWER <letter. For each question print <n correct, <n wrong (answer <letter) or, if the answers ran out, <n skipped (answer <letter). Finish with score <right/<questions.
Input: The quiz, ---, the answers.
Output: One line per question, then the score.
Difficulty: Easy. Write your answer in the browser editor, run the examples, then submit it against hidden tests. Python and JavaScript are free; other languages are part of licode Club.
Hint
- Parse into a list of questions, each with its options and answer.