Condition Tree Lab

Build an IF/ELSE decision, predict the branch, test boundary values, and debug the first rule that disagrees with the goal.

Grade 4 · CMP-0012 / CMP-0013 · no voice

Build the decision

Decision tree

TRUE →
FALSE →

Predict and test

Build a rule, predict a branch, then run an input.

Boundary suite

InputExpectedActualResult
No suite run yet.

Reasoning trace

  1. No input run yet.

Equality is a boundary: `>` and `>=` do not make the same decision when the input equals the threshold.

⌂ Orco Academy
🌱 Primary · Grades 3–5 · Computing

How “Condition Tree Lab” works

🎓 You are learning to: Build an IF/ELSE decision, predict the branch, test boundary values, and debug the first rule that disagrees with the goal.

Welcome! Three steps and you are learning:

  1. 📖 Read the challenge

    It tells you what to build, sort or fix.

  2. 🧪 Experiment

    Try things and watch carefully what happens. You can always reset.

  3. 🔧 Fix and improve

    Use the feedback like a detective: what clue tells you what to change?

💡 Top tip: if you get it wrong, that is useful — find out why before trying again.

Nothing you do here is saved or sent anywhere — experiment freely. Reopen this guide any time with the ? Help button.