Review, explain, practice

Study guide: Choose, Count and Test Decisions

Apply a condition, repeat it across items and test both branches of a rule.

Download the grade study pack

Ideas to explain in your own words

Watch your reasoning

A worked review example

Follow an If/Else Rule: A green card with a star goes to A. A green card with no star goes to B. Being green does not change the rule. Choose a Branch with a Number: Rows: 3 | false | wait; 4 | true | ready; 6 | true | ready. No row prints both ready and wait. Count Items That Match a Rule: Counts after the five cards are 1, 1, 2, 2, 3. The final result is 3 matching cards, even though 5 cards were visited. Test Both Sides of a Decision: Before repair: dot card expected D, actual N, fail; blank card expected N, actual N, pass. After repair, the dot card gives D and the blank card gives N: both tests pass.

Make a practice plan

  1. Try the supplied lesson problems without looking at the answers.
  2. Compare your method with the worked examples and explain any correction.
  3. Use the new review cases, then complete the transfer task on paper or in your own document.