Boolean Data Type

Boolean Data Type

In computer science, the Boolean or logical data type is a data type, having two values (usually denoted true and false), intended to represent the 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 the primary result of conditional statements, which allow different actions and change control flow depending on whether a programmer-specified boolean condition evaluates to true or false.

Read more about Boolean Data Type:  Generalities, ALGOL, Java, and C#, Fortran, Lisp and Scheme, Pascal, Ada, and Haskell, C, C++, Objective-C, Awk, Perl, Python, Python, Ruby, and JavaScript, SQL

Famous quotes containing the words data and/or type:

    To write it, it took three months; to conceive it three minutes; to collect the data in it—all my life.
    F. Scott Fitzgerald (1896–1940)

    To play safe, I prefer to accept only one type of power: the power of art over trash, the triumph of magic over the brute.
    Vladimir Nabokov (1899–1977)