A Boolean operator s is defined as follows: 1 s 1 = 1, 1 s 0 = 0 , 0 s 1 = 0,…
2013
A Boolean operator s is defined as follows:
1 s 1 = 1, 1 s 0 = 0 , 0 s 1 = 0, 0 s 0 = 1
What will be the truth value of the expression (x s y) s z = x s (y s z)
- A.
Always false
- B.
Always true
- C.
Sometimes true
- D.
True when x, y, z are all true
Attempted by 193 students.
Show answer & explanation
Correct answer: B
The operator s behaves like XNOR, which is associative. Evaluating all possible truth values for x, y, and z shows both sides of the equation are equal.
A video solution is available for this question — log in and enroll to watch it.