conditional expression
[/kənˈdɪʃənəl ɪkˈsprɛʃən/]
nounpl: conditional expressions
expressão condicional
1. A statement or phrase that contains a condition (usually introduced by 'if') and expresses what will happen if that condition is true
The conditional expression 'If it rains, then the game will be cancelled' shows a cause-and-effect relationship.
A expressão condicional 'Se chover, então o jogo será cancelado' mostra uma relação de causa e efeito.
2. In programming, a code construct that returns one of two values depending on whether a specified condition is true or false
The ternary operator is a common conditional expression used in many programming languages: x > 5 ? 'yes' : 'no'
O operador ternário é uma expressão condicional comum usada em muitas linguagens de programação: x > 5 ? 'sim' : 'não'
3. In grammar and linguistics, a sentence structure that uses conditional clauses to express hypothetical situations
In English, conditional expressions can be first, second, or third conditional depending on the likelihood of the situation.
Em inglês, expressões condicionais podem ser primeira, segunda ou terceira condicional dependendo da probabilidade da situação.
The term 'conditional expression' is primarily used in formal educational and technical (programming) contexts in both Brazil and the United States. In Brazilian Portuguese education, the term 'oração condicional' (conditional clause) is also commonly used when teaching grammar. In programming and technology sectors across both countries, 'conditional expression' is standardized terminology regardless of the native language.
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →