Quiz Generator
Overview
Generate comprehensive quizzes from topics, documents, or learning materials. Include questions of varying difficulty, different question formats, correct answers, and detailed explanations to reinforce learning.
Quiz Structure
Required Elements
Quiz Title and Description
- Clear, descriptive title
- Topic focus
- Target audience level
- Estimated completion time
- Question count
Questions
Each question must include:
- Question text
- Question difficulty (easy/medium/hard)
- Question type (see formats below)
- Correct answer(s)
- Detailed explanation
- Optional: reference to source material
Answer Key
- Quick reference for all correct answers
- Usually at the end of the quiz
Scoring Guide (optional)
- How many points per question
- What score indicates mastery
- Recommended follow-up based on score ranges
Question Formats
Multiple Choice (default)
- 3-5 answer options (1 correct, others plausible distractors)
- Label options A, B, C, D, E
- Distractors should be common misconceptions
True/False
- Statement to evaluate
- Explanation for why it's true or false
Fill-in-the-Blank
- Sentence or statement with blank(s)
- Case-insensitive matching preferred
- List acceptable alternative answers
Short Answer
- Open-ended question
- Provide example acceptable answers
- Explain key points that should be included
Matching
- Two columns to match (terms to definitions, dates to events, etc.)
- Indicate the relationship clearly
Difficulty Guidelines
Easy
- Basic facts, definitions, terminology
- Direct recall from source material
- Should be answerable after one pass through material
- Example: "What does API stand for?"
Medium
- Requires understanding concepts, not just facts
- Inference or application of knowledge
- May require connecting multiple pieces of information
- Example: "Which HTTP method would you use to update an existing resource?"
Hard
- Requires synthesis, analysis, or critical thinking
- Complex scenarios or edge cases
- Comparison or evaluation of options
- Example: "Compare REST and GraphQL architectures for a real-time chat application."
Writing Guidelines
Question Quality
- Ensure each question tests something meaningful
- Avoid ambiguous phrasing
- Make questions independent (don require previous answers)
- Balance question types and difficulty levels
- Include 10-20 questions for a comprehensive quiz
Explanations
- Explain not just the correct answer, but why alternatives are wrong
- Reference the source material when applicable
- Add additional context or related concepts
- Help the learner understand, not just memorize
Distractor Generation
- Create plausible wrong answers
- Use common misconceptions or errors
- Avoid "all of the above" or "none of the above" (become guesswork)
- Keep distractors similar in length and tone to correct answer
Example Question
### Question 3 (Medium)
What is the primary purpose of environment variables in application configuration?
A) To store sensitive credentials securely
B) To configure application behavior across environments
C) To manage database connections
D) To handle user authentication
**Correct Answer:** B
**Explanation:** Environment variables allow applications to be configured differently across development, testing, and production environments without changing code. While they can store credentials (A), their primary purpose is configuration flexibility. Database connections (C) and authentication (D) are specific use cases, not the primary purpose.
Generation Workflow
Understand the Source
- Read the topic or provided material
- Identify key concepts, facts, and relationships
- Note common pitfalls or misconceptions
Plan Question Distribution
- Target: 40% easy, 40% medium, 20% hard
- Mix question types based on content
- Ensure coverage of all key topics
Generate Questions
- Draft questions with answers and explanations
- Review for clarity and accuracy
- Check that explanations actually explain
Review and Refine
- Remove redundant or overlapping questions
- Ensure difficulty is consistent
- Verify all answers are correct
- Add a practice question or bonus if appropriate
Output Format
Deliver the quiz in the user's preferred format:
- Markdown (default) - with sections clearly marked
- JSON - for programmatic use or quiz platforms
- Plain text - for simple assessments
JSON Format Example
{
"title": "Web Development Fundamentals Quiz",
"description": "Test your knowledge of HTML, CSS, and JavaScript basics",
"questions": [
{
"id": 1,
"difficulty": "easy",
"type": "multiple_choice",
"question": "What does HTML stand for?",
"options": [
"Hyper Text Markup Language",
"High Tech Modern Language",
"Hyper Transfer Markup Language",
"Home Tool Markup Language"
],
"correct_answer": 0,
"explanation": "HTML stands for Hyper Text Markup Language. It's the standard markup language for creating web pages."
}
],
"answer_key": {
"1": "A"
}
}
Quality Checklist
Before finalizing a quiz, verify:
1---2name: quiz-creator3description: Generate quizzes and assessments from any topic or content. Create questions of varying difficulty (easy, medium, hard), multiple formats (multiple choice, true/false, fill-in-blank), with answers and detailed explanations. Use when the user asks to create a quiz, test knowledge, generate questions, or build assessments.4---56# Quiz Generator78## Overview910Generate comprehensive quizzes from topics, documents, or learning materials. Include questions of varying difficulty, different question formats, correct answers, and detailed explanations to reinforce learning.1112## Quiz Structure1314### Required Elements15161. **Quiz Title and Description**17 - Clear, descriptive title18 - Topic focus19 - Target audience level20 - Estimated completion time21 - Question count22232. **Questions**24 Each question must include:25 - Question text26 - Question difficulty (easy/medium/hard)27 - Question type (see formats below)28 - Correct answer(s)29 - Detailed explanation30 - Optional: reference to source material31323. **Answer Key**33 - Quick reference for all correct answers34 - Usually at the end of the quiz35364. **Scoring Guide** (optional)37 - How many points per question38 - What score indicates mastery39 - Recommended follow-up based on score ranges4041### Question Formats4243#### Multiple Choice (default)44- 3-5 answer options (1 correct, others plausible distractors)45- Label options A, B, C, D, E46- Distractors should be common misconceptions4748#### True/False49- Statement to evaluate50- Explanation for why it's true or false5152#### Fill-in-the-Blank53- Sentence or statement with blank(s)54- Case-insensitive matching preferred55- List acceptable alternative answers5657#### Short Answer58- Open-ended question59- Provide example acceptable answers60- Explain key points that should be included6162#### Matching63- Two columns to match (terms to definitions, dates to events, etc.)64- Indicate the relationship clearly6566## Difficulty Guidelines6768### Easy69- Basic facts, definitions, terminology70- Direct recall from source material71- Should be answerable after one pass through material72- Example: "What does API stand for?"7374### Medium75- Requires understanding concepts, not just facts76- Inference or application of knowledge77- May require connecting multiple pieces of information78- Example: "Which HTTP method would you use to update an existing resource?"7980### Hard81- Requires synthesis, analysis, or critical thinking82- Complex scenarios or edge cases83- Comparison or evaluation of options84- Example: "Compare REST and GraphQL architectures for a real-time chat application."8586## Writing Guidelines8788### Question Quality89- Ensure each question tests something meaningful90- Avoid ambiguous phrasing91- Make questions independent (don require previous answers)92- Balance question types and difficulty levels93- Include 10-20 questions for a comprehensive quiz9495### Explanations96- Explain not just the correct answer, but why alternatives are wrong97- Reference the source material when applicable98- Add additional context or related concepts99- Help the learner understand, not just memorize100101### Distractor Generation102- Create plausible wrong answers103- Use common misconceptions or errors104- Avoid "all of the above" or "none of the above" (become guesswork)105- Keep distractors similar in length and tone to correct answer106107## Example Question108109```markdown110### Question 3 (Medium)111What is the primary purpose of environment variables in application configuration?112113A) To store sensitive credentials securely114B) To configure application behavior across environments115C) To manage database connections116D) To handle user authentication117118**Correct Answer:** B119120**Explanation:** Environment variables allow applications to be configured differently across development, testing, and production environments without changing code. While they can store credentials (A), their primary purpose is configuration flexibility. Database connections (C) and authentication (D) are specific use cases, not the primary purpose.121```122123## Generation Workflow1241251. **Understand the Source**126 - Read the topic or provided material127 - Identify key concepts, facts, and relationships128 - Note common pitfalls or misconceptions1291302. **Plan Question Distribution**131 - Target: 40% easy, 40% medium, 20% hard132 - Mix question types based on content133 - Ensure coverage of all key topics1341353. **Generate Questions**136 - Draft questions with answers and explanations137 - Review for clarity and accuracy138 - Check that explanations actually explain1391404. **Review and Refine**141 - Remove redundant or overlapping questions142 - Ensure difficulty is consistent143 - Verify all answers are correct144 - Add a practice question or bonus if appropriate145146## Output Format147148Deliver the quiz in the user's preferred format:149- Markdown (default) - with sections clearly marked150- JSON - for programmatic use or quiz platforms151- Plain text - for simple assessments152153### JSON Format Example154155```json156{157 "title": "Web Development Fundamentals Quiz",158 "description": "Test your knowledge of HTML, CSS, and JavaScript basics",159 "questions": [160 {161 "id": 1,162 "difficulty": "easy",163 "type": "multiple_choice",164 "question": "What does HTML stand for?",165 "options": [166 "Hyper Text Markup Language",167 "High Tech Modern Language",168 "Hyper Transfer Markup Language",169 "Home Tool Markup Language"170 ],171 "correct_answer": 0,172 "explanation": "HTML stands for Hyper Text Markup Language. It's the standard markup language for creating web pages."173 }174 ],175 "answer_key": {176 "1": "A"177 }178}179```180181## Quality Checklist182183Before finalizing a quiz, verify:184185- [ ] All questions are clear and unambiguous186- [ ] Correct answers are accurate187- [ ] Explanations are helpful and educational188- [ ] Difficulty levels are appropriate for audience189- [ ] Question types are varied190- [ ] Key topics from source are covered191- [ ] Distractors are plausible but clearly wrong192- [ ] Quiz title and description are informative193- [ ] Answer key is complete and accurate