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 MAC; switch forwards based on IP
B. Router operates at layer 2; switch at layer 3
C. Router forwards based on IP; switch forwards based on MAC
D. No difference
Answer: Option C
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 of the following is a private IP address designated for exclusive use within local area networks?
A. 168.192.1.1
B. 8.8.8.8
C. 200.100.50.1
D. 10.0.0.1

Correct Answer: Option D


Explanation:
The 10.0.0.0 to 10.255.255.255 range is defined by RFC 1918 as a private Class A IP block reserved for internal networks.

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

Correct Answer: Option A


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 #3
Which of the following is a Class A private IP address?
A. 172.16.1.1
B. 10.1.1.1
C. 192.168.1.1
D. 127.0.0.1

Correct Answer: Option B


Explanation:
10.0.0.0/8 is Class A private range.

This question belongs to: Computer Computer Networking