bool variable

[/buːl ˈvɛriəbəl/]
nounpl: bool variables
variável booleana
1. A programming variable that can only hold one of two values: true or false, used in conditional logic and control flow
The bool variable 'isActive' determines whether the user account is enabled or disabled.
A variável booleana 'isActive' determina se a conta do usuário está habilitada ou desabilitada.
2. A data type in computer programming that represents logical values used in boolean algebra and conditional statements
In Java, you declare a bool variable using the 'boolean' keyword: boolean flag = true;
Em Java, você declara uma variável booleana usando a palavra-chave 'boolean': boolean flag = true;
This is a technical term predominantly used in software development and computer science education. It originated from George Boole's Boolean algebra and is universal across English and Portuguese-speaking programming communities. The term is equally understood in Brazil, Portugal, and the USA, with no significant regional variations in meaning or usage.
Synonyms / Sinônimos
boolean variablelogical variableflag variableboolean flag

Regional Variations

General Brazilian
variável booleana
standard term used in Brazilian programming communities and education
São Paulo
variável booleana
commonly used in tech hubs and corporate programming environments
Portugal
variável booleana
equivalent Portuguese term, sometimes also called 'variável lógica'
USA/International
bool variable
standard English term used in programming documentation and codebases worldwide

Related Words

booleantruefalseconditional statementlogical operatorif statementdata type

Related Idioms & Phrases

toggle a bool variable
flip a boolean flag
set a bool to true/false
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →