Skip to content
Boolean data type

File:George_Boole_color.jpg · Wikimedia Commons · See Wikimedia Commons

EntityQ520777· pop 42· linked from 293 articles

Boolean data type

Sign in to save

Also known as Boolean type

basic computing representation of truth and falsehood

Wikidata facts

Show 3 more facts
equivalent class
ogp.me/#bool
data size
1
Sources (2)

via Wikidata · CC0

~17 min read

Article

George Boole, the data type's namesake

In computer science, the Boolean (sometimes shortened to Bool) is a data type that has one of two possible values (usually denoted true and false) which is intended to represent the two truth values of logic and Boolean algebra. It is named after George Boole, who first defined an algebraic system of logic in the mid-19th century. The Boolean data type is primarily associated with conditional statements, which allow different actions by changing control flow depending on whether a programmer-specified Boolean condition evaluates to true or false. It is a special case of a more general logical data type—logic does not always need to be Boolean (see probabilistic logic).

Connections

Categories