Skip to content
Related Articles

Related Articles

ISRO | ISRO CS 2008 | Question 27
  • Last Updated : 20 Nov, 2018

Which of the following is not a valid rule of XOR?
(A) 0 XOR 0 = 0
(B) 1 XOR 1 = 1
(C) 1 XOR 0 = 1
(D) B XOR B = 0

Answer: (B)

Explanation: XOR gate only returns 1 as the output when both inputs are different and in every other case, it returns 0.
So, options (A), (C) and (D) are correct.
Option (B) is incorrect.

Quiz of this Question

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :