midterm1 - CS 1652 Midterm Fall 2001 Name Instructions 1...

Info icon This preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 1652 Midterm Fall 2001 Name _______________________________________ Instructions: 1. The exam is closed booked, closed notes. 2. You may not use a calculator. 3. All questions refer to the Kurose and Ross textbook. For example, for the purposes of this test, assume Kurose and Ross explanation of the TCP congestion control heuristics for any question dealing with congestion control. 4. Answer on the exam sheet in the space provided. 5. The test is probably long, don’t dawdle. 6. Get to the point quickly in your answers.
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
1. (6 points ) List the layers in the Internet protocol stack from top to bottom. 2. (6 points) Define “flow control” and briefly explain how TCP implements flow control. 3. (3 points) Consider the TCP connection establishment protocol? a. How many segments are sent? b. Which of these segments are client initiated? c. In the first segment, which flag bits are set?
Image of page 2
4. (4 points) Consider hosts A and B communicating over a TCP connection. Assume unrealistically that the initial sequence number for each of A and B is 0. Assume that all segments sent between A and B have 20 byte headers. A sends B a segment with a 20 byte payload, B responds with a segment with a 30 byte payload and then another segment with a 40 byte payload, and finally A responds with a segment with a 50 byte payload. Give the value of the sequence number field and acknowledgement number fields for each segment. 5. (2 points) Consider the Alternating-Bit protocol. Assume that the receiver is expecting a segment with sequence number 0, but instead the receiver receives a segment with sequence number 1. What response does the receiver give?
Image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
6. (5 points) Does the Alternating-Bit protocol guarantee in order reliable transfer if the underlying network can reorder segments?
Image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern