Computer Networking MCQs

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

325 Total
Question #21 Report Error
Which network layer protocol is used for error reporting and diagnostic functions?
A. ICMP
B. UDP
C. TCP
D. ARP

Correct Answer: Option A


Explanation:
ICMP (Internet Control Message Protocol) is used for error messages and diagnostics like ping.

This question belongs to: Computer Computer Networking
Question #22 Report Error
What is the main difference between a hub and a switch?
A. Hub is intelligent; switch is not
B. Hub broadcasts to all ports; switch forwards to specific port based on MAC
C. Hub works at layer 3; switch at layer 2
D. Hub forwards data based on IP, switch based on MAC

Correct Answer: Option B


Explanation:
A hub sends data to all ports, while a switch learns MAC addresses and sends only to the destination port.

This question belongs to: Computer Computer Networking
Question #23 Report Error
Which topology is commonly used in modern Ethernet networks?
A. Mesh
B. Bus
C. Star
D. Ring

Correct Answer: Option C


Explanation:
Star topology with a central switch is the most common topology in modern Ethernet LANs.

This question belongs to: Computer Computer Networking
Question #24 Report Error
What is the purpose of a default gateway?
A. To assign IP addresses dynamically
B. To provide security by filtering packets
C. To route traffic from a local network to other networks
D. To translate domain names to IP addresses

Correct Answer: Option C


Explanation:
A default gateway is a router that connects a local network to external networks, forwarding traffic when the destination is not local.

This question belongs to: Computer Computer Networking
Question #25 Report Error
What is the loopback IP address in IPv4?
A. 192.168.1.1
B. 255.255.255.255
C. 0.0.0.0
D. 127.0.0.1

Correct Answer: Option D


Explanation:
127.0.0.1 is the loopback address used for testing network software on the local machine.

This question belongs to: Computer Computer Networking
Question #26 Report Error
Which protocol is used to automatically assign IP addresses to devices in a network?
A. ARP
B. ICMP
C. DNS
D. DHCP

Correct Answer: Option D


Explanation:
DHCP (Dynamic Host Configuration Protocol) dynamically assigns IP addresses and other network parameters.

This question belongs to: Computer Computer Networking
Question #27 Report Error
What is a collision domain?
A. A domain where IP addresses are assigned
B. A set of network devices where collisions can occur
C. A broadcast domain
D. A group of routers

Correct Answer: Option B


Explanation:
A collision domain is a network segment where packets can collide with each other if transmitted simultaneously.

This question belongs to: Computer Computer Networking
Question #28 Report Error
Which network device operates at both physical and data link layers?
A. Router
B. Hub
C. Switch
D. Gateway

Correct Answer: Option C


Explanation:
Switches operate at layer 2 (data link) and have physical layer capabilities for receiving/transmitting signals.

This question belongs to: Computer Computer Networking
Question #29 Report Error
What is the maximum data rate of a standard Ethernet (10BASE-T) network?
A. 10 Mbps
B. 1 Gbps
C. 100 Mbps
D. 10 Gbps

Correct Answer: Option A


Explanation:
10BASE-T offers 10 Mbps; it is the original Ethernet standard over twisted pair.

This question belongs to: Computer Computer Networking
Question #30 Report Error
Which of the following topologies is most expensive to implement due to cabling?
A. Bus
B. Ring
C. Star
D. Mesh

Correct Answer: Option D


Explanation:
Mesh topology requires a dedicated connection between every pair of nodes, making it the most expensive.

This question belongs to: Computer Computer Networking