wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CN UNIT 3: NETWORK LAYER QUIZ

Total questions: 40

Worksheet time: 20hrs 0mins

Name
Class
Date
1.

Given the IPv4 address 192.168.10.25/26, what is the subnet mask?

a)

255.255.255.0

b)

255.255.255.128

c)

255.255.255.192

d)

255.255.255.224

2.

For the IPv4 address 172.16.35.120/20, what is the network address?

a)

172.16.32.0

b)

172.16.35.0

c)

172.16.16.0

d)

172.16.48.0

3.

Given the IP address 192.168.2.31/24, what is the broadcast address of this subnet?

a)

192.168.2.0

b)

192.168.2.31

c)

192.168.2.255

d)

192.168.2.1

4.

A small organization has been allocated a block of IP addresses. One of the addresses in this block is 205.16.37.39/28. Determine the first address of this block.

a)

205.16.37.32

b)

205.16.37.31

c)

205.16.37.33

d)

205.16.37.34

5.

A small organization has been allocated a block of IP addresses. One of the addresses in this block is 205.16.37.39/28. Find the last address of this block.

a)

205.16.37.48

b)

205.16.37.31

c)

205.16.37.47

d)

205.16.37.34

6.

A block of IP addresses is given as 200.17.21.128/27. According to the CIDR rules: the first address in the block is obtained by setting the last (32 − n) bits to 0, and the last address is obtained by setting the last (32 − n) bits to 1. What are the first and last addresses of this block?

a)

First: 200.17.21.129 Last: 200.17.21.158

b)

First: 200.17.21.128 Last: 200.17.21.159

c)

First: 200.17.21.127 Last: 200.17.21.160

d)

First: 200.17.21.130 Last: 200.17.21.157

7.

Which of the following protocols is used to map an IP address to a MAC address?

a)

RARP

b)

ARP

c)

DHCP

d)

BOOTP

8.

The Reverse Address Resolution Protocol (RARP) is used to:

a)

Map MAC address to IP address

b)

Map IP address to MAC address

c)

Provide automatic IP configuration

d)

Assign DNS names to devices

9.

The Dynamic Host Configuration Protocol (DHCP) is an improvement over:

a)

RARP

b)

ARP

c)

BOOTP

d)

DNS

10.

Which of the following protocols operates at the application layer of the TCP/IP model?

a)

ARP

b)

RARP

c)

DHCP

d)

IP

11.

The BOOTP protocol is primarily used to:

a)

Translate IP addresses to domain names

b)

Obtain the hardware address of a device

c)

Assign IP addresses and boot information to diskless clients

d)

Encrypt IP packets during transmission

12.

Which of the following best describes the main purpose of Network Address Translation (NAT)?

a)

To encrypt packets between source and destination

b)

To convert private IP addresses to public IP addresses and vice versa

c)

To assign IP addresses dynamically to clients

d)

To filter packets based on port number

13.

In Port Address Translation (PAT), multiple devices share a single public IP address by using:

a)

Different subnet masks

b)

Different port numbers

c)

Different gateways

d)

Different MAC addresses

14.

The main function of DHCP (Dynamic Host Configuration Protocol) is to:

a)

Translate domain names to IP addresses

b)

Automatically assign IP addresses to network devices

c)

Map IP addresses to MAC addresses

d)

Encrypt data during transmission

15.

How many usable host addresses are there in a /27 subnet?

a)

16

b)

32

c)

30

d)

62

16.

Given the network 192.168.10.0/24 divided into two subnets, what are the first and last addresses of the first subnet?

a)

192.168.10.0 and 192.168.10.255

b)

192.168.10.1 and 192.168.10.126

c)

192.168.10.0 and 192.168.10.127

d)

192.168.10.128 and 192.168.10.255

17.

When the network 192.168.10.0/24 is divided into two subnets, what are the first and last addresses of the second subnet?

a)

192.168.10.0 and 192.168.10.127

b)

192.168.10.1 and 192.168.10.126

c)

192.168.10.128 and 192.168.10.255

d)

192.168.10.129 and 192.168.10.254

18.

The IP address 192.168.10.25 belongs to which class?

a)

Class A

b)

Class B

c)

Class C

