Zum Inhalt springen
vocaboo
Beta
Anmelden

bool

Aussprache: [buːl]

Wort

Kontext: „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.

Beispiel

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

Beispiel

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

Beispiel

Is the value of the bool true or false?

Kontext: „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.

Beispiel

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

Beispiel

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

Beispiel

Did you give a bool answer to the game question?

0s
0s