What is the main difference between a router and a switch? MCQ with Answer and Explanation

What is the main difference between a router and a switch?
A. Router forwards based on IP; switch forwards based on MAC
B. Router forwards based on MAC; switch forwards based on IP
C. Router operates at layer 2; switch at layer 3
D. No difference
Answer: Option A
Solution (By JKSSB Mock Tests)
Routers use IP addresses (layer 3), switches use MAC addresses (layer 2).

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Computer Networking Questions

Question #1
Which protocol is connectionless and does not guarantee delivery?
A. UDP
B. HTTP
C. FTP
D. TCP

Correct Answer: Option A


Explanation:
UDP (User Datagram Protocol) is connectionless and provides no guarantees of delivery, order, or error checking.

This question belongs to: Computer Computer Networking
Question #2
Which protocol can automatically configure a workstation with an IP address, subnet mask, default gateway, and DNS paths upon boot?
A. NAT
B. ARP
C. DHCP
D. ICMP

Correct Answer: Option C


Explanation:
DHCP dynamically manages network configuration parameters, automatically assigning IP leases to client devices on startup.

This question belongs to: Computer Computer Networking
Question #3
What is the primary function of a switch's MAC address table?
A. To store mappings between MAC addresses and ports
B. To store IP addresses
C. To store domain names
D. To store routing information

Correct Answer: Option A


Explanation:
A switch's MAC address table learns which MAC address is associated with which port for efficient forwarding.

This question belongs to: Computer Computer Networking