📘 CodingMarble Learn

Network Types, Topologies and Protocols: Size, Shape and Rules

Networks are grouped by size: PAN (a few metres around one person), LAN (a room, building or campus), MAN (a city) and WAN (a country or the world). A topology is the layout of how nodes are wired: bus (all on one backbone cable), star (all to a central hub or switch) and tree (stars joined in levels). A protocol is a set of rules: TCP/IP breaks and routes data on the Internet, HTTP and HTTPS carry web pages, FTP moves files, SMTP sends email, POP3 downloads email, PPP links two devices directly, TELNET logs into a remote computer, and VoIP carries voice calls over the Internet.

🎬 Step-by-step story

  1. Networks come in sizes: PAN around you (phone and earbuds), LAN in a building, MAN across a city, WAN across countries.
  2. Bus topology: every computer hangs on one long backbone cable with terminators at the ends. If the backbone breaks, the whole network stops.
  3. Star topology: every computer has its own cable to a central switch. One cable breaks → only that computer is off. The centre breaks → all are off.
  4. Tree topology: stars joined in levels under a root, like branches. Easy to grow floor by floor.
  5. Protocols are rules. TCP cuts and checks packets, IP addresses them. HTTP/HTTPS bring web pages, FTP files, SMTP sends mail, POP3 fetches mail, VoIP carries voice.
  6. Your turn: pick a topology and cut one cable. See which computers lose the network.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Is my home Wi-Fi a PAN or a LAN?

A LAN: it covers the house and links several devices. A PAN is only around one person, like phone + earbuds.

Why does a bus network need terminators?

They absorb the signal at the ends of the backbone so it does not bounce back and mix with new data.

If star is so good, what is its weak point?

The central switch. If it fails, every computer loses the network.

Is tree topology just many stars?

Yes: star networks joined in levels to a root, linked like branches of a tree.

Why do we need both SMTP and POP3?

SMTP only sends mail up to servers. POP3 is how your device pulls mail down from the server.

Is HTTPS a different network from HTTP?

No, same web, but HTTPS adds encryption so others cannot read the data on the way.

Types of networks: PAN, LAN, MAN, WAN

TypeAreaExample
PAN (Personal Area Network)about 10 m around one personphone + earbuds by Bluetooth, laptop + phone hotspot
LAN (Local Area Network)a room, building or campus (up to about 1 km)school computer lab, office network
MAN (Metropolitan Area Network)a city or town (up to about 50 km)city cable TV network, a bank's branches in one city
WAN (Wide Area Network)countries or continentsthe Internet, a railway booking network

As size grows, speed usually falls, cost rises, and ownership moves from one person or group to many companies. LANs are fast and privately owned; WANs join many LANs and MANs.

Network topologies: bus, star, tree

A topology is the arrangement (layout) of computers and cables in a network.

Bus topology

All nodes connect to one main cable called the backbone, with a terminator at each end to stop signals bouncing back. Data travels along the bus and every node sees it.

Star topology

Every node has its own cable to a central device (hub or switch).

Tree topology

A hierarchy (levels) of star networks joined to a root, like a tree with branches; it mixes bus and star ideas.

Network protocols

A protocol is a set of rules for how devices format, send, receive and check data.

Try it: map your school network

Visit your computer lab. Follow the cables from each computer. Do they all go to one switch box (star)? Are there several switches joined to one main switch (tree)? Draw what you find. Then list the network types you use in a day: earbuds (PAN), lab (LAN), city Wi-Fi or cable (MAN), Internet (WAN). In the 3D free-play step, cut a cable in each topology to see what fails.

Key formulas and definitions

Worked examples

1. Classify: (a) a smartwatch linked to a phone (b) 40 computers in a school building (c) a bank's ATMs across one city (d) offices of a company in Delhi and London.

(a) PAN (b) LAN (c) MAN (d) WAN.

2. In a bus network of 6 computers, the backbone cable is cut in the middle. What happens? What would happen in a star network if one computer's cable was cut?

Bus: the whole network stops working (signals bounce back and there is no path). Star: only that one computer loses connection; the others keep working.

3. A school has 4 blocks, each with a lab. Suggest a topology.

Tree (or star in each block joined to a central switch): each lab is a star around its switch, and the block switches join a main switch in the server room. It is easy to expand and a fault stays in one block.

4. Which protocol is used: (a) to send an email (b) to download email to your phone (c) to open a bank website safely (d) to upload a website's files to a server?

(a) SMTP (b) POP3 (c) HTTPS (d) FTP.

5. Explain the roles of TCP and IP when you download a photo.

TCP on the server cuts the photo into numbered packets and, on your device, checks every packet arrived and puts them in order (asking again for lost ones). IP puts your device's address on each packet and routers use it to forward the packets.

6. Why is HTTPS preferred over HTTP for login pages?

HTTPS encrypts data between the browser and server, so a password cannot be read by someone watching the network. HTTP sends it as plain text.

Common mistakes

Practice quiz

1. A network across one city is a:
2. In which topology does a backbone break stop the whole network?
3. Which protocol sends email?
4. Which protocol is used for voice calls over the Internet?
5. Which part of TCP/IP puts the address on each packet?

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What are PAN, LAN, MAN and WAN?

Network types by area: PAN around one person, LAN in a building or campus, MAN across a city, WAN across countries (like the Internet).

What is the difference between bus and star topology?

In bus, all computers share one backbone cable, so a break stops everything. In star, each computer has its own cable to a central switch, so one break affects only that computer.

What is the difference between SMTP and POP3?

SMTP sends email to the mail server. POP3 downloads email from the server to your device.

Where this is taught

CBSE (India)Class 12Computer Networks
England (GCSE, A level)Year 124.9 Communication and networking (AS part)
England (GCSE, A level)Year 134.9 Communication and networking
USA (Common Core, NGSS, AP)Grade 11Networks and the Internet
Japan高校(専門学科)1〜3年Computer Systems Technology
Japan高校(専門学科)1〜3年Network Systems
Germany (Bavaria)Jahrgangsstufe 11Network communication and the Internet
FranceTerminaleSpecific option — management information systems
Russia11 классDigital literacy

Learn first

Learn next

Related lessons

All Computer Science lessons