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

Assignment 11

The document is an assignment for the NPTEL Online Certification Course on Computer Networks and Internet Protocol from IIT Kharagpur, consisting of 10 multiple-choice questions focused on networking concepts. Key topics include Address Resolution Protocol (ARP), Dynamic Host Configuration Protocol (DHCP), Spanning Tree Protocol (STP), and VLAN trunk links. Each question is accompanied by a correct answer and a detailed explanation.

Uploaded by

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

Assignment 11

The document is an assignment for the NPTEL Online Certification Course on Computer Networks and Internet Protocol from IIT Kharagpur, consisting of 10 multiple-choice questions focused on networking concepts. Key topics include Address Resolution Protocol (ARP), Dynamic Host Configuration Protocol (DHCP), Spanning Tree Protocol (STP), and VLAN trunk links. Each question is accompanied by a correct answer and a detailed explanation.

Uploaded by

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

NPTEL Online Certification Courses

Indian Institute of Technology Kharagpur


Jan 2025
Course Name: Computer Networks and Internet Protocol
Assignment 11 - Week 11 (Jan 2025)
TYPE OF QUESTION: MCQ/MSQ
Number of questions: 10 Total mark: 10 X 1 = 10

QUESTION 1

Address Resolution Protocol (ARP) is primarily concerned with-

a) To resolve IP addresses to MAC addresses.


b) To resolve hostnames to IP addresses
c) To resolve port numbers to IP addresses.
d) To resolve MAC addresses to IP addresses.

Answer: (a)

Detailed solution:
The Address Resolution Protocol (ARP) is a protocol used for discovering the link layer address, such
as a MAC address, associated with a given IPv4 address.

QUESTION 2

Identify the WRONG statement in the following-

a) BOOTP is a legacy protocol used to assign IP addresses and other configuration information
to devices during startup.
b) BOOTP evolved from DHCP to support dynamic IP addressing and reusable addresses.
c) Both DHCP and BOOTP serve the purpose of providing IP addresses and configurations to
devices.
d) None of them.

Answer: (b)

Detailed solution:
DHCP evolved from BOOTP to support dynamic IP addressing and reusable addresses.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
Jan 2025

QUESTION 3

Which port number does DHCP use for client-server communication at layer 2?

a) TCP 80
b) UDP 67 & 68
c) UDP 80 & 81
d) UDP 23

Answer: (b)

Detailed solution:
DHCP client uses UDP 68 and DHCP server uses UDP 67 during communication.

QUESTION 4

Which protocol is used to prevent bridge loops in an Ethernet network?

a) Point-To-Point Protocol(PPP)
b) Dynamic Host Configuration Protocol (DHCP)
c) Address Resolution Protocol (ARP)
d) Spanning Tree Protocol (STP)

Answer: (d)

Detailed solution:
Spanning Tree Protocol (STP) is specifically designed to prevent bridge loops in Ethernet networks
by creating a loop-free topology. It ensures that there is always one active path between any two
devices on a network while blocking redundant paths that could cause loops.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
Jan 2025

QUESTION 5

Which feature is/are concerned with trunk links in VLAN-based networks?

I. It can carry data from multiple VLANs over a single physical connection.
II. It allows VLANs to span across multiple switches, enabling seamless communication for
devices in the same VLAN, even if they are connected to different switches.

a) Only (I)
b) Only (II)
c) Both (I) and (II)
d) Neither (I) nor (II)

Answer: (c)

Detailed solution:
Trunk links are a foundational component of modern VLAN-based networks, providing a scalable,
efficient, and versatile way to manage and transport VLAN traffic across the network. These type of
ports are usually found in connections between switches. These links require the ability to carry
packets from all available VLANs because VLANs span over multiple switches.

QUESTION 6

Which provides a solution to the hidden terminal problem in wireless LANs?

a) RTS/CTS mechanism
b) backoff timers
c) Interframe Space (IFS)
d) None of these.

Answer: (a)

Detailed solution:
The hidden terminal problem is a common issue in Wireless Local Area Networks (WLANs) that
arises when two or more devices (nodes) are within the communication range of a central access point
(AP) but are not within the range of each other. Mechanisms like RTS/CTS and CSMA/CA, along
with careful network planning, are essential to mitigate its effects and maintain efficient wireless
communication.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
Jan 2025

QUESTION 7

Given a wireless network using CSMA/CA (Carrier Sense Multiple Access with Collision
Avoidance), where the transmission time of a data frame is 200 ms. The contention window backoff
time (in the event of a collision) always follows an exponential backoff mechanism, with a random
backoff time selected from a range of 0 to 10 slots. Each slot is 10 ms. A collision happens, and the
backoff time for retransmission is selected randomly within the range of 0 to 10 slots. What is the
total time spent (in ms) for the first retransmission if the backoff time is randomly selected to be 7
slots? (Ignore the time spent in the first transmission attempt)

a) 200 ms
b) 250 ms
c) 260 ms
d) 270 ms

Answer: (d)

Detailed solution:
Transmission time of the data frame: 200 ms
Backoff time range: 0 to 10 slots
Slot duration: 10 ms
Backoff time randomly selected: 7 slots
Backoff Time = 7 slots × 10 ms/slot = 70 ms
Total time spent: Original transmission time + Backoff time = 200 ms + 70 ms = 270 ms.

QUESTION 8

In which layer, Spanning Tree Protocol (STP) works?

a) Layer 2
b) Layer 3
c) Layer 4
d) Layer 5

Answer: (a)

Detailed solution:
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
Jan 2025
Spanning Tree Protocol (STP) is a protocol that prevents Layer 2 loops or Bridging loops
by computing a tree structure of nodes in a network.

QUESTION 9

The configuration of a DHCP server is as follows-


Network Address: 192.0.1.0/24
Reserved Addresses: 192.0.1.1 to 192.0.1.20 (for routers and servers)

How many addresses are available for clients?

a) 256
b) 255
c) 234
d) 231

Answer: (c)

Detailed solution:

Total addresses available in /24 network is 2^8 = 256.


Network address = 192.0.1.0
Broadcast address = 192.0.1.255
Reserved IP = 192.0.1.1 to 192.0.1.20 = 20
Total IP addresses available for client = 256 – (1+ 20+ 1) = 234

QUESTION 10

Match the following-


A. Ethernet Working Group 1. 802.11f
B. Mess Networking 2. 802.11af
C. Wi-Fi in TV spectrum white spaces 3. 802.3
D. Power control 4. 802.11h
E. Handover 5. 802.11s

a) A-3, B-5, C-2, D-1, E-4


b) A-3, B-5, C-2, D-4, E-4
c) A-3, B-5, C-2, D-1, E-1
d) A-3, B-5, C-2, D-4, E-1

Answer: (d)
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
Jan 2025
Detailed solution:
The 802.3 standard defines Ethernet, as the most widely used wired LAN technology. The 802.11s
standard defines mesh networking, allowing Wi-Fi devices to form self-configuring, multi-hop
networks without a central access point. The 802.11af standard enables Wi-Fi operation in unused
TV spectrum bands (white spaces) for better coverage and signal penetration. The 802.11h standard
introduces transmit power control (TPC) and dynamic frequency selection (DFS) to comply with
European radio regulations. The 802.11f standard was a recommendation for inter-access point
communication to facilitate handover (roaming) between Wi-Fi APs.

You might also like