wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Computer Networks

Total questions: 20

Worksheet time: 4mins

Name
Class
Date
1.

Which layer of the OSI model is responsible for reliable data transfer between devices?

a)

Network Layer

b)

Transport Layer

c)

Session Layer

d)

Data Link Layer

2.

Which protocol is used to resolve an IP address to a MAC address?

a)

DNS

b)

DHCP

c)

ARP

d)

ICMP

3.

What is the main advantage of using IPv6 over IPv4?

a)

Lower latency

b)

Simpler routing protocols

c)

Larger address space

d)

Faster transmission speed

4.

Which of the following protocols uses a three-way handshake to establish a connection?

a)

UDP

b)

ICMP

c)

TCP

d)

ARP

5.

Which of the following best describes DNS?

a)

Maps MAC addresses to IP addresses

b)

Translates domain names into IP addresses

c)

Routes packets between networks

d)

Detects collisions on a network

6.

What is the function of NAT (Network Address Translation)?

a)

Encrypts all traffic on a network

b)

Translates private IP addresses into public IP addresses

c)

Connects networks using different topologies

d)

Prevents routing loops

7.

Which of the following protocols is connectionless?

a)

TCP

b)

UDP

c)

HTTP

d)

FTP

8.

Which of the following describes CIDR notation correctly?

a)

A system to detect routing loops

b)

A way to represent IP addresses and subnet masks efficiently

c)

A type of packet-filtering firewall

d)

A routing algorithm

9.

Which method helps to avoid data collision in wireless networks?

a)

CSMA/CD

b)

Token Ring

c)

CSMA/CA

d)

ARP

10.

Which of the following is a device that operates at Layer 2 of the OSI model?

a)

Router

b)

Hub

c)

Switch

d)

Gateway

11.

In BGP (Border Gateway Protocol), which attribute is used to determine the best path when multiple routes exist to the same destination?

a)

AS-PATH

b)

MED

c)

LOCAL_PREF

d)

NEXT_HOP

12.

In TCP congestion control, what happens during the 'fast recovery' phase?

a)

The congestion window is reset to one segment.

b)

The congestion window is reduced by half, and transmission continues with fast retransmission.

c)

TCP waits for a timeout before resending lost packets.

d)

The receiver sends duplicate ACKs for each missing segment.

13.

Which of the following accurately describes the function of an MPLS (Multiprotocol Label Switching) network?

a)

It uses IP addresses for all routing decisions.

b)

It assigns labels to packets to enable faster routing through predetermined paths.

c)

It encrypts packets at the transport layer.

d)

It is used only for wireless communication.

14.

In IPv6, what is the main purpose of the 'Flow Label' field in the header?

a)

To define the next hop for routing decisions.

b)

To uniquely identify packets belonging to the same flow for QoS handling.

15.

Which statement about TCP and UDP checksum calculations is correct?

a)

Both use only data payload for checksum computation.

b)

TCP includes a pseudo-header in its checksum, but UDP does not.

c)

Both include a pseudo-header derived from IP header fields.

d)

UDP checksum is optional in IPv6 but mandatory in IPv4.

16.

The OSI model has (a)   layers.

17.

The process of dividing a large network into smaller subnetworks is called (a)  

18.

A (a)   firewall keeps track of active connections and makes decisions based on the context of traffic.

19.

When you type a URL in a browser, the first step is usually a (a)   lookup to find the IP address of the domain.

20.

A (a)   is used to establish a secure encrypted tunnel over an untrusted network.