Software Engineering vocabulary · Programming Concepts

Boolean

Meaning in software engineering, with examples

/ˈbuːliən/nounCore term

In software engineering, boolean means: A data type that has only two possible values, true or false, used for yes-or-no decisions such as whether a user is logged in.

In Turkish: mantıksal değer, doğru/yanlış değeri, Boolean tipi

How it is used

Often shortened to bool. Boolean variables are usually named like questions, for example isActive, hasAccess or canEdit. People also talk about a 'boolean flag' or a 'boolean expression'.

Example sentences

  1. Add a boolean field called isArchived instead of deleting the record.

  2. This function returns a boolean, so you can use it directly in the if statement.

Common collocations

  • boolean flag
  • boolean value
  • boolean expression
  • return a boolean

More terms: Programming Concepts

Practise with graded reading

Reading at the right level is the fastest way to make new words stick. Pick free English books by level: