Application Layer

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Kavitha K R

Chapter 1 Homework Problems


1. What advantage does a circuit-switched network have over a packet-
switched network? What advantages does TDM have over FDM in a
circuit-switched network?
2. How long does it take a packet of length 1000 bytes to propagate over a
link of distance 2500km, propagation speed 2.5x10
8
m/s, and transmission
rate 2 Mbps?
a. More generally, how long does it take a packet of length L to
propagate over a link of distance d, propagation speed s, and
transmission rate R bps?
b. Does this delay depend on packet length?
c. Does this delay depend on transmission rate?
3. Consider two hosts, A and B, connected by a single link of rate R bps.
Suppose that the two hosts are separated by m meters, and suppose the
propagation speed along the link is s meters/sec. Host A is to send a packet
of size L bits to Host B.
a. Ignoring processing and queuing delay, obtain an expression for the
end-to-end delay.
b. Suppose s=2.5*10
8
meters/sec, L=120 bits, and R=56kbps. Find the
distance m, so that the propagation delay equals transmission delay.
4. Consider 2 hosts A and B, that are connected through a link of bandwidth
R = 1.2 Mbps. The distance between A and B is d=10km. The propagation
speed is c = 2*10
8
m/s.
a. Find the propagation delay.
b. Find the transmission delay, for a packet of L = 1.2Kb.
c. Find the packet length, such that host B receives the first bit of the
packet the same time that host A sends the last bit.
d. Consider that we double the length of the link. How will the delays
be affected?
5. Suppose users share a 1 Mbps link. Also suppose each user requires 100
Kbps when transmitting, but each user only transmits 10% of the time.
When circuit-switching is used, how many users can be supported?
Kavitha K R
6. In modern packet-switched networks, including the internet, the source
host segments long, application-layer messages into small packets and send
the packet into the network. The receiver then reassembles the packet back
into the original message. We refer to this process as message
segmentation. Below figure illustrates the end-to-end transport of a
message with and without message segmentation.

You might also like