GATE CSE 2021 Set 1 Q39: Missing data and check bits in a 12-bit Hamming codeword
- Computer Networks
- 2 marks
- MCQ
- −2/3 if wrong
Question
Assume that a 12-bit Hamming codeword consisting of 8-bit data and 4 check bits is , where the data bits and the check bits are given in the following tables:
Which one of the following choices gives the correct values of and ?
| 1 | 1 | 0 | 0 | 1 | 0 | 1 |
| 0 | 1 | 0 |
Try it: multiple choice: exactly one correct option
Show answer and explanation
Answer: A (official GATE 2021 final answer key)
Concept used: In a Hamming code the check bit at position makes the parity even over all positions whose binary index has bit set.
First step: Number the positions 12 down to 1; covers positions 1, 3, 5, 7, 9, 11, which include at position 9.
Full step-by-step solution
Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.
Share this question
Source: official GATE 2021 Set 1 CS question paper and final answer key, organised by IIT Bombay. Question paper · Answer key
More Computer Networks PYQs
- 2026 Session 1 · Q18True statement about TCP connection setup and closing
- 2026 Session 1 · Q19HTTP 1.1 persistent connections and pipelining
- 2026 Session 1 · Q44When segment 2000 is sent under TCP slow start
- 2026 Session 1 · Q45Minimum sliding window size for full link utilisation
- 2026 Session 1 · Q56Valid CIDR blocks for 6000 addresses inside 202.16.0.0/15
- 2026 Session 2 · Q21File transfer time over three links of different bandwidth