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

Advanced Computer Networks Week-4 Assignment

The document contains a series of questions and answers related to advanced computer networks, focusing on traffic regulation algorithms, service levels, resource allocation, and network types. Key topics include token bucket and leaky bucket algorithms, Differentiated Services Code Point (DSCP), and Max-Min fair scheduling. Each question is followed by the correct answer, indicating the essential concepts in network traffic management and service differentiation.

Uploaded by

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

Advanced Computer Networks Week-4 Assignment

The document contains a series of questions and answers related to advanced computer networks, focusing on traffic regulation algorithms, service levels, resource allocation, and network types. Key topics include token bucket and leaky bucket algorithms, Differentiated Services Code Point (DSCP), and Max-Min fair scheduling. Each question is followed by the correct answer, indicating the essential concepts in network traffic management and service differentiation.

Uploaded by

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

Advanced Computer Networks Assignment: Week-4

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?

A. No source gets a resource share larger than its demand


B. No source gets a resource share smaller than its demand
C. Max-min fairness allocates resources in order of increasing demand
D. Max-min fairness allocates resources their fair share to sources with unsatisfied demands

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

Ans. C (32 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

Ans. 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?

A. Fragmentation Offset and Class Selector


B. Class Selector and Drop Precedence
C. Reserved Bits and Traffic Class
D. Drop Precedence and Explicit Congestion Notification

Ans. B (Class Selector and Drop Precedence)

7. What are the main types of services provided by Integrated services?

A. Expedited forwarding and Assured forwarding


B. Guaranteed service and Expedited forwarding
C. Controlled-load service and Guaranteed service
D. Guaranteed service and Assured forwarding

Ans. C (Controlled-load service and Guaranteed service)

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.)

9. Which of the following statements is/are incorrect about circuit-switched and


packet-switched networks?

A. Circuit-switched networks use a dedicated path for communication, whereas


packet-switched networks utilize a shared path for communication.
B. In circuit-switched networks, resources are not reserved, whereas in packet-switched
networks, resources are reserved for the entire communication session.
C. Circuit-switched networks employ a variable transmission rate for communication, while
packet-switched networks maintain a constant transmission rate.
D. 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.

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)

You might also like