Prashnikaप्रश्निका
Code
About
‹ Back to the paper

Question 23

1 mark

Computer ScienceISC Computer Science - Competency Focused Practice Questions (CISCE, August 2024)Assertion-reasonBoolean Algebra

Study the Assertion and Reason and choose the correct option.

The truth table for the XOR gate shows that the output is HIGH only when an odd number of inputs…

Assertion: The truth table for the XOR gate shows that the output is HIGH only when an odd number of inputs are HIGH.

Reason: The XOR gate performs addition modulo 2, thus producing a HIGH output when the number of HIGH inputs is odd.

  • (a)Both A and R are true, and R is the correct explanation of A.
  • (b)Both A and R are true, but R is not the correct explanation of A.
  • (c)A is true, but R is false.
  • (d)A is false, but R is true.
Open in the Boolean algebra solver

Answer

Answer

Correct option: a

Answer: (a) Both A and R are true, and R is the correct explanation of A. For a 2-input XOR gate the output is HIGH exactly when the inputs differ, i.e. exactly one input (an odd count) is HIGH, matching the assertion. This is because XOR performs addition modulo 2, which is HIGH precisely when the number of HIGH inputs is odd - exactly what the reason states, so R correctly explains A.