Mark One Sheet (Quiz Scorer)

Read an answer key (a string like ABCD) and one student’s answers of the same length. Print score/total.

Input: Two lines: key, then answers.

Output: e.g. 3/4.

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

  • Compare character by character.

More Quiz Scorer practice