Skip to content
vocaboo
Beta

bool

Pronunciation: [buːl]

Word

Context: "computing"

(noun) a data type that can hold only one of two values: true or false. It's often used in programming to make decisions, like checking if something is correct or incorrect.

Example

The program used a bool to determine if the user was logged in.

Example

The code failed because it didn't set the bool to true when it should have.

Example

Is the value of the bool true or false?

Context: "games"

(noun) a term used to describe a situation or action that is either yes or no. It's like a quick way to say if something is happening or not.

Example

The game asks a bool question: will you choose to play?

Example

In this round, there was no bool answer; it was unclear what choice to make.

Example

Did you give a bool answer to the game question?

0s
0s