lesson

Match the question, answer and feedback

1 · Learn

A quiz program needs a complete question, a way to accept an answer, a decision and useful feedback. The accepted answer must match the question shown.

For a numerical question, decide how inputs such as spaces or text are handled. A visually attractive quiz can still be wrong if its stored answer belongs to a different question.

Question: 3 + 5Expected answer: 8DecisionExplanatory feedback
Key words and supplied examples.

2 · Worked example

For 3 + 5, I accept the intended numeric value 8 and explain the addition. I do not reuse an answer from a previous subtraction question.

3 · Your turn

What should you test besides one correct answer in a quiz program?

Check your answer

A wrong answer, a blank answer, relevant invalid input and any boundary or formatting cases the tool supports. Check feedback and retry behaviour too.

4 · Apply your learning

Build a two-question practice quiz with original self-contained questions in an approved tool. Test every answer path and label it as a local project, not a saved website score.

Adult guidance and safety

Use adult-approved offline or school-managed tools, invented data and original media. Keep projects private unless sharing is explicitly approved. Paper traces support, but do not replace, practical programming and saved digital work. No real passwords or personal records belong in these exercises.

Open your writing and drawing pad

Write, draw or show your working. Use a mouse, pen or finger. This pad is not a submitted answer.

Not saved to your account. Download your drawing as PNG and your typed notes as TXT before leaving or refreshing. They are separate files. Do not enter private information.

Open a picture saved on this device to draw on it again. Opening replaces the drawing, but Undo can restore it. PNG only, up to 4 MB and 4096 × 4096 pixels. The picture stays in this browser; it is not uploaded. Paper lines in a saved picture become part of that picture.

Drawing is unavailable. Use the typed working area below.

Your pad is empty.

Open a UTF-8 TXT file from this device, up to 40 KB and 10,000 characters. It stays in this browser. Opening can be undone until you type again. Downloads keep a new copy; they do not change the file you opened.

Typed notes are not submitted answers.

Check a calculation · Year 5 onward

Use this only when your teacher or adult allows a calculator for the task. Show your thinking first. It does not replace mental or written arithmetic and does not mark your lesson answer.

Practice this lesson

Lesson resources

Browse the available practice activities and worksheets for this lesson.

Open course resources

Your progress

Ready to continue?