# Generating interactive homework from lesson notes with AI

A practical workflow for turning raw lesson notes into interactive, auto-graded homework questions, with a copyable prompt template and answer-key verification.

[Read this guide on Reparse](https://reparse.co/guides/ai-interactive-homework-from-lesson-notes)


Lesson notes give an AI model examples and vocabulary to reuse in a homework draft. The teacher can
give it one worked example and a description of where students got stuck, then solve the resulting
questions independently before setting the homework.

The prompt below turns rough notes into a practice set with diagnostic distractors and explicit
calculation steps.

```text
You are an instructional assistant helping a teacher create an interactive homework assignment based strictly on today's lesson notes.

Source Notes:
[PASTE LESSON NOTES, WORKED EXAMPLES, AND ANONYMISED MISTAKES HERE]

Task:
Generate [NUMBER] homework questions based only on the concepts, conventions, and examples provided in the source notes.

Requirements:
1. Question Mix
   - Provide [COUNT] diagnostic multiple-choice questions with 4 options (A-D). Every incorrect distractor must map to a specific misunderstanding or calculation error noted in the lesson.
   - Provide [COUNT] numerical questions requiring a single calculated value with units specified in the prompt.
2. Answer Key
   - Provide the correct answer immediately after each question.
   - For multiple-choice questions, state the specific misconception that leads to each incorrect distractor.
   - For numerical questions, write out the calculation step by step.
3. Tone and Scope
   - Use language suitable for secondary school students.
   - Do not introduce formulas, terms, or units that do not appear in the source notes.

Output Format
Format the output in clean Markdown using headers, lists, and bold text for question labels.
```

## Worked example with synthetic notes

These example notes cover density and three mistakes a draft could use for wrong answer options.

```text
Topic: Density of solids (d = m / V)
Mass unit: grams (g)
Volume unit: cubic centimeters (cm³)
Model for this exercise: water density is about 1.0 g/cm³. Compare it with the density of each solid block.
Rectangular volume: length × width × height

Observed student errors:
1. Formula inversion: dividing volume by mass (40 / 80 = 0.5 cm³/g).
2. Adding dimensions instead of multiplying (5 + 2 + 4 = 11, then calling 11 the volume).
3. Reporting the volume as the density without dividing the mass by it.
```

An illustrative model output based on this prompt provides structured questions and distractor
rationales.

> **Question 1 (Diagnostic multiple-choice)** A solid block has length 5 cm, width 2 cm, height 4
> cm, and mass 80 g. What is the density of the block, and does it sink or float in water?
>
> - A) 2.0 g/cm³, sinks
> - B) 0.5 g/cm³, floats
> - C) 7.27 g/cm³, sinks
> - D) 40 g/cm³, sinks
>
> **Answer and distractor analysis**
>
> - Option A is the correct choice because volume is 40 cm³ and mass divided by volume yields 2.0
>   g/cm³. Because the density is greater than 1.0 g/cm³, the block sinks.
> - Option B comes from the inverted calculation 40 cm³ / 80 g = 0.5 cm³/g. The option treats that
>   result as a density even though the units are reversed.
> - Option C comes from adding the dimensions and treating 11 as the volume in cm³, giving 80 ÷ 11 ≈
>   7.27.
> - Option D confuses volume with density, reporting the calculated volume of 40 cm³ directly.

> **Question 2 (Numerical entry)** An unknown metal sample has a volume of 15 cm³ and a mass of 165
> g. Calculate the density in g/cm³, entering the numerical value only.
>
> **Solution and calculation** The correct value is 11.0 (or 11), calculated by dividing 165 g by 15
> cm³.

## Three checks for the answer key

The teacher can solve the draft from the question text before comparing answers with the generated
key.

- Recalculate each numerical value from the question text. Solving the problem directly from the
  prompt before reading the generated answer key catches calculation slips and rounding mismatches.
- Verify that each distractor isolates a single misconception so that student choices point to a
  specific misunderstanding.
- Establish clear formatting rules by stating whether students must type units in numerical boxes,
  and provide rounding precision whenever an answer involves fractions or repeating decimals.

## Pasting drafts into an interactive editor

In [Reparse](/), homework is authored in Markdown, but standard Markdown alone does not produce
interactive question elements. The Reparse editor provides a copyable prompt helper that includes
the application's question syntax. Pasting that prompt alongside lesson notes gives the language
model the exact tags required for interactive choices and numerical inputs.

A teacher can paste the resulting text back into the Reparse editor. The questions render as
auto-graded fields while the document remains in an editable draft state. The teacher can adjust
wording and check solutions before publishing.

After students complete the assignment, questions with structured inputs feed directly into
question-level review. As explained in the guide to
[whole-class feedback on identical answers](/guides/whole-class-feedback-for-homework), grouping
submissions by answer allows a teacher to send targeted feedback to every student who chose an
inverted distractor in a single action.