d)

Class D

19.

The CIDR notation /20 indicates how many bits are used for the network portion?

a)

8 bits

b)

16 bits

c)

20 bits

d)

24 bits

20.

The IP address 10.0.0.0/8 represents which of the following?

a)

Class A private network

b)

Class B private network

c)

Class C private network

d)

Class D multicast address

21.

In Distance Vector Routing, each router shares its routing table with:

a)

All routers in the network

b)

Only its directly connected neighbors

c)

Only the destination routers

d)

The central routing server

22.

The Count-to-Infinity problem is associated with which type of routing algorithm?

a)

Link State Routing

b)

Distance Vector Routing

c)

Path Vector Routing

d)

Static Routing

23.

Which algorithm is commonly used in Distance Vector Routing?

a)

Dijkstra's algorithm

b)

Bellman-Ford algorithm

c)

Floyd–Warshall algorithm

d)

Kruskal's algorithm

24.

In Link State Routing, each router maintains information about:

a)

Only its neighbors

b)

Complete network topology

c)

Only destination networks

d)

Gateway routers

25.

The algorithm used in Link State Routing is:

a)

Bellman-Ford algorithm

b)

Dijkstra’s algorithm

c)

A* algorithm

d)

Flooding algorithm

26.

Which of the following is an example of a Link State protocol?

a)

RIP

b)

OSPF

c)

BGP

d)

IGRP

27.

BGP uses which type of routing technique?

a)

Distance Vector

b)

Link State

c)

Path Vector

d)

Static

28.

The primary function of BGP is to:

a)

Route within an autonomous system

b)

Exchange routing information between autonomous systems

c)

Manage MAC address tables

d)

Provide DNS resolution

29.

The Reverse Path Forwarding (RPF) technique is mainly used in:

a)

Unicast routing

b)

Multicast routing

c)

Static routing

d)

Distance vector routing

30.

BGP (Border Gateway Protocol) uses the routing technique to maintain complete path information of a network.

a)

Distance Vector

b)

Link State

c)

Path Vector

d)

Hybrid

31.

Which of the following is a method used to solve the Count-to-Infinity problem in Distance Vector Routing?

a)

Flooding

b)

Split Horizon and Poison Reverse

c)

Shortest Path First

d)

Path Vector technique

32.

Which of the following are IPv4 to IPv6 transition techniques?

a)

Dual Stack

b)

Tunneling

c)

NAT Protocol Translation

d)

Fragmentation

33.

Tunneling in IPv6 transition is used to:

a)

Convert IPv6 packets into IPv4 packets

b)

Carry IPv6 packets over an IPv4 network

c)

Replace IPv4 headers with IPv6 headers

d)

Encrypt IPv4 data

34.

The main reason for developing IPv6 was to overcome which limitation of IPv4?

a)

Low transmission speed

b)

Limited number of available IP addresses

c)

Lack of routing protocols

d)

Absence of DNS support

35.

Which of the following features of IPv6 helps to solve the problem of IPv4 address depletion?

a)

Use of 32-bit addresses

b)

Use of 128-bit addresses

c)

Use of private IP addresses

d)

Use of dynamic routing

36.

Which of the following multicast routing protocols uses a Reverse Path Forwarding (RPF) mechanism?

a)

DVMRP

b)

BGP

c)

OSPF

d)

RIP

37.

PIM-SM (Protocol Independent Multicast – Sparse Mode) is best suited for which type of network?

a)

Dense networks where receivers are everywhere

b)

Sparse networks with few receivers

c)

Point-to-point links

d)

Networks with static routing

38.

In PIM-DM (Dense Mode), how are multicast packets initially distributed?

a)

Sent only to registered receivers

b)

Sent to all routers, then pruned where not needed

c)

Sent through unicast routes only

d)

Sent to the Rendezvous Point first

39.

Which multicast routing protocol builds a shared tree rooted at a Rendezvous Point (RP)?

a)

PIM-DM

b)

MOSPF

c)

PIM-SM

d)

DVMRP

40.

The Multicast Open Shortest Path First (MOSPF) protocol is an extension of which routing protocol?

a)

RIP

b)

OSPF

c)

BGP

d)

EIGRP