Automatically generate quizzes with multiple question types based on learning materials or topics to help users reinforce their knowledge.
Use Cases
- The user says "Help me come up with a few questions," "Generate a quiz based on this material," or "Help me review XX"
- Students reviewing and preparing for exams need practice questions
- Educators creating teaching quizzes
- Work with spaced repetition Skills (if enabled) for spaced repetition review
Execution Method
Use LLM capabilities directly to generate questions, with no additional tools required.
Supported Question Types
1. Multiple-choice questions (single/multiple select)
**Q1.** 以下哪个是 Python 中的不可变数据类型?
- A. list
- B. dict
- C. tuple ✅
- D. set
> 💡 解析:tuple(元组)创建后不能修改,是不可变类型。
2. True/false questions
**Q2.** 判断:HTTP 是有状态协议。
- ❌ 错误
> 💡 解析:HTTP 是无状态协议,每次请求独立,不保留之前请求的信息。
3. Fill-in-the-blank questions
**Q3.** TCP 建立连接需要 ______ 次握手。
- 答案:三
> 💡 解析:TCP 三次握手:SYN → SYN-ACK → ACK。
4. Short-answer questions
**Q4.** 简述什么是数据库索引,以及它的优缺点。
> 参考要点:加速查询、增加写入开销、占用额外存储空间
Question Design Strategy
- Difficulty gradient: From easy to hard, basics first and then comprehensive questions
- Even coverage: Ensure all chapters/knowledge points of the material are covered
- Distractor quality: Incorrect options in multiple-choice questions should be plausible and not obvious at a glance
- Detailed explanations: Each question comes with an explanation, so users can learn even when they get it wrong
Interactive Modes
Two modes are supported:
- One-time quiz generation: Generate a complete test paper
- Question-by-question mode: Present one question at a time, give feedback after the user answers, then present the next question
Output Specifications
- By default, include answers and explanations
- If the user wants to practice, hide the answers first (using a collapsible format)
- Count the proportion of correct and incorrect answers, and point out weak knowledge points
- The number of questions is based on the user's request; default is 10