0% found this document useful (0 votes)
9 views

CS313_Assignment2_AugDec2024

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

CS313_Assignment2_AugDec2024

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

CS 313: Computer Networks

Assignment 2

Topics: Layered architechture Assigned: August 21, 2024


Application layer functions
Transport-layer services

Submission is optional. You may submit if you wish to get feedback on your
answeres. Write your answers by hand on plain paper, scan and submit on Moodle.

1. What do the terms data encapsulation and decapsulation mean? Why are they
needed in a layered protocol stack?

2. What layers in the protocol stack does a router process? Which layers does a
link-layer switch process? Why the difference?

3. You send a stream of packets of size 1000 bits each across a network path from
Delhi to Chennai. You find that the one-way delay varies between 40 ms (in
the absence of queueing) and 125 ms (full queue), with an average of 65 ms.
The transmission rate at the sender is 1 mbit/s; the receiver gets packets at the
same rate without any packet loss. What is the mean number of packets in the
queue at the bottleneck link along the path (assume that queueing happens at
just one switch).

4. Consider a network comprising M client-server pairs. Let RS denote the band-


width of the access links at the server end, RC denote that of those at the client
end. The network core comprises of just 1 link of capacity RN . The network
carries no other traffic. Derive a generalised formula for throughput observed
at the clients. Explain.

5. What services does the transport layer offer to a process running in the appli-
cation layer?

6. Explain how Persistent HTTP guarantees better response time compared to


Non-persistent HTTP.

7. What are elastic applications? Name a few.

8. A network application consists of pairs of processes. One process runs on the


client, while an analogous process runs on the server. Consider an application
that is responsible for backing up all the pictures you click on your phone to
a server. Identify the two processes involved by listing their functions. What
transport-layer services are required by such an application? Explain.

You might also like