Computer Networking MCQs

Computer

Computer Networking MCQs

Practice Computer Networking MCQs covering LAN, MAN, WAN, PAN, topology, modem, router, hub, switch and IP address concepts.

325
Total Questions

Practice Questions

Page 6 of 17
Question #101
What does the abbreviation WAN stand for?
A. Worldwide Area Network
B. Wide Area Network
C. Web Area Network
D. Wireless Area Network

Correct Answer: Option B


Explanation:
WAN stands for Wide Area Network, covering a large geographic area.

This question belongs to: Computer Computer Networking
Question #102
Which layer of the OSI model is responsible for end-to-end error recovery and flow control?
A. Session layer
B. Network layer
C. Data link layer
D. Transport layer

Correct Answer: Option D


Explanation:
The transport layer (e.g., TCP) provides reliable data transfer, error recovery, and flow control.

This question belongs to: Computer Computer Networking
Question #103
What is the main difference between a router and a switch?
A. No difference
B. Router forwards based on MAC; switch forwards based on IP
C. Router forwards based on IP; switch forwards based on MAC
D. Router operates at layer 2; switch at layer 3

Correct Answer: Option C


Explanation:
Routers use IP addresses (layer 3), switches use MAC addresses (layer 2).

This question belongs to: Computer Computer Networking
Question #104
What is the purpose of a VLAN tag in Ethernet frames?
A. To indicate frame length
B. To identify which VLAN the frame belongs to
C. To encrypt the frame
D. To prioritize traffic

Correct Answer: Option B


Explanation:
VLAN tags (802.1Q) are added to Ethernet frames to specify the VLAN membership.

This question belongs to: Computer Computer Networking
Question #105
Which of the following is a Class A private IP address?
A. 192.168.1.1
B. 172.16.1.1
C. 10.1.1.1
D. 127.0.0.1

Correct Answer: Option C


Explanation:
10.0.0.0/8 is Class A private range.

This question belongs to: Computer Computer Networking
Question #106
What is a broadcast storm?
A. A high-speed transmission
B. A routing protocol
C. A type of virus
D. Excessive broadcast traffic overwhelming the network

Correct Answer: Option D


Explanation:
A broadcast storm occurs when broadcast frames multiply and saturate the network, often due to loops.

This question belongs to: Computer Computer Networking
Question #107
Which protocol is used to prevent loops in a switched network?
A. BGP
B. STP (Spanning Tree Protocol)
C. RIP
D. OSPF

Correct Answer: Option B


Explanation:
Spanning Tree Protocol (STP) prevents loops in networks with redundant links.

This question belongs to: Computer Computer Networking
Question #108
What is the purpose of a gateway in a network?
A. To amplify signals
B. To filter traffic based on MAC
C. To assign IP addresses
D. To connect networks with different protocols

Correct Answer: Option D


Explanation:
A gateway translates between different network protocols and architectures.

This question belongs to: Computer Computer Networking
Question #109
Which of the following is a valid IPv6 address?
A. 2001:0db8:85a3:0000:0000:8a2e:0370:7334
B. 127.0.0.1
C. 255.255.255.0
D. 192.168.1.1

Correct Answer: Option A


Explanation:
The first is a standard IPv6 address; the others are IPv4.

This question belongs to: Computer Computer Networking
Question #110
What is the role of a DNS resolver?
A. To filter traffic
B. To forward packets
C. To assign IP addresses
D. To query DNS servers for domain name resolution

Correct Answer: Option D


Explanation:
A DNS resolver is a client that initiates queries to DNS servers to translate domain names.

This question belongs to: Computer Computer Networking
Question #111
Which topology is most commonly used in small office/home office (SOHO) networks?
A. Ring
B. Bus
C. Mesh
D. Star

Correct Answer: Option D


Explanation:
Star topology with a central router/switch is typical for SOHO networks.

This question belongs to: Computer Computer Networking
Question #112
What is the function of the Address Resolution Protocol (ARP)?
A. Maps IP addresses to MAC addresses
B. Maps MAC addresses to IP addresses
C. Maps ports to services
D. Maps domain names to IP addresses

Correct Answer: Option A


Explanation:
ARP resolves an IP address to a physical MAC address on the local network.

This question belongs to: Computer Computer Networking
Question #113
Which layer of the OSI model is responsible for establishing, managing, and terminating sessions?
A. Session layer
B. Transport layer
C. Application layer
D. Presentation layer

Correct Answer: Option A


Explanation:
The session layer (layer 5) manages communication sessions.

This question belongs to: Computer Computer Networking
Question #114
What is a subnet?
A. A physical network segment
B. A VLAN
C. A logical subdivision of an IP network
D. A type of router

Correct Answer: Option C


Explanation:
Subnetting divides a large network into smaller logical subnetworks.

This question belongs to: Computer Computer Networking
Question #115
Which of the following is an advantage of a switch over a hub?
A. Lower cost
B. Works over longer distances
C. Intelligence to send data only to the destination port
D. Supports more protocols

Correct Answer: Option C


Explanation:
Switches learn MAC addresses and forward frames only to the intended port, reducing unnecessary traffic.

This question belongs to: Computer Computer Networking
Question #116
What is the standard port number for HTTPS?
A. 8443
B. 8080
C. 80
D. 443

Correct Answer: Option D


Explanation:
HTTPS uses port 443 by default.

This question belongs to: Computer Computer Networking
Question #117
Which network device is used to connect different types of networks, such as Ethernet and Wi-Fi?
A. Bridge
B. Hub
C. Router
D. Switch

Correct Answer: Option C


Explanation:
A router can connect different types of networks, including wired and wireless.

This question belongs to: Computer Computer Networking
Question #118
What does the acronym DHCP stand for?
A. Dynamic Host Control Protocol
B. Domain Host Configuration Protocol
C. Dynamic Host Configuration Protocol
D. Domain Host Control Protocol

Correct Answer: Option C


Explanation:
DHCP stands for Dynamic Host Configuration Protocol.

This question belongs to: Computer Computer Networking
Question #119
What is the purpose of a firewall's ACL (Access Control List)?
A. To forward packets
B. To define rules for permitting or denying traffic
C. To resolve domain names
D. To assign IP addresses

Correct Answer: Option B


Explanation:
ACLs are used to filter network traffic based on IP, port, or other criteria.

This question belongs to: Computer Computer Networking
Question #120
Which of the following is a characteristic of a PAN?
A. Uses short-range wireless technology like Bluetooth
B. Connects thousands of users
C. Uses fiber optics
D. Covers a large city

Correct Answer: Option A


Explanation:
PANs are personal, short-range networks typically using Bluetooth or IR.

This question belongs to: Computer Computer Networking