Let be the binary operator defined as
where and are Boolean variables.
Consider the following two statements.
Which are the following is/are true for the Boolean variables and ?
View worked solution
Answer: B
The binary operator is defined as , which represents the logical NAND operation.
Let us analyze the two statements:
Statement : Associativity
We need to check if .
- Left-Hand Side (LHS):
- Right-Hand Side (RHS):
Since in general (for example, if , LHS while RHS ), the operator is not associative. Thus, is false.
Statement : Commutativity
We need to check if .
- LHS:
- RHS:
Since Boolean addition is commutative (), we have . Thus, the operator is commutative, and is true.
Therefore, only is true.
Free practice · Your answers on this page are not saved.
