When (both are true) OR (both are false).
not shouldn't be used
A boolean operator is a simple word such as and, or, or not which are used to narrow or expand searches. Boolean operators are also used in programming to determine a path of action often depending on the status of a variable.
The idea is to get a simpler expression. If you need to build the hardware to implement a specific boolean expression, you can actually save money if the expression is simpler - and thus, you need less components.
Its used ti help us find dicunents quickly
what is boolean operator
The logic operator provides boolean results of combinations of other boolean expression, some of which might be relational expressions. For example... bool result = (a < 3) && (b > 4); The bitwise operator provides the same kind of boolean logic, AND, OR, and NOT, but it does it to the correspondingly ranks bits in one or two integers. For example ... int result = (a & 0xff) | (!b);
Boolean is a type, not an operator and can have the value of either TRUE or FALSE
NOT
A Boolean operator is any operator that returns true or false. False is typically denoted by the integer value 0 while all non-zero values equate to true. The less-than operator (<) is an example of a Boolean operator.
Logical operators don't Compare values they combine Boolean values and produce a Boolean result. Examples of logical operators are && (and), , (or), ! (not). If you have two Boolean values and you combined them with the && operator the result will be (TRUE) only if both values were (TRUE). Relational operators compare two values and produce a Boolean result. Most of the time we use logical operators to combine the results of two or more comparison expressions that use relational operators.
demorganization is used to reduce the Boolean expressions
BUT (apex)
FALSE.... cuz in && operator the compiler chk both of the expression if any of the expression is false then answer will be false.. for true result both of d expression must be true... by warrior2pnk
A variation of the AND NOT Boolean operator is the "NOR" operator, which returns true only if both operands are false.
The ! (boolean invert) operator returns the opposite of a boolean's current value: if(!(7 5," and the statement produces this output: not equal
And, or, not, xor, nand, nor. There are a few others, too.