Question

4) Consider the Rdt 2.0 protocol for reliable data transfer. Given the data (actual payload) determine checksums at sender an


Response = ? Sender ► Unreliable channel bit error Receiver Data (payload) = (1100 1010, 0101 1100) Received Data (payload) =
0 0
Add a comment Improve this question Transcribed image text
Answer #1

solution:-

At the sender side:-

step 1. The given data unit is divide into segments of 8 bits as

11001010 , 01011100

step 2. Now all the segments are added and the result obtained as:

11001010 + 01011100=0100100110

step 3. here the result consist of 10 bits so extra 2 bits are wrapped around

00100110 + 01 = 00100111

step 4. Now 1's complement is taken and we get

11011000

thus checksum value= 11011000

At the receiver side :-

step 1. The received data t is divided into segments of 8 bits as

11011010, 10101100

step 2. add all the segments along with checksum of sender side i .e 11011000

11011010 + 10101100 + 11011000= 01001011110

step 3. since the result consist of 10 bits so it is wrapped around

01001011110 + 010 = 01100000

step 4. take 1's complement

10011111

since the result is not zero the receiver assumes that there is an error in the data.

The receiver will send a negative acknowledge , which requests the sender to send it again.

  

  

Add a comment
Know the answer?
Add Answer to:
4) Consider the Rdt 2.0 protocol for reliable data transfer. Given the data (actual payload) determine...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • PLEASE HELP WITH THESE COMPUTER NETWORK QUESTIONS THESE INCLUDE MCQS AND CALCULATIONS With reference to the...

    PLEASE HELP WITH THESE COMPUTER NETWORK QUESTIONS THESE INCLUDE MCQS AND CALCULATIONS With reference to the Go-Back-N and Selective repeat protocols, what does the window value signify? The packets that have already been ACKed The packets sent but remain unACKed The sequence numbers available and not yet sent The sequence numbers of packets not yet available None of the above 1 points    QUESTION 2 Which of the following is NOT a component of the TCP congestion control algorithm? Slow...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT