Advanced Computer Networks Week-4 Assignment
Advanced Computer Networks Week-4 Assignment
1. Assume that we have a token bucket algorithm to regulate traffic. If the tokens are arriving at
a rate of 200 tokens per second and each token has a size of 50 bytes. How many packets can
be transmitted per second if the packets have a fixed size of 2000 bytes?
A. 5
B. 10
C. 20
D. 50
Ans. A (5)
2. Which range of classes is known as the Assured Forwarding (AF) service levels?
A. Class 1 to 4
B. Class 2 to 3
C. Class 3 to 5
D. Class 4 to 5
Ans. A (Class 1 to 4)
3. Which of the following conditions is/are valid for the max-min fair share algorithm resource
allocation process?
Ans. A, C, and D (No source gets a resource share larger than its demand, Max-min fairness
allocates resources in order of increasing demand, Max-min fairness allocates resources their
fair share to sources with unsatisfied demands)
4. Consider a network that employs a leaky bucket algorithm for traffic shaping. A system S
injects 60 Megabytes of data into the network. The data is generated and transferred in
bursts of 15 Mbps. What is the minimum buffer size required to prevent data loss if the
minimum sustainable transmission rate across network routers is 7 Mbps?
A. 120 Megabytes
B. 256 Megabytes
C. 32 Megabytes
D. 60 Megabytes
5. Which of the following per-hop behavior (PHB) is associated with the DSCP value '101110'?
A. Best Effort
B. Default Forwarding
C. Assured Forwarding
D. Expedited Forwarding
6. In the Differentiated Services (DS) field of Differentiated Services Code Point (DSCP), what do
the first three bits and the next three bits indicate?
8. What is the correct statement among the following related to integrated service and
differentiated service?
A. Integrated services involve prior reservation of resources for the required quality of
service, while differentiated services mark the packets with priority and send it to the
network without prior reservation.
B. Integrated service marks packets with priority and send them to the network without
prior reservation, while differentiated service involves reserving resources before
starting the communication.
C. Integrated service uses a model based on service classes and per-hop behaviours
associated with each class, while differentiated service provide services on a per-flow
basis.
D. Integrated service offers more scalability and flexibility than differentiated service.
Ans. A (Integrated services involve prior reservation of resources for the required quality of
service, while differentiated services mark the packets with priority and send it to the
network without prior reservation.)
Ans. B, C, and D (In circuit-switched networks, resources are not reserved, whereas in
packet-switched networks, resources are reserved for the entire communication session,
Circuit-switched networks employ a variable transmission rate for communication, while
packet-switched networks maintain a constant transmission rate, Circuit-switched networks
do not need to establish dedicated channels for communication and can use any available
path, whereas packet-switched networks require dedicated channels for communication.)
10. Consider the ten users, U1, U2, U3, U4, U5, U6, U7, U8, U9, and U10, having bandwidth
demands of 1, 2, 3, 4, 5, 6, 7, 8, 9, and 10 Mbps, respectively. The router to which these users
connect has a total bandwidth of 40 Mbps to another downstream router. What proportion
of bandwidth in Mbps is allocated to user U9 when the router uses the Max-Min fair
scheduling algorithm to allocate the bandwidth?
A. 2
B. 3
C. 5
D. 9
Ans. C (5)