Terminal - Final FA22 v2
Terminal - Final FA22 v2
• All questions are self-explanatory and require no further explanations during exam time.
• All questions must be answered at the question paper (in space provided)
• Make sure that you have signed the attendance sheet before leaving the examination room.
• Attempt all questions.
Q.# 1. Consider the scenario shown in Figure in which a server is connected to a router by a 100Mbps
link with a 50ms propagation delay. Initially, this router is also connected to two routers, each over a
50Mbps link with a 200ms propagation delay. A 1Gbps link connects a host and a cache (if present)
to each of these routers and we assume that this link has 0 propagation delay. All packets in the network
are
20,000 bits long. [10 marks: 2+2+2+2+2]
1.1) What is the end--‐to--‐end delay from when a packet is transmitted by the server
to when it is received by the client? In this case, we assume there are no caches,
there’s no queuing delay at the routers, and the packet processing delays at
routers and nodes are all 0.
Figure 1
1.2) Here we assume that client hosts send requests for files directly to the server
(caches are not used or off in this case). What is the maximum rate at
which the server can deliver data to a single client if we assume no other
clients are making requests?
1.4) Consider a server-side socket that is used to communicate from server to client. In
the case of a TCP socket, can data be read from the server-side socket have been
sent by more than one client? Explain briefly. In the case of a UDP socket, can
data be read from the server-side socket have been sent by more than one client?
Explain briefly.
1.5) Does the Internet checksum always detect errors in the transmitted segment?
1.6) [Through NAT a private network can communicate with the public network.
In the following figure write the source and destination IP addresses in the
blanks.
(CLO – 2: Apply the concepts of computer networks to solve its related problems)
2.2) A slotted ALOHA network transmits 200-bit frames using a shared channel
with a 200-kbps bandwidth. Find the throughput if the system (all stations together)
produces
a. 1000 frames per second
b. 500 frames per second
c. 250 frames per second
2.4) We have a channel with a 1-MHz bandwidth. The SNR for this channel is 63. What are the
appropriate bit rate and signal level?
2.5) What are the propagation time and the transmission time for a 5-MB (megabyte) message
(an image) if the bandwidth of the network is 1 Mbps? Assume that the distance between
the sender and the receiver is 12,000 km and that light travels at 2.4 × 108 m/s.
Q.# 3. Complete the following scenarios and answer relevant questions. [14marks:5+3+3+2+2]
Figure 3
Selective Repeat
Figure 4
3.3) Consider the network shown below in Figure 5. Show the operation of Dijkstra’s
Figure 5
3.5) Consider the network shown in Figure 6. Suppose AS3 and AS2 are running OSPF for their
intra-AS routing protocol. Suppose AS1 and AS4 are running RIP for their intraAS
routing protocol. Suppose eBGP and iBGP are used for the inter-AS routing protocol.
Initially suppose there is no physical link between AS2 and AS4.
3.5.1) Router 3c learns about prefix x from which routing protocol: OSPF, RIP, eBGP, or
iBGP?
Figure 6
(CLO – 4: Comprehend the fundamentals of wireless and mobile networks along with
the security issues)
4.2) In what way does a hash provide a better message integrity check than a
checksum (such as the Internet checksum)?
4.5) What does “triangle routing” mean in mobile and wireless networks?
4.6) Suppose the IEEE 802.11 RTS and CTS frames were as long as the standard
DATA and ACK frames. Would there be any advantage to using the CTS and
RTS frames? Why or why not?
4.7) As a mobile node gets farther and farther away from a base station, what are
two actions that a base station could take to ensure that the loss probability of a
transmitted frame does not increase?
*****BEST OF LUCK*****