- Information
- AI Chat
Was this document helpful?
Tut Problems + Answers Merged
Course: Networking Fundamentals (41092)
238 Documents
Students shared 238 documents in this course
University: University of Technology Sydney
Was this document helpful?
41092 Network Fundamentals
Kurose & Keith, Computer Networking: A Top-Down Approach, 7th Edition. Pearson
1
Week 1. Tutorial Problems
R11. Suppose there is exactly one packet switch between a sending host and a receiving
host. The transmission rates between the sending host and the switch and between the
switch and the receiving host are R1 and R2, respectively. Assuming that the switch uses
store-and-forward packet switching, what is the total end-to-end delay to send a packet of
length L? (Ignore queuing, propagation delay, and processing delay.)
a. Now assume packet length L=1500 byte, R1=1Mbps, R2=2Mbps, calculate the end-
to-end Delay.
b. Now assume packet length L=1200 byte, R1=3Mbps, R2=2Mbps, calculate the end-
to-end Delay.
R13. Suppose users share a 2 Mbps link. Also suppose each user transmits continuously at 1
Mbps when transmitting, but each user transmits only 20 percent of the time. (See the
discussion of statistical multiplexing in Section 1.3.)
a. When circuit switching is used, how many users can be supported?
b. For the remainder of this problem, suppose packet switching is used. Why will there
be essentially no queuing delay before the link if two or fewer users transmit at the
same time? Why will there be a queuing delay if three users transmit at the same
time?
c. Find the probability that a given user is transmitting.
d. Suppose now there are three users. Find the probability that at any given time, all
three users are transmitting simultaneously. Find the fraction of time during which
the queue grows.
e. Suppose now there are four users. Find the fraction of time during which the queue
grows.
P3. Consider an application that transmits data at a steady rate (for example, the sender
generates an N-bit unit of data every k time units, where k is small and fixed). Also, when
such an application starts, it will continue running for a relatively long period of time.
Answer the following questions, briefly justifying your answer:
a) Would a packet-switched network or a circuit-switched network be more
appropriate for this application? Why?
b) Suppose that a packet-switched network is used and the only traffic in this network
comes from such applications as described above. Furthermore, assume that the
sum of the application data rates is less than the capacities of each and every link. Is
some form of congestion control needed? Why?
P8. Suppose users share a 3 Mbps link. Also suppose each user requires 150 kbps when
transmitting, but each user transmits only 10 percent of the time. (See the discussion of
packet switching versus circuit switching in Section 1.3.)
a) When circuit switching is used, how many users can be supported?
b) For the remainder of this problem, suppose packet switching is used. Find the
probability that a given user is transmitting.
c) Suppose there are 120 users. Find the probability that at any given time, exactly n
users are transmitting simultaneously. (Hint: Use the binomial distribution.)