About this tool
Build a ready-to-paste AI quiz generation prompt with an exact difficulty mix, question types and a formatted answer key.
The Quiz Prompt Builder turns a topic, a difficulty percentage mix and your allowed question formats into a structured, paste-ready quiz-generation prompt for any AI assistant. It converts percentages into exact whole-question counts using largest-remainder apportionment, so a 10-question quiz at 50/30/20 always yields exactly 5 easy, 3 medium and 2 hard questions. Teachers, trainers and course creators get consistent quizzes with a clean answer key instead of vague one-line requests.
Open Quiz Prompt Builder on AltFTool — it loads instantly in your browser.
Add your input to the workspace.
Adjust the options until the result looks right.
Copy or download the output and put it to work.
Percentages become whole question counts that always sum to your total — no rounding drift.
The prompt fixes numbering, difficulty tags, MCQ option counts and answer-key layout so every quiz looks the same.
Everything is assembled in your browser; no topic or class data leaves your device.
It uses largest-remainder (Hare quota) apportionment: each percentage is converted to a fractional quota, floors are assigned first, and leftover questions go to the largest fractional remainders. This guarantees the easy, medium and hard counts always add up to exactly the total you asked for.
Four formats: multiple choice, true/false, short answer and fill in the blank. You can enable any combination, and for multiple choice you can fix the number of options anywhere from 2 to 6, with A–F labels and one clearly correct answer.
Yes, by default the prompt instructs the AI to append a separate "Answer key" section listing every answer on its own line. You can switch this off, or additionally request a one-sentence explanation for each answer for revision use.
Between 1 and 100 questions. The cap exists because a single AI response tends to degrade in quality and consistency beyond roughly 100 questions; for longer assessments, generate the quiz in batches of 20–30 questions.