CN Assignment 2
CN Assignment 2
CN Assignment 2
Question # 01
Question # 02
Consider the figure below, in which a single router is transmitting packets, each of
length L bits, over a single link with transmission rate R Mbps to another router at the
other end of the link.
Suppose that the packet length is L= 8000 bits, and that the link transmission rate along
the link to router on the right is R = 1 Mbps.
(a) What is the transmission delay (the time needed to transmit all of a packet's bits into
the link)? (b) What is the maximum number of packets per second that can be
transmitted by the link?
Question # 03
Consider the figure below, with three links, each with the specified transmission rate
and link length.
pg. 2
National University
of Computer & Emerging Sciences-Faisalabad
Find the end-to-end delay (including the transmission delays and propagation delays on
each of the three links, but ignoring queuing delays and processing delays) from when
the left host begins transmitting the first bit of a packet to the time when the last bit of
that packet is received at the server at the right. The speed of light propagation delay on
each link is 3x10**8 m/sec. Note that the transmission rates are in Mbps and the link
distances are in Km. Assume a packet length of 16000 bits. Give your answer in
milliseconds.
Question # 04
Consider the scenario shown below, with four different servers connected to four
different clients over four three-hop paths. The four pairs share a common middle hop
with a transmission capacity of R = 300 Mbps. The four links from the servers to the
shared link have a transmission capacity of RS = 70 Mbps. Each of the four links from
the shared middle link to a client has a transmission capacity of RC = 20 Mbps per
second. What is the maximum achievable end-end throughput (in Mbps) for each of four
client-to-server pairs, assuming that the middle link is fair-shared (i.e., divides its
transmission rate equally among the four pairs)?
pg. 3
National University
of Computer & Emerging Sciences-Faisalabad
Guidelines
A single violation of guideline will lead to Zero mark in your assignment.
You will have maximum marks if you have done the entire task.
Only ".doc (or) .docx" file should be uploaded on SLATE, Assignment would not be
accepted via email, Facebook or USB flash drive etc.
Do not zip your assignment it should be uploaded as individual file in following
format.
"RollNo_Assignment_No.doc"
Paste all the required outputs in the single .doc file.
Deadlines should be kept in mind no extension in assignment dates
This is an individual assignment. PLAGARISM IS NOT ACCEPTABLE!
Follow the instructions as it is, otherwise your assignment would not be accepted at
all.
pg. 4