Test an Algorithm at Its Boundary
Choose test cases below, at, and above a rule’s threshold.
Open lesson 1Test inclusive thresholds, validate inputs and count results from a reusable rule.
Choose by skill rather than age alone. Read with an adult when useful, revisit a lesson, or explore another grade.
Choose test cases below, at, and above a rule’s threshold.
Open lesson 1Reject values outside a stated whole-number input contract.
Open lesson 2Pass a threshold into a function without changing its comparison.
Open lesson 3Filter invalid inputs before counting those that meet a threshold.
Open lesson 4After the lessons, try 4 new review cases and a practical task. Each answer has an explanation and a link back to the related lesson.
Open the unit reviewGuest answers are temporary. Keep your own paper or document; this unit does not certify completion or record a school grade.