Boolean expression

Jump to: navigation, search

A Boolean expression is an expression that results in a Boolean value, that is, TRUE or FALSE. For example, the value for 5 > 3 is TRUE, the value for "An apple is not a fruit" is FALSE.

Boolean expressions are used also in document retrieval. For example, given a collection of documents we could select those according to a particular word content described by a Boolean expression such as (("cellular" OR "mobile") AND ("phone" OR "telephone")).

See also