Boolean expression

In computer science, a Boolean expression is an expression used in programming languages that produces either true or false when evaluated.[1] Boolean expressions are often used by conditionals in computer programs to decide which code to run.

Most Boolean expressions will contain at least one variable (X > 3), and often more (X > Y) so that the expression can be useful for various values of X and Y.

  1. Gries, David; Schneider, Fred B. (1993), "Chapter 2. Boolean Expressions", A Logical Approach to Discrete Math, Monographs in Computer Science, Springer, p. 25ff, ISBN 9780387941158.

From Wikipedia, the free encyclopedia · View on Wikipedia

Developed by Nelliwinne