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)

    They had supposed their formula was fixed.
    They had obeyed instructions to devise
    A type of cold, a type of hooded gaze.
    But when the Negroes came they were perplexed.
    These Negroes looked like men....
    Gwendolyn Brooks (b. 1917)