1. LPU MCA Semester 1
  2. CAP7001
  3. Unit 2

CAP7001 · Unit 2: Physical layer

Networking devices

10 practice questions · in the MTE and ETE syllabus

Key points

  • Repeater and hub: physical layer
  • Switch: data link, MAC-based forwarding
  • Router: network layer, IP-based
  • Switch splits collision domains; router splits broadcast domains

Networking devices are classified by the highest layer they work at.

DeviceLayerBehaviour
RepeaterPhysicalRegenerates a weak signal; no address knowledge
HubPhysicalMultiport repeater; copies a signal to every other port
Switch (bridge)Data linkLearns MAC addresses; forwards frames only where needed
RouterNetworkForwards packets between networks using IP addresses

A switch builds an address table from the source MAC of arriving frames. If the destination is unknown it floods the frame out of every port except the arrival port; once learned, it forwards only to that port.

Worked example: a frame arriving on a 5-port hub leaves on 4 ports. Eight PCs on an 8-port switch form 8 collision domains, whereas on a hub they form 1.

Exam pitfall: a switch separates collision domains but not broadcast domains (without VLANs). Only a router separates broadcast domains. A hub does neither.

Try two questions

Question 1 · Tier 2, Understand

A repeater operates at which layer and what does it do?

  1. Network layer; routes packets
  2. Physical layer; regenerates the signal
  3. Transport layer; opens connections
  4. Data link layer; filters frames by MAC
Show the answer

B. A repeater regenerates a weakened signal; it has no knowledge of addresses.

Question 2 · Tier 2, Understand

Which device filters traffic using MAC addresses and works at the data link layer?

  1. Modem
  2. Switch
  3. Repeater
  4. Hub
Show the answer

B. A switch learns MAC addresses and forwards frames only to the destination port.