Skip to content

Booleans and selection: if/else and logic

Handout

Booleans and selection

  • A boolean is a value that is either true or false.
  • Programs make choices by testing a boolean and running different code.
  • In this lesson you learn if / else if / else and how to build conditions.

Handout

Log in or create account

IGCSE & A-Level