Computer Networks · Unit 1

Introduction to Computer Networks

Every email, video call, and page you've ever opened crossed a network of cables, radio waves, and silicon — hopping between machines that don't know each other but agree on the same rules. This lesson is an interactive walk through how that actually works.

Start exploring ↓ Jump to quiz
01 — The Basics

What exactly is a network?

A computer network is simply two or more devices linked together so they can exchange data and share resources — files, printers, an internet connection, even processing power. The devices are called nodes; the links between them can be copper cable, fibre, or radio waves.

PC1Laptop PC2Desktop PHNPhone SRVServer SW
Click to watch the data travel through the switch.

Resource sharing

One printer or one internet line can serve every device on the network instead of buying one per machine.

Communication

Email, chat, and video calls are only possible because devices can pass messages to each other in real time.

Reliability

With more than one path between two points, traffic can reroute automatically if a cable or server fails.

Scalability

New devices can join an existing network without rebuilding it — that's how home Wi-Fi and the Internet both grow.

02 — Classification by Scale

How big is the network?

The same idea — devices exchanging data — looks very different depending on how far it has to reach. Networks are usually grouped by physical scale.

Personal Area Network

The smallest scale — devices belonging to one person, usually within arm's reach, connected wirelessly over short range.

~10 mTypical range
Bluetooth / NFCCommon tech
Phone + earbudsReal example
YOU PHN WCH EAR

Local Area Network

Devices within one building or campus, usually owned and managed by a single organisation — an office, school lab, or home.

1 buildingTypical range
Ethernet / Wi-FiCommon tech
Office networkReal example
SW PC1 PC2 PC3

Metropolitan Area Network

Several LANs linked across a city — connecting campuses, branch offices, or a cable provider's local infrastructure.

1 cityTypical range
Fibre backboneCommon tech
University campusesReal example
HUB CMP A CMP B CMP C

Wide Area Network

Networks spanning countries or continents, linking LANs and MANs together — the Internet is the largest WAN of all.

GlobalTypical range
Undersea cable, satelliteCommon tech
The InternetReal example
NET A NET B NET C
03 — Network Topologies

How are the devices wired together?

Topology is the shape of the connections — which device is wired to which. The shape decides how data travels, how easy the network is to grow, and what happens when one link fails.

PC1 PC2 SRV PC3 PC4
Bus — every device shares one backbone cable. Cheap and simple, but a single break can take the whole network down, and only one device can transmit at a time.
SW PC1 PC2 SRV PC3 PC4
Star — every device connects only to a central switch. Easiest to manage and the most common layout in real offices — but if the switch fails, everyone loses connection.
PC1 PC2 SRV PC3 PC4 PC5
Ring — each device connects to exactly two neighbours, forming a loop. Data hops from device to device until it reaches its destination — orderly, but one broken link can disrupt the whole ring.
PC1 PC2 SRV PC3 PC4 PC5
Mesh — devices connect directly to many others. Highly redundant: if one link fails, data simply takes a different path. Powerful, but cabling grows fast as devices are added.
RT SW1 SW2 PC1 PC2 PC3 PC4
Tree — a hierarchy of star networks branching from a root. Easy to scale by adding new branches — but if a parent node fails, every branch below it disconnects.
04 — Network Devices

The hardware doing the work

Behind every connection sits physical hardware. Click a card to see what each device actually does.

05 — Service Models

Who talks to whom?

Beyond wiring, networks also follow a logical model for how devices request and provide data.

SRV PC1 PC2 PC3

Clients request → server responds. Example: opening a website, checking email.

Strengths

  • Centralised control and security
  • Easier to back up and maintain
  • Predictable performance for clients

Trade-offs

  • Server is a single point of failure
  • Needs powerful, well-maintained hardware
  • Can bottleneck under heavy load
PC1 PC2 PC3 PC4 PC5

Every peer can act as both client and server. Example: file-sharing networks, some blockchain networks.

Strengths

  • No single point of failure
  • Scales informally as peers join
  • No expensive central server required

Trade-offs

  • Harder to secure and manage
  • Performance depends on who's online
  • Inconsistent availability
06 — The OSI Model

The seven-layer journey of a message

Real-world networks split the job of "send this data" into seven layers, each with one responsibility, agreed on by every device on the Internet. Click a layer to read about it, or watch data make the full trip.

Top → bottom: "All People Seem To Need Data Processing"
SENDER
RECEIVER
DATA
Application layer has data ready to send.
07 — Key Vocabulary

Six words you'll keep hearing

Click a term above to see its definition.
08 — Quick Check

Test what you've picked up

Five quick questions covering everything above.

Score: 0 / 5