Question discussion

How many 2-input XOR gates are needed to build an even-parity generator for a 4-bit data word?

1963Medium DSSSB TGT Computer Science 0 replies

How many 2-input XOR gates are needed to build an even-parity generator for a 4-bit data word?

  • A3
  • B2
  • C4
  • D5
Correct answer: A

Explanation

The parity bit is d3 xor d2 xor d1 xor d0, and combining 4 inputs with 2-input gates needs 4 - 1 = 3 gates.

Discussion 0

Nobody has replied yet. Start the discussion!