In this lesson
- It starts with a question. A stall rule says: “If a bag weighs more than 5 kg, charge $2 to carry it. Otherwise carry it free.” A bag weighs exactly 5 kg. What happens?
- The idea you will find. A test is true or false. Each answer has its own path. — Every bag went down exactly one path, never both. The machine checks the test, gets true or false, and follows that path. The edge case decides whether the rule is right: “more than 5” and “5 or more” treat the bag of exactly 5 differently. Always try the edge.
- How you learn it. By doing: sorting, a slider, putting things in order.
- Length. 6 short steps. Progress saves on this phone.
Part of Touch Lab · Systems
Move a lever. Watch the system. That is statistics and code in the hand.