GATE Computer ScienceVery hardGATE CS (PYQ pattern)
A 4 × 4 block of data bits is protected by two-dimensional even parity: a parity bit per row, a parity bit per column and a corner bit, giving a 5 × 5 array (errors can hit parity bits too). What is the smallest number of bit errors that can go undetected, and how many error patterns of that size are undetected?
- A. 4 errors; 36 patterns
- B. 3 errors; 100 patterns
- C. 4 errors; 100 patterns
- D. 4 errors; 225 patterns
Correct answer: C. 4 errors; 100 patterns
In the full 5 × 5 array every row and every column has even parity (the corner makes the parity row and column consistent). An error pattern is undetected iff it flips an even number of bits in every row and column. Weight 2 or 3 cannot do that; weight 4 can only as the corners of a rectangle: choose 2 of 5 rows and 2 of 5 columns, C(5,2)² = 100. Using only the 4 × 4 data area gives C(4,2)² = 36.
More Digital Logic questions
- Which of the following are true? (Python-style double precision for I, III, IV; single precision rounding for II.) I. adding 0.1 to a…
- A 5-bit asynchronous up-counter Q4..Q0 (Q4 the MSB) has its active-low asynchronous clear driven by a 3-input NAND of Q4, Q1 and Q0. The…
- A 3-bit register Q2Q1Q0 shifts right every clock, and the new Q2 is the XNOR of the old Q2 and old Q0. What is the behaviour of this…
- A 6-bit Johnson counter Q5…Q0 shifts right on each clock (Q4 ← Q5, …, Q0 ← Q1) and loads Q5 ← Q0' (old Q0). Because of noise it starts in…
- A combinational datapath with stage delays of 3 ns, 5 ns and 4 ns is split into three pipeline stages by registers, each register adding…
- A 16-bit carry-select adder is built from ripple-carry blocks. Every full adder produces its carry 2 gate delays after its inputs/carry-in…