Q1. Which device primarily forwards frames inside a LAN by learning MAC addresses, rather than forwarding packets by IP routing tables?
Explanation
A switch operating at Layer 2 builds a table of MAC addresses and forwards frames to the appropriate port, reducing unnecessary flooding compared with a hub. A router's central job is different: it uses network-layer addressing and routing tables to move packets between networks.
