Fall 2018 CSE30264 Homework 1


Total Points: 60 points
Scope: Chapter 1 - 2
Due: September 24 by the beginning of the class
Grouping: To be completed individually


Problems

Problem 1: [4 points: 2 points for each sub-question] Consider a point-to-point link 10km in length. At what bandwidth would propagation delay (at the speed of 2×108m/s) equal transmit delay for 125-byte packets? What about 640-byte packets?

Problem 2: [8 points: 2 points for each sub-question] Suppose a 3-Gbps point to point link is being set up between the Earth and a new lunar colony. The distance from the moon to the Earth is approximately 385,000 km, and the data travels over the link at the speed of light (3×108m/s).
  1. What's the minimum RTT for the link?

  2. Use RTT as delay, calculate bandwidth×delay product for the link.

  3. What's the significance of the bandwidth×delay product calculated in (b)?

  4. A rover on the lunar base takes pictures of the moon. Suppose the Mission Control on Earth wishes to download the most recent picture, which is 50MB. What's the minimum amount of time that will elapse between when the request from the Earth is sent and the transfer is finished?

Problem 3: [8 points: 2 points for each sub-question] For each of the following operations on a remote file server, discuss whether they are more likely to be delay sensitive or bandwidth sensitive.
  1. Remove a file on the server.

  2. Rename a directory on the server.

  3. Download a 2GB zip file from the server.

  4. Duplicate a file on the server.

Problem 4: [6 points] Suppose a shared medium M offers to hosts A1, A2, . . . , AN in round-robin fashion an opportunity to transmit one packet; hosts that have nothing to send immediately relinquish M. How does this differ from STDM? How does network utilization of this scheme compare with STDM?

Problem 5: [12 points: 4 points for each encoding] Sketch the NRZ, Manchester, and NRZI encoding for the bit stream 0010011100100101. Assume that the NRZI signal starts out low.



Problem 6: [4 points] Assuming a framing protocol that uses bit stuffing, show the bit sequence transmitted over the link when the frame contains the following bit sequence: 10011111010110111111011001

Problem 7: [6 points] Suppose you want to send some data using the BISYNC framing protocol and the last three bytes of your data are ETX, DLE and ETX, what sequence of bytes would be transmitted immediately prior to the CRC?

Problem 8: [6 points: 3 points for each] Answser the following questions:
  1. Given the following bit sequence. Fill in the parity bits and parity byte using even parity mode.

  2. Describe why two-dimensional parity fails to detect some 4-bit errors and give an example.



Problem 9: [6 points] List your group members for programming assignments of the course. List the name and Net ID. The maximum team size is 3 students.


Submission Instructions

Create a PDF file containing your answers. Please list the problem number before your answer. Place your name and netid at the beginning of the file. Copy the file into dropbox/hw1/hw1.pdf.