Professional Documents
Culture Documents
A1 SP22 Bse 097
A1 SP22 Bse 097
Campus
Computer Networks
Assignment #1
Submitted by:
Minahil Javed (SP22-BSE-097)
Submitted to Ma’am Hina Saleem
Q1:
Q2:
1.
Hub: A hub broadcasts packets to all connected devices, including
switches, without knowing who actually needs the data. This leads to
inefficiency and unnecessary network traffic.
Switch: Unlike a hub, a switch is intelligent. It checks the destination
address of a packet and uses a MAC address table to determine which
device is supposed to receive it. This way, it only sends the packet to the
specific device that needs it, reducing network congestion and making
the network more efficient.
2.
Hub and Router Interaction: When a hub is connected to a router, it
operates by broadcasting packets to all connected devices, lacking
intelligence about who actually needs the data. The router, being an
intelligent device, processes these packets based on its configuration.
Q3:
Q4:
Q5: