Sub topic 12
Checking Quizzes: Answer Keys, Distractors, and Alignment
Assume you already know basic course structure, can use a chat-based AI assistant, and can read simple JSON and short Python scripts. This chapter focuses on reviewing a quiz draft, not asking an AI tool to generate the first draft.
An AI-generated quiz can look polished while testing the wrong skill. Review each question through three separate checks:
- The answer key must identify the actually correct option.
- The distractors must be plausible but clearly wrong.
- The question must measure a stated learning objective.
Do not treat these checks as the same task. A question can have a correct answer but still fail because it tests an unrelated fact or has three obviously silly alternatives.
Start with objective alignment
Before reviewing a question, write the objective it should measure. An objective should describe an observable action, such as “write a SUM formula” or “identify a valid WebVTT cue.” Avoid vague objectives such as “understand spreadsheets.”
Compare the question’s required action with the objective. If the objective says learners will create a formula, a question asking them to define a spreadsheet is poorly aligned. If the objective says learners will identify a valid caption cue, the question should provide enough timing or formatting information to make that decision.
A useful review record includes the question ID, its objective, the expected answer, and any required change.
Question q1
Objective: obj-2, write a formula that adds a range
Expected answer: =SUM(B2:B6)
Review result: aligned; answer key correctInspect answer keys and distractors
The answer key should be checked independently from the AI’s explanation. Work out the answer yourself, then compare it with answerIndex.
Good distractors represent likely mistakes. For a formula question, =B2+B6 tests whether a learner incorrectly adds only the endpoints. =ADD(B2,B6) tests whether the learner invents a function name. A distractor such as “blue” does not test anything useful.
Check each option for these problems:
- More than one option could reasonably be correct.
- The correct option is longer, more detailed, or more grammatical than the others.
- One option uses a different punctuation or capitalization pattern.
- A distractor is impossible for reasons unrelated to the objective.
- The question depends on an unstated software version or local convention.
Use structural checks, then human judgment
A script can find missing fields and malformed answer indexes. It cannot decide whether the marked answer is factually correct or whether a distractor is fair.
import json
def check_quiz(path, objective_ids):
problems = []
with open(path, encoding="utf-8") as file:
questions = json.load(file)
for question in questions:
qid = question.get("id", "?")
options = question.get("options", [])
answer_index = question.get("answerIndex")
if len(options) < 3:
problems.append(f"{qid}: fewer than 3 options")
if len(set(options)) != len(options):
problems.append(f"{qid}: duplicate options")
if not isinstance(answer_index, int) or not 0 <= answer_index < len(options):
problems.append(f"{qid}: answerIndex is missing or invalid")
if question.get("objective") not in objective_ids:
problems.append(f"{qid}: unknown objective")
return problems
print(check_quiz("quiz.json", {"obj-1", "obj-2", "obj-3"}))The script checks structure. A subject-matter reviewer must still verify the answer, wording, difficulty, and objective match.
Record the decision
Keep the original draft and record each change. A short reason such as “q3 had two correct options” helps another reviewer understand the decision. After revisions, rerun the structural check and reread every changed question. Then confirm that the final quiz covers the intended objectives rather than merely containing valid JSON.
Exercise
A question has four unique options and a valid answerIndex, but two options are technically correct. Does it pass review?
Show answer
No. The structural check passes, but human review must reject or rewrite the question so that only one option is correct.