Boolean
A data type that has only two possible values: true or false, often used in logic and programming.
(adjective, noun)
Examples in Sentences
- A light switch has a Boolean state: either on (true) or off (false).
- In a game, a `gameOver` variable might be Boolean, set to true when the game ends.
- Boolean logic is fundamental to how computers make decisions.
Quick Quiz
How many values can a Boolean variable have?
Answer: B) Two
Related Technology Terms
- true
- false
- logic
- binary
- conditional