Question

In: Computer Science

Suppose we want to transmit the message 10011010 and protect it from errors using the CRC...

  1. Suppose we want to transmit the message 10011010 and protect it from errors using the CRC polynomial x2+1.
    1. (8 points) Encode the data bit sequence using the generator polynomial and give the code word.

  1. (8 points) Using this polynomial, can all single-bit errors be detected? If not, give an example scenario of errors that goes undetected.

Solutions

Expert Solution

Solution:

i)Given polynomial is x^2 + 1

hence,key is: 101

the above key is the coefficient of polynomials ,for example " x^2 +x+1"  for this key is "111" i.e. 1.x^2 + 1.x+1

Data to be sent is: 10011010

Now let us see CRC solving,

1) First we need to append the k no. of zeroes to he given data

where, k=the degree of the given polynomial, in the above question we need to add 2 zeroes as degree is "2".

so,now the modified data to send is : 1001101000

2)Now,XOR the given modified data and key such that we can get the "code word"


Hence the code word is "11".

ii)

Forouzan states following:

A single-bit error is e(x)=x^i, where i is the position of the bit. If a single-bit error is caught, then e(x)=x^i is not divisible by g(x). (Note that when we say not divisible, we mean that there is a remainder.) If g(x) has at least two terms and the coefficient of x^0 is not zero (the rightmost bit is 1), then e(x) cannot be divided by g(x) and all single bits errors can be caught.

Since in the above polynomial,it has two terms an coefficient of x^0 is not zero instead it is "1", hence we can say that all single bit errors can be detected.

I hope ,i had given the answers u need with my knowledge,so if it is useful then it will be good.


Related Solutions

Suppose we want to transmit the message 0010 1101 and detect transmission errors using the CRC...
Suppose we want to transmit the message 0010 1101 and detect transmission errors using the CRC divisor polynomial (x3+x2+1). A.) [15 marks] Determine the bit string that should be transmitted. B.) [15 marks] If the leftmost 1-bit of the transmitted string is inverted due to noise on the link, what is the result of the receiver's CRC calculation?
Using CRC method, calculate the Checksummed message to send throw the medium if: Message = 101011...
Using CRC method, calculate the Checksummed message to send throw the medium if: Message = 101011 Cx=x3+x2+1 Q2) Explain how the ‘Stop and Wait’ flow control method is working? Q3) Explain the differences between Go-Back-N and Selective Repeat sliding window flow control methods? Using CRC method, calculate the Checksummed message to send throw the medium if: Message = 101011 Cx=x3+x2+1 Q2) Explain how the ‘Stop and Wait’ flow control method is working? Q3) Explain the differences between Go-Back-N and Selective...
a.Agent X and Agent Y are two spies who want to transmit a secret message to...
a.Agent X and Agent Y are two spies who want to transmit a secret message to their headquarters. In order to ensure secrecy, half of this message is to be transmitted in Urdu by Agent x while the other half in Pashto by Agent Y Both halves when decoded together at the headquarters can convey the complete information and therefore must be sent in a single transmission They have an AM transmitter but it has one problem that it can...
Design the format of the packet with which we want to transmit the current time with...
Design the format of the packet with which we want to transmit the current time with an accuracy of milliseconds. Are there more ways to design such a format?
6. Compute the frame check sequence using Cyclic Redundancy Check (CRC) for the following information: Message...
6. Compute the frame check sequence using Cyclic Redundancy Check (CRC) for the following information: Message = 111010110, Pattern = 101110
We want to compute Cyclic Redundancy Check (CRC) for the given the data bits D=110001, generator...
We want to compute Cyclic Redundancy Check (CRC) for the given the data bits D=110001, generator G=1001, and 3 CRC bits (i.e., r=3),. Explain the algorithm and implement the CRC computation in a programming language (e.g., C, C++, and Python) with the above setting.
Two security methods are used in the Purchase Request message to protect it from potential passive...
Two security methods are used in the Purchase Request message to protect it from potential passive and active attacks from a Merchant. Name the security methods and describe how they specifically protect the Purchase Request message from the relevant attacks.
Q4: Suppose you want to send a 5000 character message, using 7-bit ASCII encoding. How many...
Q4: Suppose you want to send a 5000 character message, using 7-bit ASCII encoding. How many TOTAL bits would need to be transmitted using an asynchronous connection? How many of those bits are overhead? How many TOTAL bits would need to be transmitted using a synchronous connection? How many of those bits are overhead? For the synchronous connection, each frame can hold 1000 characters, and has a start byte flag, a stop byte flag, a control byte, a 2 byte...
Question 1: Suppose we wish to transmit at a rate of 64kbps over a 3 kHz...
Question 1: Suppose we wish to transmit at a rate of 64kbps over a 3 kHz telephone channel. What is the minimum SNR required to accomplish this? Question 2: a) What is differential encoding? b) Define biphase encoding and describe two biphase encoding techniques.
Check the requirements for confidence intervals using the following information: Suppose we want to estimate the...
Check the requirements for confidence intervals using the following information: Suppose we want to estimate the proportion of American teenagers who would rather own movies physically vs those who would rather own movies digitally. A survey of 45 American teenagers finds that 12 of them would rather own movies physically. With this information, you plan to create a 95% Confidence Interval for the true proportion of Americans who would rather own movies physically. Conditions: i. The method of sampling      ...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT