Rocket rushes into the lab. "Can I have a cookie?" he asks.
Raven smiles. "Yes, if you finished homework and brushed your teeth."
Rocket counts on his fingers. "Homework is done. My teeth are not brushed yet."
"What do you notice about the rule?" Raven asks. Nova hovers close. "Look at the little word in the middle," she hints. Let's help them decide.
ROCKET asks: 'Can I have a cookie?' RAVEN says: 'IF you finished homework AND brushed teeth.' Both must be TRUE. That's an AND. If either one is FALSE, no cookie.
TRUE or FALSE? Circle one for each.
A Boolean is a value that can only be TRUE or FALSE. There is no maybe.
A question like Is it raining? has a Boolean answer.
| Statement | True or false? |
|---|---|
| A Boolean can be TRUE or FALSE. | ? |
| A Boolean can be maybe. | ? |
| TRUE AND FALSE is FALSE. | ? |
| TRUE OR FALSE is FALSE. | ? |
| NOT TRUE is FALSE. | ? |