Computer Networks · Question 4 · Easy

Which device works at the data link layer and forwards frames based on destination MAC addresses?

  1. Switch
  2. Hub
  3. Router
  4. Repeater
Answer and explanation

Answer: A. Switch

Explanation: A switch learns MAC addresses and forwards frames only to the right port. Hubs and repeaters are physical-layer devices, and routers work at the network layer using IP addresses.

Previous: Which protocol finds the MAC address that belongs to a known IPv4 address on a… · Next: Which transport-layer protocol is connectionless and does not guarantee…

Practise computer networks

Try a fresh set of computer networks questions with an explanation after every answer, free and without signing up: Computer Networks practice. Or sit a full placement mock test.

More computer networks questions

More technical & programming practice

Software Engineering · Cloud & DevOps · GenAI Basics · Pseudo-code · C Programming · Java · Python · Data Structures

LogicWiz Exams home · All practice topics · Placement mock tests · Daily 10 challenge