Difference between revisions of "Boolean value"

From Conservapedia
Jump to navigation Jump to search
(logic and computer science concept)
(No difference)

Revision as of 06:36, July 20, 2008

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.