Midterm Exam - Fa23
Midterm Exam - Fa23
Question No 1: Consider sending real-time voice from Host A to Host B over a packet-
switched network (VoIP). Host A converts analog voice to a digital 64 kbps bit stream on the
fly. Host A then groups the bits into 56-byte packets. There is one link between Hosts A and
B; its transmission rate is 2 Mbps and its propagation delay is 10 msec. As soon as Host A
gathers a packet, it sends it to Host B. As soon as Host B receives an entire packet, it converts
the packet’s bits to an analog signal. How much time elapses from the time a bit is created
(from the original analog signal at Host A) until the bit is decoded (as part of the analog
signal at Host B)? (04)
Question No 2: Equation 𝑑 𝑒𝑛𝑑 𝑡𝑜 𝑒𝑛𝑑 𝑁 𝐿/𝑅 gives a formula for the end-to-end
delay of sending one packet of length L over N links of transmission rate R. Generalize this
formula for sending P such packets back-to-back over the N links. (04)
Question No 5: Suppose two hosts, A and B, are separated by 20,000 kilometers and are
connected by a direct link of R = 1 Gbps. Suppose the propagation speed over the link is 2.5 *
108 meters/sec.
a. Calculate the bandwidth-delay product, R * dprop.
b. Consider sending a file of 800,000 bits from Host A to Host B. Suppose the
file is sent continuously as one large message. What is the maximum number
of bits that will be in the link at any given time?
c. Provide an interpretation of the bandwidth-delay product.
d. What is the width (in meters) of a bit in the link? Is it longer than a football
field?
e. Derive a general expression for the width of a bit in terms of the propagation
speed s, the transmission rate R, and the length of the link m. (07)
Page 1 of 1