Boolean value

This is an old revision of this page, as edited by Foxtrot (talk | contribs) at 06:36, July 20, 2008. It may differ significantly from current revision.
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A Boolean value is either true or false. These are the basic truth values, from which all others are deviations. The concept is named after George Boole, the father of logical truths, who extended the idea of Boolean values to that of the Boolean algebra, a generalized setting for working with truth values.

In computer science, a Boolean value is one of the primitive data types. It is most commonly used in if clauses for decision procedures in programming. In computer science, "true" corresponds to 1 and "false" corresponds to 0.