GATE / CS ARCHIVE

SIMILAR QUESTIONS / COMPUTER NETWORKS

Append a CRC by modulo-two division

4 questions solved the same way, newest first. Back to Computer Networks

How these are solved

Append generator-degree zero bits, perform XOR polynomial division and append the fixed-width remainder. Checking odd-error detectability is excluded.

2 marks · MCQ
Report issue

Computing a CRC remainder

Data Link, Framing, Error Control & ARQ

Question 43, GATE 2026: Data bits 110001011 use CRC generator 1001. Which 3-bit remainder is appended? A 011; B 101; C 000; D 100.
Tap to enlarge
Your answer
Answer & solution

Official answer: D

Step through it (9 steps)

Givens and goal

Data bits 110001011 use CRC generator 1001. Which 3-bit remainder is appended? A 011; B 101; C 000; D 100.

Approach

Divide the zero-extended message by the generator over GF(2).

Step-by-step solution

1. The generator has degree 3, so append three zeros: 110001011000. In polynomial form the message is M=x⁸+x⁷+x³+x+1 and the divisor is G=x³+1.
2. Long division starts with x¹¹+x¹⁰+x⁶+x⁴+x³. XOR x⁸G to cancel x¹¹, leaving x¹⁰+x⁸+x⁶+x⁴+x³. XOR x⁷G to leave x⁸+x⁷+x⁶+x⁴+x³.
3. Continue XOR division: subtract x⁵G to obtain x⁷+x⁶+x⁵+x⁴+x³; subtract x⁴G to obtain x⁶+x⁵+x³; subtract x³G to obtain x⁵; finally subtract x²G to obtain x². Each subtraction is XOR, so duplicate monomials cancel.
4. Thus the remainder is x², represented by 100, option D. A shorter independent check uses x³≡1 modulo G: x⁸+x⁷+x³+x+1 reduces to x²+x+1+x+1=x², and the appended factor x³ does not change it.
5. The transmitted bits are 110001011100. XORing this remainder into the zero-extended message makes it divisible by 1001. CRC division uses XOR, never carries or ordinary integer subtraction.

Original paper, page 30 · Answer key

2 marks · MCQ
Report issue

Data Link, Framing, Error Control & ARQ

Question 34, GATE 2021: CRC generator x³+x+1; message 11000. Append three check bits to obtain a divisible transmitted polynomial over GF(2). Find check bits. A 101; B 110; C 100; D 111.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

Step through it (6 steps)

Append three zeros to 11000, obtaining 11000000. Divide over GF(2) by 1011. XOR at the leading positions gives 11000000 XOR10110000=01110000, then XOR01011000=00101000, then XOR00101100=00000100. The three-bit remainder is 100, so C. Appending100 makes the transmitted polynomial divisible by the generator.

In polynomial arithmetic coefficients are mod 2, so subtraction is XOR without borrows. Generator degree three fixes a three-bit remainder, including any leading zero. As a verification, 11000100 divided by 1011 has zero remainder. Dividing the unshifted message instead would generate the wrong checksum.

Original paper, page 74 · Answer key

2 marks · MCQ
Report issue

Data Link, Framing, Error Control & ARQ

Question 32, GATE 2017: A network uses CRC over GF(2), eight information bits and generator x³+x+1. How is message 01011011 transmitted? A 01011011010; B 01011011011; C 01011011101; D 01011011100.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

Step through it (6 steps)

1. The degree-three generator requires three check bits. Append three zeros to 01011011, obtaining dividend 01011011000; generator bits are 1011.

2. Division in GF(2) uses XOR instead of subtraction. As integers the aligned XORs are 728 XOR (11<<6)=24; 24 XOR (11<<1)=14; 14 XOR 11=5. The remainder 5 is three-bit 101.

3. Replace the three zero placeholders with 101: transmitted bits are 01011011101, C. Dividing this final codeword by 1011 yields remainder zero, an independent check.

Original paper, page 15 · Answer key

2 marks · MCQ
Report issue

CRC using polynomial x cubed plus one

Data Link, Framing, Error Control & ARQ

Question 68, GATE 2007: Protect message 11001001 using CRC generator x³+1. Which bit string should be transmitted?
Options:
(A) 11001001000
(B) 11001001011
(C) 11001010
(D) 110010010011
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

Step through it (8 steps)

1. Approach. The generator degree is three, so append exactly three zero bits before polynomial division. Subtraction over GF(2) is XOR, with no borrowing. Replace the three zero placeholders by the remainder.

2. Derivation and interpretation. The generator x3+1 is binary 1001. Append three zeroes to 11001001, obtaining 11001001000. Modulo-2 division by 1001 has remainder 011. Replace the trailing zeroes by this remainder to transmit 11001001011, option B. Dividing this codeword by 1001 gives zero remainder.

Original paper, page 16