Question 1Asked in UGC NET Computer Science, June 2016 (Paper II & III, Selected Questions)

Which of the following logic expressions is incorrect

  1. A1 ⊕ 0 = 1
  2. B1 ⊕ 1 ⊕ 1 = 1
  3. C1 ⊕ 1 ⊕ 0 = 1
  4. D1 ⊕ 1 = 0
Show answerHide answer

Correct answer: (C) 1 ⊕ 1 ⊕ 0 = 1

Explanation

With the EX-OR operation, an odd number of 1's returns 1 and an even number of 1's returns 0. XOR gives 1 only when the inputs are different (A ⊕ B = A'B + AB'). Here 1 ⊕ 1 ⊕ 0 has two 1's, so it equals 0, not 1. Therefore the incorrect expression is (c) 1 ⊕ 1 ⊕ 0 = 1.

From UGC NET Computer Science PYQ, June 2016 (Paper II & III, Selected Questions)

This is question 1 of UGC NET Computer Science PYQ, June 2016 (Paper II & III, Selected Questions). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.