Homework 1 – CSC 570-001, Fall, 2006
Iss ued 9/6/06, due date: 9/13/06
All graded questions have equal weightage.
1. (a) Define circuit- and packet-switching.
(b) What are the tradeoffs involved in these two transport orientations?
(c) Try to give examples of activities from everyday life (but not involving
computers) that are like circuit-switching and like packet-switching.
2. (Adapted from Tanenbaum, 2.42, 2.43) In this question, we consider the trade-
offs involved in circuit- and packet-switching by comparing the delay in sending
an x-bit message over a k-hop path in the two-kinds of network. In the circuit
switched network, the circuit setup time (including all signaling) is s seconds, and
the overhead of embedding context in each packet is h bits in each packet for the
packet-switched network, the packets being each p bits long. The propagation
delay is d seconds per hop and the bit rate is b bits-per-second for either network.
The total number of user data bits x to be transmitted is quite large compared to p.
Under what conditions does the packet network have a lower delay?
3. Suppose that a certain communications protocol involves a per-packet overhead
of 100 bytes for headers and framing. We send 1 million bytes of data using this
protocol; however, exactly one data byte is corrupted during transmission, and the
entire packet containing it is thus lost and must be retransmitted.
(a) Give the total number of overhead + loss bytes retransmitted, for packet data
sizes (not including overhead) of 1000, 5000, 10,000, and 20,000 bytes.
(b) Which size is optimal?
4. For a five layer protocol stack, the top layer is the application layer. The four
lower layers each add on an overhead of 10 bytes in the header and trailer, and do
not change the payload at all. The application layer supplies variable size
application PDUs, but not smaller than 200 bytes and not larger than 400 bytes;
each packet size in this range is equally likely to occur.
What is the fractional byte overhead of the stack as seen by the application layer?
5. What are the elements of a protocol? Define each in a single sentence. (Refer to
the relevant lecture slide.)
6. (Ungraded) List the 7 layers of the OSI protocol stack and define the function of
each in a single sentence.
7. (Ungraded) Consider the Internet-Interstate analogy of computer networking we
considered in class in the light of the OSI layers. Assume that the application,