Topic 3 · Networks
Computer Science · Cheatsheet

Topic 3 · Networks

Chapter 1 · Network basics

📋 Reference · always available
Network
Two or more devices that can exchange data. Whether wired or wireless, scale doesn't matter.
PAN
Personal Area Network. ~10 m. Phone + earbuds.
LAN
Local Area Network. ~100 m. Home/office/school. One organisation.
MAN
Metropolitan. Kilometres. Across a city.
WAN
Wide Area. Countries/global. The Internet is the largest WAN.
Star topology
All devices → central hub/switch. Most common. Hub fail = network dead.
Bus
One shared cable. Cheap. One break kills all.
Ring
Loop. Predictable. One device down breaks ring.
Mesh
Many connections. Redundant + expensive. Used in backbone routers.
Client–server
Dedicated server provides services; clients request. Centralised. Single point of failure unless replicated.
Peer-to-peer (P2P)
Every peer = client + server. Decentralised. Resilient. BitTorrent, Bitcoin.
Hub vs switch vs router
Hub = dumb broadcast. Switch = smart, within LAN (L2, MAC). Router = between networks (L3, IP).
Internet ≠ Web
Internet = the network. Web (HTTP/HTML) = one service that runs on it. Email, gaming also on the Internet.