All mock tests are FREE till 31 December — register to save your progress
Unit 2 · Computer System Architecture Paper 2 CS · June 2023

Let ⊕ denote XOR, and 1 and 0 the binary constants. F(P, Q) = ((1 ⊕ P) ⊕ (P ⊕ Q)) ⊕ ((P ⊕ Q) ⊕ (Q ⊕ 0)). Which of the following is equivalent to F?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: D. (P ⊕ Q)′

Explanation

(1 ⊕ P) ⊕ (P ⊕ Q) = 1 ⊕ Q, since P ⊕ P = 0. (P ⊕ Q) ⊕ (Q ⊕ 0) = P. So F = 1 ⊕ Q ⊕ P = (P ⊕ Q)′, i.e. XNOR.

More Computer System Architecture questions