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. complement of (P ⊕ Q)

Explanation

XOR is associative and x ⊕ x = 0. F = 1 ⊕ P ⊕ P ⊕ Q ⊕ P ⊕ Q ⊕ Q ⊕ 0 = 1 ⊕ P ⊕ Q = (P ⊕ Q)′ (XNOR).

More Computer System Architecture questions