| name | generating-practice-questions |
| description | Generate educational practice questions from lecture notes to test student understanding. Use when users request practice questions, exam preparation materials, study guides, or assessment items based on lecture content. |
Practice Question Generator
Generate comprehensive practice questions from lecture notes to test student understanding of learning objectives and key concepts.
Input
Supported formats: LaTeX (.tex), PDF, Markdown (.md), plain text (.txt)
-
PDF: Use pdfplumber for text extraction
-
LaTeX: Read as text, strip preamble (everything before \begin{document}), preserve math environments ($...$, \[...\], \begin{equation}, etc.)
-
Markdown/Text
Content to extract:
- Learning objectives - Usually at beginning: "After this lecture, you should be able to..." or may be in section: "Learning Outcomes","Objectives", "Goals". If absent, derive from main topics.
- Main topics - Section headings, bold terms, definitions, algorithms.
- Examples - Use for realistic scenarios in questions.
Question Structure
Generate questions in this order:
- True/False (one per learning objective, or 3-5 if no objectives)
- Explanatory Questions (3-5 covering main topics)
- Coding Question (1 algorithm implementation or concept simulation)
- Use Case (1 realistic application)
For each question type, follow guidelines below, and never include answer key.