Consider the transmission of data bits over a link that uses Cyclic Redundancy Check (CRC) code for error detection. If the generator bit pattern is given to be , which one of the following options shows the remainder bit pattern appended to the data bits before transmission?
D
Step-by-Step Solution
Insight: The CRC remainder is found by appending zeros to the data (where is the degree of the generator) and performing binary division using XOR.
Exam route: Data = 110001011, Gen = 1001 (degree 3). Append 000 110001011000. XOR divide by 1001 yields remainder 100.
Learning route:
- Identify the generator polynomial . Its degree is 3 (since it has 4 bits).
- Append zeros to the original data bits:
Original: $110001011$
Augmented: $110001011000$
- Perform binary division using XOR (no borrows, , ):
- Step 1: . Bring down 0 .
- Step 2: . Bring down 1 .
- Step 3: , so quotient bit is 0. Bring down 0 .
- Step 4: . Bring down 1 .
- Step 5: . Bring down 1 .
- Step 6: . Bring down 0 .
- Step 7: , quotient bit 0. Bring down 0 .
- Step 8: , quotient bit 0. Bring down 0 . Wait, let's re-verify the division carefully.
Let's trace:
110001011000
1001
----
01010
1001
----
00111
0000 (skip)
----
1110
1001
----
1111
1001
----
1101
1001
----
1000
0000 (skip)
----
1000
0000 (skip)
----
1000 -> Wait, the python script gave 100. Let's trust the systematic XOR:
Dividend: 1 1 0 0 0 1 0 1 1 0 0 0
1001 at pos 0: 0 1 0 1 0 1 0 1 1 0 0 0
1001 at pos 1: 0 0 0 1 1 1 0 1 1 0 0 0
1001 at pos 3: 0 0 0 0 1 1 1 1 1 0 0 0
1001 at pos 4: 0 0 0 0 0 1 1 0 1 0 0 0
1001 at pos 5: 0 0 0 0 0 0 1 0 0 0 0 0
1001 at pos 6: 0 0 0 0 0 0 0 0 0 1 0 0
Remainder is the last 3 bits: 100.
- The remainder is $100$. This is the bit pattern appended to the data.
Answer: Option D.