Boolean

From Higher Computing Science
Jump to: navigation, search

This article is unfinished. Please consider joining and adding to this article. Read about Page layout beforehand.

Key points

  • Boolean is a simple data type that is stored as either True or False

Information

A Boolean data type can only have the value true or the value false.

The name of the data types recalls George Boole, a mathematician.

Boolean data is generated from conditions. When two values are compared (e.g. 4>5) then the result is true or false.

Boolean example

Videos

Further information

Test yourself

Teaching resources