PRASHNIKAप्रश्निका
Back to the paper

State the Commutative law and prove it with the help of a truth table.

Computer Science20181 markShort answer

Answer

Answer

AI
Commutative Law: The order of the operands does not change the result of the OR or AND operation. For OR: $A+B = B+A$ For AND: $A \cdot B = B \cdot A$ Proof by truth table (for OR; AND follows the same way):
ABA+BB+A
0000
0111
1011
1111
The columns for $A+B$ and $B+A$ are identical in every row, so $A+B=B+A$. A similar truth table for $A.B$ and $B.A$ gives identical columns, proving $A.B=B.A$. Hence the Commutative law is verified.
Boolean Algebra

From ISC 2018 Computer Science Paper 1, question 1(a).