Physics, asked by diyaverma2003, 1 year ago

what is boolean expression?​

Answers

Answered by pranali200477
4

A Boolean expression is a logical statement that is either TRUE or FALSE . Boolean expressions can compare data of any type as long as both parts of the expression have the same basic data type. You can test data to see if it is equal to, greater than, or less than other data.

Answered by depak2309
3

Answer:

An expression that results in a value of either TRUE or FALSE. For example, the expression

2 < 5 (2 is less than 5)

Explanation:

it refers to a system of logical thought developed by the English mathematician and computer pioneer, George Boole (1815-64). In Boolean searching, an "and" operator between two words or other values (for example, "pear AND apple") means one is searching for documents containing both of the words or values, not just one of them. An "or" operator between two words or other values (for example, "pear OR apple") means one is searching for documents containing either of the words.

In computer operation with binary values, Boolean logic can be used to describe electromagnetically charged memory locations or circuit states that are either charged (1 or true) or not charged (0 or false). The computer can use an AND gate or an OR gate operation to obtain a result that can be used for further processing. The following table shows the results from applying AND and OR operations to two compared states

Similar questions