2017-06-30 03:32:11 +02:00
# Booleans
2017-08-01 21:47:07 +02:00
![micro:bit Combo Box ](/static/courses/csintro/booleans/cover.jpeg )
2017-06-30 03:32:11 +02:00
2017-08-01 21:47:07 +02:00
This lesson introduces the use of the boolean data type to control the flow of a program, keep track of state, and to include or exclude certain conditions.
2017-06-30 03:32:11 +02:00
2017-07-06 09:05:42 +02:00
## Lesson objectives
2017-06-30 03:32:11 +02:00
Students will...
* Understand what booleans and boolean operators are, and why and when to use them in a program.
* Learn how to create a boolean, set the boolean to an initial value, and change the value of the boolean within a micro:bit program.
* Learn how to use the random true or false block.
* Apply the above knowledge and skills to create a unique program that uses booleans and boolean operators as an integral part of the program.
2017-07-06 09:05:42 +02:00
## Lesson structure
2017-06-30 03:32:11 +02:00
* Introduction: Booleans in daily life
* Unplugged Activity: Two Heads are Better Than One
2017-07-10 14:35:39 +02:00
* micro:bit Activity: Double Coin Flipper
2017-06-30 03:32:11 +02:00
* Project: Boolean
* Assessment: Rubric
* Standards: Listed
## Lesson plan
1. [**Overview**: Booleans ](/courses/csintro/booleans/overview )
2. [**Unplugged**: Two heads are better than one ](/courses/csintro/booleans/unplugged )
3. [**Activity**: Double coin flipper ](/courses/csintro/booleans/activity )
4. [**Project**: Boolean ](/courses/csintro/booleans/project )
## Related standards
[Targeted CSTA standards ](/courses/csintro/booleans/standards )