Question
Consider the cyclic redundancy check (CRC) based error detecting scheme having the generator polynomial . Suppose the message is to be transmitted. Check bits are appended at the end of the message by the transmitter using the above CRC scheme. The transmitted bit string is denoted by . The value of the checkbit sequence is
Official answer and solution
- Official answer
- C
- From
- Official GATE 2021 answer key
Solution
Perform polynomial division using modulo-2 arithmetic (XOR) to determine the CRC check bits.
The generator polynomial is , which corresponds to the binary divisor (degree ).
The message is . To determine check bits, append 3 zeros to the message:
Perform modulo-2 long division:
11111
1011 ) 11000000
1011
----
1110
1011
----
1010
1011
----
00100 (bring down 0, 0)
Remainder = 100
Detailed XOR steps:
- , bring down
- , bring down
- , bring down
- bring down
The remainder is the 3-bit check sequence , matching option C.
C
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2021 Computer Science and Information Technology - Session 2 (CS2)
- Question
- 44 of 65, printed as CS Q.34
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.