CS FundamentalsVery hardGATE CS (PYQ pattern)

A 4 x 4 block of data bits is protected by even row and column parity. The received block (rows separated by /, each row followed by | and its row-parity bit; the last group is the four column-parity bits) is: 0011|0 / 1011|1 / 1010|1 / 1011|1 / 1101. Exactly one DATA bit was flipped in transit. Giving rows and columns numbers 1 to 4, which bit is wrong?

  1. A. row 3, column 2
  2. B. row 2, column 3
  3. C. row 3, column 3
  4. D. row 4, column 2

Correct answer: A. row 3, column 2

The row whose parity fails is row 3 and the column whose parity fails is column 2; their intersection is the flipped bit (not the transposed position).

More Computer Networks questions

Exams that ask this topic