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

Assignment 6

Uploaded by

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

Assignment 6

Uploaded by

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

NPTEL Online Certification Courses

Indian Institute of Technology Kharagpur


Jan 2025

Course Name: Computer Networks and Internet Protocol


Assignment - Week 6 (Jan 2025)
TYPE OF QUESTION: MCQ/MSQ
Number of questions: 10 Total mark: 10 X 1 = 10

QUESTION 1

What is the primary function of the network layer in the TCP/IP model?

a) Establish end-to-end connections between nodes.


b) Ensure reliable data transfer between devices.
c) Handle logical addressing and routing of data.
d) Encrypt and decrypt data for secure transmission.

Correct Answer: (c)

Detailed solution: The network layer is responsible for logical addressing (e.g., IP addresses) and
routing data packets across networks.

QUESTION 2

Which of the following is a key advantage of using a Layer 3 switch over a Layer 2 switch?
a) It reduces the need for VLANs.
b) It improves network performance by enabling faster switching at Layer 1.
c) It can route traffic between different subnets without requiring a separate router.
d) It only supports static routing.

Correct Answer: (c)

Detailed Solution: A Layer 3 switch combines the functionality of a switch and a router, allowing it to
perform routing between different subnets. Unlike a Layer 2 switch, which only forwards frames within the
same subnet using MAC addresses, a Layer 3 switch can use IP addresses to route traffic between VLANs
or subnets, reducing the need for an external router.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
Jan 2025

QUESTION 3

Which of the following is NOT typically offered by an ISP?

a) Email hosting services.


b) Web hosting services.
c) Content creation for websites.
d) Virtual Private Network (VPN) services.

Correct Answer: (c)

Detailed solution: ISPs do not create content. They provide infrastructure and services like email
hosting, web hosting, and VPNs.

QUESTION 4

In a network communication scenario involving an Internet Service Provider (ISP), which of the
following is responsible for determining the most efficient path for packet delivery?

a) Transport Layer
b) Network Layer
c) Data Link Layer
d) Application Layer

Correct Answer: (b)

Detailed solution: The network layer, using routing protocols and IP, determines the best path for
packet delivery.

QUESTION 5

When communicating between two nodes, what role does the transport layer protocol play

a) Routing the data packets.


b) Providing IP logical addressing to the communicating devices.
c) Ensuring reliable or fast data delivery based on protocol choice.
d) Forwarding the data to the next hop through LAN.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
Jan 2025

Correct Answer: (c)

Detailed Solution: Transport layer protocols like TCP ensure reliable delivery, while UDP provides faster
but less reliable delivery.

QUESTION 6

What type of address is "0.0.0.0" in IPv4?

a) Loopback address
b) Default route address
c) Broadcast address
d) Unspecified address

Correct Answer: (d)


Detailed Solution : "0.0.0.0" is used to indicate an unspecified address, often during the
bootstrapping process.

QUESTION 7

What is the significance of CIDR notation in IP addressing?

a) To replace the traditional classful addressing system with a more flexible and efficient way
of allocating IP addresses.
b) To enhance encryption during transmission.
c) To improve the speed of DNS resolution.
d) To allocate MAC addresses dynamically.

Correct Answer: (a)

Detailed Solution : CIDR (Classless Inter-Domain Routing) simplifies and allows for more
efficient way of IP address allocation.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
Jan 2025

QUESTION 8

How many subnets can be created from a /24 network if the subnet mask is extended to /26?

a) 2
b) 4
c) 6
d) 16

Correct Answer: (b)

Detailed Solution :Extending the subnet mask to /26 creates 2^(26−24)= 4 subnets.

QUESTION 9

What is the CIDR notation for a supernet that aggregates 192.168.0.0/24 and 192.168.1.0/24?

a) \23
b) \24
c) \25
d) \22

Correct Answer: (a)

Detailed Solution : The supernet 192.168.0.0/23 includes both 192.168.0.0/24 and 192.168.1.0/24.

QUESTION 10

In a home network using NAT, how does a router differentiate between multiple devices accessing
the same web server?

a) By assigning unique public IP addresses to each device.


b) By using different MAC addresses for each device.
c) By assigning unique port numbers for each session.
d) By encrypting the IP packets.

Correct Answer: (c)


NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
Jan 2025

Detailed Solution : The router uses unique port numbers for each session in NAT to differentiate
between devices.

You might also like