Question

1. a)UDP and TCP use 1’s complement for their checksums. Suppose you have the following three...

1. a)UDP and TCP use 1’s complement for their checksums. Suppose you have the following three 8 bit bytes: 0101 0011, 0111 0110, 1001 0011. What is the 1’s complement of the sum of these 3 8-bit bytes? Show all work. Why is it that the 1’s complement is used and not just the sum? What is the sum of the three 8 bit bytes and the checksum you just computed? What is it if you change the first 8 bit byte to 0101 0010 (i.e. we had a single bit error)? What is it if you also change the second 8 bit byte to 0111 0111 (i.e. you have two bit errors)? Does the checksum always catch bit errors?

b. What is the main advantage of the GBN protocol? What can happen with the GBN protocol if an infrequent but regular garble of the data causes packet losses on the order of 1 garble every 1000 packets where the window size is 1000 packets?

c. What is the main advantage of the SR protocol? What can happen if the window size of the SR protocol is greater than half the size of the sequence number space?

0 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
1. a)UDP and TCP use 1’s complement for their checksums. Suppose you have the following three...
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
  • UDP and TCP use 1s complement for their checksum. Suppose you have the following two 8-bit...

    UDP and TCP use 1s complement for their checksum. Suppose you have the following two 8-bit bytes: 0101, 1010. What is the 1s complement of the sum of these 8-bit bytes? Suppose the two bytes are altered during transmission with the checksum as follows: 1001, 0110. Can the checksum be used to detect the alteration?

  • 4. UDP and TCP use 1's complement for their checksums. Suppose you have the following two...

    4. UDP and TCP use 1's complement for their checksums. Suppose you have the following two 16-bit words: 0101 0101 0101 0101 and 1010 1010 1010 1011. 4.a. (2 pts.) What is the 1's complement of the sum of these words? Show all work. 4.b. (2 pts.) With the 1's complement scheme, how does the receiver detect errors? 4.c. (2 pts.) Is it possible that a 4-bit error will go undetected? If so, provide an example. 4.d. (2 pts.) Is...

  • UDP and TCP use 1s compliment for their checksum. Suppose you have the following two 8-bit...

    UDP and TCP use 1s compliment for their checksum. Suppose you have the following two 8-bit bytes: 0101, 1010. What is the 1s compliment of the sum of these 8-bit bytes? Suppose the two bytes are altered during transmission with the checksum as follows: 1001, 0110. Can the checksum be used to detect the alteration?

  • Networks Hi guys. I need some assistance with a few questions below. 1. Which of the...

    Networks Hi guys. I need some assistance with a few questions below. 1. Which of the following is TRUE regarding a TCP 3-way handshake. a.   Consists of 3 segments being sent between 2 hosts       b.   Segments only carry data in the SYN, ACK and sequence number bits and bytes with no data       c.   No ACK is needed for the SYNACK received from the receiver       d.   A, B and C       e.   None of the above 2. Which...

  • Assume you have: 32-bit addresses, 4KB Page size, 4MB Physical Memory Space, 4KB Cache with 4-way...

    Assume you have: 32-bit addresses, 4KB Page size, 4MB Physical Memory Space, 4KB Cache with 4-way set associative and LRU replacement, 32 Byte Cache block size, 4-entry fully associative TLB. A program to be run on this machine begins as follows:   double A[1024]; int i, j; double sum = 0; for( i = 0; i < 1024; i++ )       // first loop      A[i] = i; for( j = 0; j < 1024; j += 16 )   // second loop     ...

  • 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...

  • help with computer network questions 1. What is the difference between circuit switching and packet switching?...

    help with computer network questions 1. What is the difference between circuit switching and packet switching? 2. What are the different layers in today’s Internet? Why do we create layers? 3. Suppose there is a 10 Mbps microwave link between a geostationary satellite and its base station on Earth. Every minute the satellite takes a digital photo and sends it to the base station. Assume a propagation speed of 2.4 * 10^8 meters/sec. a. What is the propagation delay of...

  • Can you use Multisim or something similar. I got the truth table and design, but having...

    Can you use Multisim or something similar. I got the truth table and design, but having a hard time with the actual wiring. I  need to see where each cable and light bulb go. 3.4. Multiplexer Multiplexers are very useful components in digital systems. They transfer a large number of information units over a smaller number of channels, (usually one channel) under the control of selection signals. Fig. 3 is a 4-line to l-line MUX. In this circuit, lo, 11, 12,...

  • check my answers for Networking I came up with these answers, can check my answers Question...

    check my answers for Networking I came up with these answers, can check my answers Question 1: General What data rate is needed to transmit an uncompressed 4" x 6" photograph every second with a resolution of 1200 dots per inch and 24 bits per dot (pixel)? 691,200 kb/s 28.8 kb/s 8.29 Mb/s 829 Mb/s Question 2: Layering "Layering" is commonly used in computer networks because (check all that apply): -It forces all network software to be written in ‘C’....

  • Question 1: Pointers You are given the following C code and memory diagram. The “contents” column...

    Question 1: Pointers You are given the following C code and memory diagram. The “contents” column of the memory diagram shows the value of the variable. Update the “contents” column of the memory diagram for each assignment in main(). long *pt; long data;    long buffer[4]; void main(void){   pt = &buffer[1];   *pt = 1234;   data = *pt; } address      contents   variable 0x20000000 0x00000000    pt 0x20000004 0x00000000    data 0x20000008 0x00000000    buffer[0] 0x2000000C 0x00000000    buffer[1] 0x20000010 0x00000000    buffer[2] 0x20000014 0x00000000    buffer[3]...

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