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?
- A. row 3, column 2
- B. row 2, column 3
- C. row 3, column 3
- 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
- A learning switch starts with an empty table. Frames arrive as (source, destination, ingress port): (A,B,1), (B,A,2), (C,E,3), (A,C,1)…
- A receiver acknowledges every second full-sized segment immediately and otherwise delays an ACK until a 200 ms timer fires. A sender…
- A TCP sender has LastByteSent = 7000 and LastByteAcked = 5000, cwnd = 4000 bytes, and the receiver's advertised window is 3000 bytes. How…
- A TCP receiver has a 65,536-byte receive buffer. It has received data up to byte 150,000 (LastByteRcvd) and the application has read up to…
- A sender uses path MTU discovery: it sends packets with the DF bit set, starting at 1500 bytes. The links along the path have MTUs 1500…
- Hosts A (subnet 1) and B, C (subnet 2) are joined by router R; all ARP caches start empty, and a host that receives an ARP request caches…