- :-

Topics Covered

  • Boolean Variables
  • Lesson Links

    Check Your Understanding:
    1. 1. True / False: A Boolean variable is a variable that only stores a true or false value.
    2. True
      False
    Detecting Line / Storing Results - Mini Challenge

    Mini Challenge 1: Array of Lines Challenge

    The robot must travel over a series of white and black lines.

    While traveling over the lines, the robot should store either the value of true of false in an array.

    If the line is white, the value should be stored as false.
    If the line is black, the value should be stored as true.
    • Recreate the table below on any surface, and use black and white tape if available. The robot will start on one end of the series of lines (1), then move towards the other side (2), reading each line along the way.

    Mini Challenge PDF[ Array of Lines Challenge.pdf ]