AI Quiz Generator: Build Questions You Can Trace to the Source

The generated quiz marks an answer wrong, but the student points to a sentence that supports it. Check the question and the competing options against the assigned text before trusting the answer key or the score.

Start with the passage, not a topic alone

Give the generator the exact text you assigned and a question mix. A quiz about “lighthouses” can draw on outside information; a quiz based only on a supplied passage should let you trace every correct choice to that passage.

The finished example below uses an original fictional lighthouse story and four prepared questions. It is a local reading check, not an AI service running inside the page. The keeper, boat and events are invented; no grade level or measured reading difficulty is claimed.

Gull Rock reading check: source, four questions and passage-based feedback
Gull Rock reading check: source, four questions and passage-based feedback
Open the full example ↗

Check the distractors as carefully as the marked answer. In the sample, Tuesday is the boat’s normal day, while Thursday is the delayed arrival. The question must say which schedule it is asking about. A wrong option should reflect a misreading, not a second defensible answer.

Show feedback that points back to the text

Selecting an option shows “Correct” or “Not quite” and an explanation with the paragraph providing evidence. The progress line shows how many questions have been answered. It shows a score out of four only after all four have a choice; changing an answer updates that score, and Try again clears the choices and feedback.

MagicSchool’s multiple-choice tool page describes generating assessments from supplied criteria. H5P’s multiple-choice example describes immediate feedback and allows different answer configurations. For this reading check, choose exactly one supported answer per question and verify that choice yourself.

This example does not send or save answers. It cannot supply a gradebook record, authenticate a student or prove that someone completed the work. Use your school’s required learning platform or handout when you need that workflow.

Generate a draft from your own source

Create a self-contained HTML multiple-choice reading-check draft.
Exact source text I may use: [PASTE]
Audience and quiz title: [PASTE]
Question count and skill mix: [PASTE]
Required delivery/gradebook format: [PASTE]

Preserve the source exactly. Do not invent events, facts, reading-level measurements or student data. Use only the source for answers. Show missing instructions as [TO CONFIRM]. Give each question four plausible options and exactly one correct answer; vary its position. If the source cannot support the requested count or skill, flag that instead of inventing questions. After the HTML, list each correct answer with the exact supporting sentence for teacher review.
Use native buttons, visible focus, announced pressed states and a text aria-live feedback region. Keep each question’s feedback tied to its own source evidence. After a choice, show Correct or Not quite in words with an explanation. Show answered-count progress; show the final score out of the total only when all questions have answers. Allow changed choices to update the result without counting an answer twice. Try again must clear choices, feedback and score and return focus to the first answer.
Use at least 16px text, large usable options, a single column at 360px and no horizontal overflow. Keep CSS and local checking/reset script in the file. No external assets, requests, forms, tracking, local storage, student identity or pretend saving. Return HTML and the review key. This is local practice and does not replace a required school assessment workflow.

Test a wrong answer and a second attempt

Take the quiz with the review key hidden. Try a wrong option, change it to the supported choice, finish the remaining questions and reset. Confirm that the feedback, answered count and score describe what happened rather than showing a success message after any click.

If a student finds ambiguity, revise the question and key together and test the choices again.

For that wording review, open the HTML copy in NOS and compare the question with the passage beside it. Use the teacher’s feedback to correct your maintained quiz file, then check the choices again in the learning platform or handout you actually use.

Send the corrected quiz and identify the changed question. Ask the teacher using it to check that the new explanation matches the source.

Keep reading