Question

In: Computer Science

Assume that CRC is used for error detection and the generator polynomial is x^5+x^3+x+1. The following...

Assume that CRC is used for error detection and the generator polynomial is x^5+x^3+x+1. The following message needs to be transmitted: 1101001100100111.

(a) What is the bit stream that is actually transmitted?

(b)Now assume that there is an error and the 5th bit from the left is converted due to the error. How does the receiver know that it received an erroneous message?

Solutions

Expert Solution

The CRC (Cyclic Redundancy Check) error detection, helps to detect whether their is any error in the transmitted message or not, if there is any error in the message then the remainder will not be zero on the receiver side otherwise it will be zero, it will only give the answer in yes or no (that is whether error is present or not).

(a.) In CRC first we convert the CRC polynomial into binary bits

=> x5 + x3 + x + 1 can be written as 1.x5 + 0.x4 + 1.x3 + 0.x2 + 1.x1 + 1

=> Binary format of CRC = 101011

Now next we append (n-1) 0's in the message where n is the number of CRC bits, since number of CRC bits is 6 therefore we will add 5 0's at the end of the message

=> The message will become 110100110010011100000

Now we take the XOR of CRC with the message as follows:-

Since we get the remainder as 11100, therefore we will update the last append 5 0's with 11100, and send it to the receiver along with the CRC bits.

Therefore the transmitted bit stream will be 110100110010011111100

(b.) According to the question the 5th bit from the left side has the error that is let it has been changed from 0 to 1 during transmission, therefore the message that the receiver received is 110110110010011111100

Now receiver will again take the XOR of CRC bits with the received bit stream, and if remainder is non zero then there is error in the message.

Clearly we can see that we get the remainder 10 which is non zero, which means that there is an error in the transmitted message.


Related Solutions

Assume a 10-bit data sequence, D = 1100101001 and generator polynomial, P(X) = X^4 + X^3...
Assume a 10-bit data sequence, D = 1100101001 and generator polynomial, P(X) = X^4 + X^3 + X + 1. a. Calculate FCS and indicate the transmitted bit sequence. b. In the class, we learned that a bit error in the data portion can be detected at the receiver. Can the receiver detect a bit error if it happens in the FCS field? Show an example by assuming that the last two bits in the FCS field are in error.
The 3 x 3 matrix A has eigenvalues 5 and 4. (a) Write the characteristic polynomial...
The 3 x 3 matrix A has eigenvalues 5 and 4. (a) Write the characteristic polynomial of A. (b) Is A diagonalizable ? Explain your answer. If A is diagonalizable, find an invertible matrix P and diagonal matrix D that diagonalize A. Matrix A : 4 0 -2 2 5 4 0 0 5
Prove that the polynomial x^3 + x^2 – x + 1 has no integer roots
Prove that the polynomial x^3 + x^2 – x + 1 has no integer roots
Compute the Taylor polynomial indicated. f(x) = cos(x), a = 0 T5(x) = Use the error...
Compute the Taylor polynomial indicated. f(x) = cos(x), a = 0 T5(x) = Use the error bound to find the maximum possible size of the error. Round your answer to nine decimal places. cos(0.4) − T5(0.4) ≤
Given: Polynomial P(x) of degree 6 Given: x=3 is a zero for the Polynomial above List...
Given: Polynomial P(x) of degree 6 Given: x=3 is a zero for the Polynomial above List all combinations of real and complex zeros, but do not consider multiplicity for the zeros.
The Polynomial f(x) = X^3 - X^2 - X -1 has one real root a, which...
The Polynomial f(x) = X^3 - X^2 - X -1 has one real root a, which happens to be positive. This real number a satisfies the following properties: - for i = 1,2,3,4,5,6,7,8,9,10, one has {a^i} not equal to zero - one has [a] = 1, [a^2] = 3, [a^3] = 6, [a^4] = 11, [a^5] = 21, [a^6] = 7, [a^7] = 71, [a^8] = 130 (for a real number x, [x] denotes the floor of x and {x}...
Is there a fourth degree polynomial that takes these values? x 1 -2 0 3 -1...
Is there a fourth degree polynomial that takes these values? x 1 -2 0 3 -1 7 y -2 -56 -2 4 -16 376
let p1(x) = x^2-3x-10 ,p2(x)=x^2-5x+1,p3(x)=x^2+2x+3 and p4(x)=x+5 a- Using standard polynomIAL ADDITION ,what polynomial ax^2+bx+c can...
let p1(x) = x^2-3x-10 ,p2(x)=x^2-5x+1,p3(x)=x^2+2x+3 and p4(x)=x+5 a- Using standard polynomIAL ADDITION ,what polynomial ax^2+bx+c can be expressed as linear combination of p1(x),p2(x),p3(X),p4(x) b- a polynomial is equal to zero if and only if all it's coefficient to zero . solve for a1,a2,a3,a4 by expanding ,written as polynomial in x,and setting each coefficient equal to zero: a1p1(x)+a2p2+a3p3(x)+a4p4(x)=0
How to find the polynomial function with real coefficients, degree 5, zeros 1+i, -3, and 5,...
How to find the polynomial function with real coefficients, degree 5, zeros 1+i, -3, and 5, and P(0)=30 and P(4)= -70?
Find the 5th Taylor polynomial of f(x) = 1+x+2x^5 +sin(x^2) based at b = 0.
Find the 5th Taylor polynomial of f(x) = 1+x+2x^5 +sin(x^2) based at b = 0.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT