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. No difference
B. Router forwards based on IP; switch forwards based on MAC
C. Router operates at layer 2; switch at layer 3
D. Router forwards based on MAC; switch forwards based on IP
Answer: Option B
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 network layer protocol is used for error reporting and diagnostic functions?
A. TCP
B. UDP
C. ICMP
D. ARP

Correct Answer: Option C


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

This question belongs to: Computer Computer Networking
Question #2
Which type of network topology requires a central controller or hub to connect all peripheral nodes, making the entire network dependent on that single central device?
A. Star Topology
B. Ring Topology
C. Bus Topology
D. Mesh Topology

Correct Answer: Option A


Explanation:
In a star topology, each network host is connected to a central hub or switch. If the central device fails, the whole network goes down.

This question belongs to: Computer Computer Networking
Question #3
How many total bits define a physical hardware MAC address embedded on a network interface chip?
A. 48 bits
B. 32 bits
C. 64 bits
D. 128 bits

Correct Answer: Option A


Explanation:
A MAC address is a permanent 48-bit physical hardware identifier, usually represented as 12 hexadecimal characters.

This question belongs to: Computer Computer Networking