Boolean expression: Difference between revisions

Content deleted Content added
Changing short description from "Expression in a computer program that produces either "true" or "false" when evaluated" to "Expression in a computer program"
Added 1 word
Tags: Visual edit Mobile edit Mobile web edit
Line 1:
{{Short description|Expression in a computer program}}
In [[computer science]], a '''Boolean expression''' is an [[Expression (programming)|expression]] used in [[programming language]]s that produces a [[Boolean value]] when evaluated. A Boolean value is either '''true''' or '''false'''. A Boolean expression may be composed of a combination of the Boolean constants '''trueTrue/Yes''' or '''falseFalse/No''', [[Boolean data type|Boolean-typed]] variables, Boolean-valued operators, and [[Boolean-valued function]]s.<ref>{{citation
| last1 = Gries | first1 = David | author1-link = David Gries
| last2 = Schneider | first2 = Fred B. | author2-link = Fred B. Schneider