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)

  1. A.

    Always false

  2. B.

    Always true

  3. C.

    Sometimes true

  4. 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.

Explore the full course: Mppsc Assistant Professor