Aller au contenu
vocaboo
Bêta
Se connecter

bool

Prononciation : [buːl]

Mot

Contexte : « 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.

Exemple

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

Exemple

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

Exemple

Is the value of the bool true or false?

Contexte : « 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.

Exemple

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

Exemple

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

Exemple

Did you give a bool answer to the game question?

0s
0s