Hour of Math
Catalogue
Programming

Conditions: Branching on Data

Write a program that behaves differently based on data โ€” from a single condition to combined and nested decisions.

  1. If This, Then ThatBy the end you can build an if/else that checks a score, combine two checks with and/or/not, and describe a conditional statement in an exam answer.
  2. Clear for LaunchBy the end you will have built a crew clearance program with a nested decision, and given a rover the power to sense a path, decide, and act on its own.