Skip to content
এই পৃষ্ঠার সম্পূর্ণ বিস্তারিত নির্দেশিকা বর্তমানে ইংরেজিতে আছে। এই পৃষ্ঠাটি ইংরেজিতে পড়ুন

Open Curriculum Library › Coding Projects: Grades 9–12 › Tests

Quality 50 min

Tests

A 50-minute Coding Projects lesson on Tests for Grades 9–12 in the unit Quality.

Chapter opening

This lesson is part of Quality. The chapter question is: How does Quality help us understand or act in the world? Keep it in mind as you work; by the end you should be able to answer it with an example of your own.

Why this matters

In this unit (Quality), A project is where code meets a real user. the chapter on Quality is the part of the build you can plan and test.

Make it real

A user has a problem and the first build is too big. Tests is the part you can make work today.

What you will learn

  • Say what Tests means and give one example of your own.

  • Use Tests in a short task and show your method.

  • Notice one mistake and correct it.

Subject lens

Ask: what is the idea, what is an example, and how would I explain it to someone else? For Tests, use one example and one counter-example.

Warm-up (12 minutes)

Begin with a short retrieval quiz on the prior lesson. Ask two learners to say what they notice before anyone writes anything. Academic, with derivation, critique and extended writing is the aim here: the first minute should feel easy enough to join.

Teach (16 minutes)

Name the idea: Tests. Give one clear example, then a second that is almost the same so the pattern is visible. Write the smallest working version, test one input, then improve one thing.

Vocabulary in action

Use these words in your notebook: feature, test, bug, deploy, user. Write one sentence that uses two of them, then underline the part that makes the sentence precise.

Studio, lab or field work

Define the smallest feature, build it, test a normal and an edge case, then improve one thing.

Worked example

Plan a small version of Tests: what you need, the first step, and how you will know it worked.

Guided practice

  1. Do one example together, narrating each step.

  2. Do one example with a partner, then compare answers and methods.

  3. Choose the method you would use again and say why.

Independent practice

Complete an extended task or a set of exam-style questions. With rubrics and self-check is expected; the point is a method that can be explained, not speed.

Talk about it

What would break first at scale? What would break first if a hundred people used this? Take one minute to think, one minute to talk, then one sentence to write.

Common misconception

Thinking Tests is only one fixed procedure. Ask for a second method and compare where the two agree.

Check for understanding

  • Can you explain Tests without reading your notes?

  • Can you show one place where it would be easy to slip?

  • Can you connect it to something you already know?

Retrieval practice

  1. Say what Tests means without looking at your notes.

  2. Give one example and one non-example.

  3. Name one mistake someone could make and how to catch it.

Self-check

  • [ ] I can explain Tests in my own words.

  • [ ] I can use Tests in a new example.

  • [ ] I can find and fix one mistake in my work.

Connection

Connect Tests to another subject you are studying. Write two sentences explaining the link.

Going further

Try the same idea with a harder example, or teach it to someone younger using objects instead of symbols.

Keep the whole course

Plan with this lesson in Brightfolk.

Start free, add the course to a learner's plan and keep the source and licence attached.