midterm1 - CS 1652 Midterm Fall 2001 Name _ Instructions:...

Info iconThis 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.
Background image of page 1

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

View Full DocumentRight 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?
Background 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?
Background image of page 3

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

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

Page1 / 13

midterm1 - CS 1652 Midterm Fall 2001 Name _ Instructions:...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online