How does your phone reach a friend's phone across the city, and how do your school's 40 computers share one internet connection? Both work through a computer network. This chapter explains what a network is and why we use one, the types of networks (PAN, LAN, MAN and WAN), the common network topologies, and devices such as the modem, hub, switch, router and gateway.
This chapter has lots of pictures in your head to imagine β topologies are basically "shapes" of how computers connect. Draw each topology as you read! Pay particular attention to the Star vs Bus vs Mesh topology comparisons and Hub vs Switch vs Router during revision.
9.1 π Introduction
Before smartphones, before WiFi, before the internet β computers used to work ALONE, like isolated islands. ποΈ If you wanted to share a file, you'd literally carry it on a floppy disk to another computer!
graph LR
OLD["π’ OLD WAY\nEach computer\nworks ALONE\n(Sneakernet β walking\nwith a floppy disk!)"]
NEW["π NEW WAY\nComputers CONNECTED\n= Computer Network\nInstant sharing!"]
OLD -->|"Networks\ninvented!"| NEW
style OLD fill:#F44336,color:#fff
style NEW fill:#4CAF50,color:#fff
A Computer Network is simply: Two or more computers connected together to share data, resources, and communicate.
Real Analogy: Think of a computer network like a school WhatsApp group. Before the group existed, you'd have to call each classmate separately. Once the group is created, EVERYONE can talk, share, and help each other instantly. That's exactly what a network does for computers!
9.2 π Computer Networks β An Introduction
Why do we even need networks? Let's see the benefits:
Resource Sharing
Share ONE printer among 20 computers
No need to buy 20 separate printers!Communication
Send emails, messages, video calls
WhatsAppZoomEmailData Sharing
Share files instantly between computers
Google Driveshared foldersCost Saving
One internet connection for the whole office
Instead of separate connections per computergraph TD
NET["π Computer Network"]
N1["π€ Resource Sharing\n(Printers, Scanners)"]
N2["π¬ Communication\n(Email, Chat, Video Call)"]
N3["πΎ Data Sharing\n(Files, Folders)"]
N4["π° Cost Reduction\n(Shared Internet)"]
NET --> N1
NET --> N2
NET --> N3
NET --> N4
style NET fill:#2196F3,color:#fff
9.2.1 Components of a Computer Network π§©
Every network needs these basic building blocks β like ingredients in a recipe! π¨βπ³
Nodes/Hosts
The devices connected TO the network
ComputerslaptopsprintersphonesServer
A powerful computer that PROVIDES services/resources
Stores fileshosts websitesClient
A computer that REQUESTS services from a server
Your laptop asking for a webpageTransmission Medium
The PATH data travels through
Cables (wired) or Air (wireless)NIC (Network Interface Card)
The hardware that connects a device to the network
Every device's "network passport"graph LR
SERVER["π₯οΈ Server\n(Provides resources)"]
CLIENT1["π» Client 1\n(Requests data)"]
CLIENT2["π» Client 2\n(Requests data)"]
MEDIUM["π Transmission Medium\n(Cable / WiFi)"]
CLIENT1 -->|"Request"| MEDIUM
CLIENT2 -->|"Request"| MEDIUM
MEDIUM -->|"Response"| SERVER
style SERVER fill:#F44336,color:#fff
style MEDIUM fill:#FF9800,color:#fff
Analogy: Think of a Server like a restaurant kitchen (makes the food/provides service), and Clients like customers at tables (order/request food). The Transmission Medium is the waiter walking back and forth carrying orders and dishes!
"What are the basic components required to set up a computer network?" β 2-3 mark question! Answer: Nodes (computers/devices), a Server (to provide resources), a Transmission Medium (cable/wireless), and NIC (Network Interface Card) on each device to enable connectivity.
9.3 π Types of Networks
9.3.1 Types of Networks based on Geographical Spread πΊοΈ
Networks come in different SIZES based on how much area they cover β from your bedroom to across the WHOLE COUNTRY!
graph LR
PAN["π± PAN\nPersonal Area Network\n(A few METERS)"]
LAN["π LAN\nLocal Area Network\n(One BUILDING)"]
MAN["ποΈ MAN\nMetropolitan Area Network\n(One CITY)"]
WAN["π WAN\nWide Area Network\n(Country/World)"]
PAN --> LAN --> MAN --> WAN
style PAN fill:#4CAF50,color:#fff
style LAN fill:#2196F3,color:#fff
style MAN fill:#FF9800,color:#fff
style WAN fill:#F44336,color:#fff
PAN
Personal Area Network β SMALLEST, just around ONE person
Your phone connected to earbuds via BluetoothLAN
Local Area Network β within ONE building/campus
Your school's computer lab networkMAN
Metropolitan Area Network β covers ONE city
Cable TV network across DelhiWAN
Wide Area Network β covers COUNTRIES/CONTINENTS
The INTERNET itself!Quick Comparison Table:
| Network | Full Form | Coverage Area | Real Example |
|---|---|---|---|
| PAN | Personal Area Network | A few meters (one room) | Bluetooth headphones + phone |
| LAN | Local Area Network | One building/campus | School computer lab, office network |
| MAN | Metropolitan Area Network | One city | Cable TV, city-wide WiFi |
| WAN | Wide Area Network | Countries/Worldwide | The Internet |
Memory Trick! π΅ Think of it as rings expanding outward: PAN (you) β LAN (your building) β MAN (your city) β WAN (the whole world)!
"Differentiate between LAN and WAN." β 2-mark question. Answer: LAN covers a SMALL area like a single building/campus, is FASTER, and OWNED by a single organisation. WAN covers a LARGE area like countries/continents, is comparatively SLOWER, and usually involves MULTIPLE organisations/service providers (like the Internet).
One picture, all four types: the smaller networks sit inside the bigger ones. Your earbuds (PAN) work inside your home WiFi (LAN), which joins your Internet provider's city network (MAN), which is part of the Internet (WAN).
graph TD
subgraph WAN["π WAN β the Internet (worldwide)"]
subgraph MAN["ποΈ MAN β your ISP's city network"]
subgraph LAN["π LAN β your home WiFi"]
subgraph PAN["π± PAN β around you"]
PH["π± Phone"]
EB["π§ Earbuds"]
end
LP["π» Laptop"]
RT["πΆ WiFi Router"]
end
ISP["π’ ISP exchange"]
end
SRV["π₯οΈ YouTube server\n(another country)"]
end
PH ---|"Bluetooth"| EB
PH ---|"WiFi"| RT
LP ---|"WiFi"| RT
RT ---|"fibre / cable"| ISP
ISP ---|"undersea fibre,\nsatellite"| SRV
style PAN fill:#E8F5E9,stroke:#4CAF50
style LAN fill:#E3F2FD,stroke:#2196F3
style MAN fill:#FFF3E0,stroke:#FF9800
style WAN fill:#FFEBEE,stroke:#F44336
π§ͺ Worked Example β Name the Network
| Situation | Network | Why |
|---|---|---|
| Riya's smartwatch syncs her step count to her phone | PAN | Two personal devices, a few metres apart |
| 40 computers in the school lab share one printer | LAN | One room / one building |
| At home, a laptop, a smart TV and three phones all use the same WiFi | LAN | One home |
| All branches of a bank in Kolkata are linked to the bank's main office in the same city | MAN | Spread across one city |
| Indian Railways' ticket booking links stations across the whole country | WAN | Spread across a country |
9.4 πΊ Network Topologies
Topology = the SHAPE or LAYOUT of how computers are physically/logically connected. Think of it as the "floor plan" of a network!
graph TD
TOPO["πΊ NETWORK TOPOLOGIES"]
T1["π Point-to-Point"]
T2["β Star"]
T3["π Bus/Linear"]
T4["β Ring/Circular"]
T5["π³ Tree"]
T6["πΈοΈ Mesh"]
T7["π Fully Connected"]
TOPO --> T1
TOPO --> T2
TOPO --> T3
TOPO --> T4
TOPO --> T5
TOPO --> T6
TOPO --> T7
style TOPO fill:#9C27B0,color:#fff
9.4.1 Point-to-Point Link π
The SIMPLEST connection β just TWO devices connected DIRECTLY to each other, nothing else in between!
Computer A βββββββββββββββ Computer B
Advantage
Simple, dedicated connection, no sharing needed
Fast and reliableDisadvantage
Only connects 2 devices β cannot scale to more
Not useful for a whole school!Analogy: Like a private phone line between just YOU and your best friend β nobody else can join in!
9.4.2 The Star Topology β
All computers connect to ONE CENTRAL device (like a Hub or Switch) β like spokes of a bicycle wheel!
graph TD
HUB["π Central Hub/Switch"]
C1["π» Computer 1"]
C2["π» Computer 2"]
C3["π» Computer 3"]
C4["π» Computer 4"]
HUB --- C1
HUB --- C2
HUB --- C3
HUB --- C4
style HUB fill:#FF9800,color:#fff
Advantages
Easy to install; if ONE cable fails, only that computer is affected
Most POPULAR topology today!Disadvantages
If the CENTRAL device fails, the ENTIRE network goes down!
Central hub = single point of failureAnalogy: Like a school where EVERY student reports to ONE principal's office. If one student is absent, class continues fine. But if the principal's office (central hub) shuts down, NOBODY can communicate!
"What is the biggest disadvantage of Star Topology?" β 1-mark question! Answer: If the CENTRAL device (hub/switch) fails, the ENTIRE network stops working β this is called a "single point of failure."
9.4.3 The Bus or Linear Topology π
All computers connect to ONE single main cable (called the "backbone") β like beads on a single string!
graph LR
BUS["βββββββββββββββ Main Backbone Cable βββββββββββββββ"]
C1["π» PC1"]
C2["π» PC2"]
C3["π» PC3"]
C4["π» PC4"]
C1 --- BUS
C2 --- BUS
C3 --- BUS
C4 --- BUS
style BUS fill:#9E9E9E,color:#fff
Advantages
Uses LESS cable (cheap!); easy to set up for small networks
Simple and economicalDisadvantages
If the MAIN cable breaks, WHOLE network fails; hard to find faults; slows down with more computers
Rarely used todayAnalogy: Like a single clothesline with clothes (computers) hanging on it. If someone cuts the clothesline in the middle, EVERYTHING falls β the whole network breaks!
9.4.4 The Ring or Circular Topology β
Computers are connected in a CLOSED LOOP β like holding hands in a circle! Data travels around the ring in ONE direction.
graph LR
C1["π» PC1"] --> C2["π» PC2"]
C2 --> C3["π» PC3"]
C3 --> C4["π» PC4"]
C4 --> C1
style C1 fill:#4CAF50,color:#fff
style C2 fill:#2196F3,color:#fff
style C3 fill:#FF9800,color:#fff
style C4 fill:#F44336,color:#fff
Advantages
Data flows in an orderly, predictable manner; no collisions
Good for equal data distributionDisadvantages
If ONE computer/cable fails, the ENTIRE ring breaks (unless dual-ring backup exists)
Adding/removing a computer disrupts the networkAnalogy: Like passing a note around a circle of friends sitting in a ring β if one friend suddenly leaves, the note can't complete its journey around the circle!
9.4.5 The Tree Topology π³
A COMBINATION of Star topologies, connected in a HIERARCHY β like an organisation chart, or an actual tree with branches!
graph TD
ROOT["π³ Root Hub"]
B1["π Branch Hub 1"]
B2["π Branch Hub 2"]
C1["π» PC1"]
C2["π» PC2"]
C3["π» PC3"]
C4["π» PC4"]
ROOT --- B1
ROOT --- B2
B1 --- C1
B1 --- C2
B2 --- C3
B2 --- C4
style ROOT fill:#4CAF50,color:#fff
Advantages
Easy to expand (add new branches); faults in one branch don't affect others
Great for large organisations with departmentsDisadvantages
If the ROOT (main hub) fails, everything below it fails too
Needs a LOT of cablingAnalogy: Like your school's structure β Principal (root) β Department Heads (branches) β Teachers (leaves). Perfectly matches how BIG organisations are structured with multiple floors/departments!
9.4.6 Mesh Topology πΈοΈ
Every device is connected to MULTIPLE other devices (not necessarily ALL) β creating a web-like, spider-net pattern!
graph TD
C1["π» PC1"]
C2["π» PC2"]
C3["π» PC3"]
C4["π» PC4"]
C1 --- C2
C1 --- C3
C2 --- C4
C3 --- C4
C1 --- C4
style C1 fill:#4CAF50,color:#fff
style C2 fill:#2196F3,color:#fff
style C3 fill:#FF9800,color:#fff
style C4 fill:#F44336,color:#fff
Advantages
Very RELIABLE β multiple paths mean network survives even if one link fails
Used for critical systems (militarybanking)Disadvantages
Needs A LOT of cabling β expensive and complex to set up
Not practical for large networksAnalogy: Like a spider's web β if one strand breaks, the spider can still move around using other connected paths!
9.4.7 Fully Connected Topology π
The EXTREME version of Mesh β where EVERY single device is connected to EVERY OTHER device directly!
graph TD
C1["π» PC1"]
C2["π» PC2"]
C3["π» PC3"]
C4["π» PC4"]
C1 --- C2
C1 --- C3
C1 --- C4
C2 --- C3
C2 --- C4
C3 --- C4
style C1 fill:#4CAF50,color:#fff
style C2 fill:#2196F3,color:#fff
style C3 fill:#FF9800,color:#fff
style C4 fill:#F44336,color:#fff
The Math Behind It β How many cables needed?
Formula: n(n-1)/2 cables needed for n computers
For 4 computers: 4Γ(4-1)/2 = 4Γ3/2 = 6 cables
For 10 computers: 10Γ9/2 = 45 cables!! π±
Advantages
MAXIMUM reliability β a direct path always exists between any two devices
Zero traffic bottleneckDisadvantages
EXTREMELY expensive β cable count grows very fast as devices increase
Practically impossible for large networks"How many cables are required to connect 6 computers in a fully connected mesh topology?" β 2-mark calculation question! Answer: Using formula n(n-1)/2 = 6Γ5/2 = 15 cables
9.4.8 Factors to Consider for Topology Selection π€
Before choosing a topology for a real network, you must think about:
Cost
How much cabling/hardware is affordable?
Bus is cheap; Mesh is expensiveSize
How many devices need to connect?
Star works well for growing networksReliability Needed
Can the network afford downtime?
Mesh for critical systems (bankshospitals)Ease of Maintenance
How easy is it to find and fix faults?
Star is easiest to troubleshootScalability
Will more computers be added later?
Tree/Star topology expands easilyAll Topologies β One-Look Comparison Table:
| Topology | Shape | Reliability | Cost | Best For |
|---|---|---|---|---|
| Point-to-Point | Direct line | High (for 2 devices) | Very Low | Just 2 devices |
| Star | Hub in center | Medium (hub = risk) | Medium | Most common β offices, schools |
| Bus | Single line | Low (one break = all fail) | Very Low | Small, temporary networks |
| Ring | Circular loop | Medium | Low | Orderly data flow needs |
| Tree | Hierarchy | Medium-High | Medium-High | Large organisations |
| Mesh | Web-like | Very High | High | Critical systems |
| Fully Connected | Everyone-to-everyone | Highest | Very High | Extremely critical, small networks only |
"Which topology is most commonly used in schools/offices and why?" β 2-mark question! Answer: Star Topology β because it's easy to install, easy to add new computers, and a cable fault in one computer doesn't affect others (though the central hub remains a single point of failure).
π§ͺ Worked Example β Count the Cables for 5 Computers
| Topology | Cables needed | Working |
|---|---|---|
| Star | 5 | One cable from each computer to the hub/switch |
| Bus | 1 backbone + 5 drop cables | Every computer taps into the same main cable |
| Ring | 5 | Each computer links to the next, and the last links back to the first |
| Fully Connected | 10 | n(n-1)/2 = 5 Γ 4 / 2 = 10 |
π§ͺ Worked Example β Choose the Topology
| Situation | Topology | Why |
|---|---|---|
| A school lab of 30 PCs where new PCs are added every year | Star | Easy to add a PC; one bad cable affects only one PC |
| A company with separate networks for Accounts, Sales and HR on three floors, all joined to the head office | Tree | A hierarchy of stars β one branch per department |
| A hospital where no single broken link may cut off the ICU | Mesh | Several paths, so data can go around a broken link |
| Connecting just a laptop and a projector | Point-to-Point | Only two devices |
9.5 π Network Devices
Now let's meet the HARDWARE β the actual physical devices that make a network work!
graph TD
L1["β‘ Layer 1 (Physical)\nModem, Hub, Repeater"]
L2["π Layer 2 (Data Link)\nSwitch, Bridge"]
L3["π Layer 3 (Network)\nRouter"]
L4["π Layer 4+ (Higher)\nGateway"]
style L1 fill:#4CAF50,color:#fff
style L2 fill:#2196F3,color:#fff
style L3 fill:#FF9800,color:#fff
style L4 fill:#F44336,color:#fff
9.5.1 Modem π‘
Modem = MOdulator + DEModulator. It converts DIGITAL signals (from your computer) into ANALOG signals (for telephone lines) and back!
graph LR
PC["π» Your PC\nDigital: 0s and 1s"]
MOD["π‘ MODEM"]
LINE["π Phone/Cable Line\nAnalog Signal"]
PC -->|"Modulates"| MOD --> LINE
LINE -->|"Demodulates"| MOD --> PC
style MOD fill:#9C27B0,color:#fff
Analogy: Like a translator at the UN β your computer speaks "Digital", the phone line speaks "Analog", and the Modem TRANSLATES between them!
Real-life example: the box your broadband company installs where the phone line or cable enters your home. Many home "WiFi routers" have a modem built in.
9.5.2 Hub π΅
The SIMPLEST connecting device β receives data and BROADCASTS it to ALL connected computers (no intelligence at all!).
graph TD
HUB["π΅ HUB\n(Dumb β broadcasts to everyone!)"]
PC1["π» PC1"]
PC2["π» PC2"]
PC3["π» PC3"]
HUB -->|"Same data\nsent to ALL"| PC1
HUB -->|"Same data\nsent to ALL"| PC2
HUB -->|"Same data\nsent to ALL"| PC3
style HUB fill:#9E9E9E,color:#fff
Analogy: Like SHOUTING an announcement in a classroom β EVERYONE hears it, even if the message was meant for just one person!
Real-life example: older school labs used hubs before switches became cheap. You will rarely see one today.
9.5.3 Switch π
The SMART upgrade to a Hub! It LEARNS which computer is on which port and sends data ONLY to the intended recipient.
graph TD
SW["π SWITCH\n(Smart β knows WHO to send to!)"]
PC1["π» PC1"]
PC2["π» PC2 β Data goes HERE only!"]
PC3["π» PC3"]
SW -.->|"skipped"| PC1
SW -->|"Data sent\nONLY here"| PC2
SW -.->|"skipped"| PC3
style SW fill:#2196F3,color:#fff
style PC2 fill:#4CAF50,color:#fff
Analogy: Like a smart postman who KNOWS exactly which house to deliver each letter to β unlike a Hub, which is like shouting mail contents to the WHOLE street!
Real-life example: the box with 8 to 48 cable sockets in your school lab's network cabinet. Every lab PC's cable plugs into it.
Hub vs Switch β Quick Comparison:
| Feature | Hub | Switch |
|---|---|---|
| Intelligence | None β dumb device | Smart β uses MAC addresses |
| Sends data to | ALL connected devices | ONLY the intended device |
| Speed | Slower (shared bandwidth) | Faster (dedicated bandwidth) |
| Used today? | Rarely (obsolete) | Yes β standard in networks |
"Differentiate between Hub and Switch." β 2-mark question! Answer: A Hub broadcasts data to ALL connected devices with no intelligence. A Switch is smarter β it learns device addresses and sends data ONLY to the intended recipient, making it faster and more secure.
9.5.4 Repeater πΆ
A device that BOOSTS a weak/fading signal so it can travel further without losing quality.
graph LR
SRC["π‘ Strong Signal"]
WEAK["γ°οΈ Weak Signal\n(traveled far)"]
REP["π REPEATER\n(Boosts it!)"]
STRONG["π‘ Strong Signal Again!"]
SRC --> WEAK --> REP --> STRONG
style REP fill:#FF9800,color:#fff
Analogy: Like a relay race! Runner 1 gets tired after running far, so Runner 2 (Repeater) takes the baton and runs with FULL energy again!
Real-life example: a WiFi range extender plugged in halfway to a far room, or a repeater placed on a cable run longer than about 100 m.
9.5.5 Bridge π
Connects TWO LAN segments together and FILTERS traffic between them β deciding what should cross over and what shouldn't.
graph LR
SEG_A["π’ Segment A\n(PC1, PC2)"]
BRIDGE["π BRIDGE\n(Filters traffic)"]
SEG_B["π’ Segment B\n(PC3, PC4)"]
SEG_A --- BRIDGE --- SEG_B
style BRIDGE fill:#9C27B0,color:#fff
Analogy: Like a security guard at a bridge connecting two neighbourhoods β only lets through the people/traffic that actually NEEDS to cross!
Real-life example: joining the networks of Lab A and Lab B into one network, while each lab's local traffic stays inside that lab.
9.5.6 Router πΊοΈ
The device that connects DIFFERENT NETWORKS together (like your home network to the Internet) and finds the BEST PATH for data to travel.
graph LR
HOME["π Home Network\n(192.168.1.x)"]
ROUTER["πΊοΈ ROUTER\n(Finds best path,\nconnects networks)"]
INTERNET["π The Internet"]
HOME <--> ROUTER <--> INTERNET
style ROUTER fill:#F44336,color:#fff
Analogy: Like a GPS navigation system for data β it looks at all possible roads (networks) and picks the BEST route for your data packets to reach their destination!
Real-life example: the WiFi router at home or school that connects your local network to your Internet service provider (ISP).
9.5.7 Gateway πͺ
The most complex of these devices β connects TWO COMPLETELY DIFFERENT types of networks (different protocols/languages) by TRANSLATING between them.
graph LR
NET1["π’ Network A\n(Uses Protocol X)"]
GW["πͺ GATEWAY\n(Full Translation)"]
NET2["π Network B\n(Uses Protocol Y)"]
NET1 <--> GW <--> NET2
style GW fill:#F44336,color:#fff
Analogy: Like an international translator at an airport β helps two people who speak COMPLETELY different languages (protocols) understand each other!
Real-life example: the point where a school or office network meets the Internet β every request that leaves the LAN passes through it. In most homes and schools, the router also does the gateway's job.
All Network Devices β Quick Reference:
| Device | Job | Intelligence Level |
|---|---|---|
| Modem | Digital β Analog conversion | None |
| Hub | Broadcasts to everyone | None |
| Switch | Sends to correct device only | Medium |
| Repeater | Boosts weak signals | None |
| Bridge | Connects 2 LAN segments, filters traffic | Medium |
| Router | Connects different networks, finds best path | High |
| Gateway | Connects totally different protocol networks | Highest |
graph LR
L["Least Smart"]
A["Hub/Repeater"]
B["Switch/Bridge"]
C["Router"]
D["Gateway"]
M["Most Smart"]
L --> A --> B --> C --> D --> M
style A fill:#9E9E9E,color:#fff
style B fill:#2196F3,color:#fff
style C fill:#FF9800,color:#fff
style D fill:#F44336,color:#fff
"Rank the following devices from least to most intelligent: Router, Hub, Switch, Gateway." β 2-mark question! Answer: Hub β Switch β Router β Gateway (increasing intelligence)
π§ͺ Worked Example β Follow the Data
What happens when you open csip12.in on a school lab computer? Your request passes through these devices in order:
graph TD
PC["π» Lab PC\n(NIC)"]
SW["π Switch\nsends it only\nto the router"]
RT["πΊοΈ Router / Gateway\nsends it out of\nthe school LAN"]
MD["π‘ Modem\ndigital β line signal"]
ISP["π’ ISP"]
NET["π Internet"]
WEB["π₯οΈ csip12.in\nweb server"]
PC --> SW --> RT --> MD --> ISP --> NET --> WEB
style SW fill:#BBDEFB,stroke:#2196F3
style RT fill:#FFCDD2,stroke:#F44336
style MD fill:#E1BEE7,stroke:#9C27B0
The web page comes back along the same path in reverse: the switch delivers it only to your PC, not to all 40 lab computers.
π§ͺ Worked Example β Choose the Device
| Problem | Device | Why |
|---|---|---|
| 25 lab PCs must be connected so that data goes only to the PC it is meant for | Switch | A hub would send every message to all 25 PCs |
| The WiFi signal is too weak in the last classroom of the corridor | Repeater (WiFi range extender) | It boosts the weak signal so it reaches further |
| The school LAN must be connected to the Internet | Router (and a modem for the ISP's line) | The router joins two different networks and picks the path |
| A cable run of 150 m gives a weak signal at the far end | Repeater | Twisted pair works up to about 100 m; the repeater regenerates the signal |
β οΈ Common Errors and Misconceptions
| Mistake | What's Wrong | Correct Understanding |
|---|---|---|
| β Hub and Switch are the same thing | Hub broadcasts to everyone; Switch is smart | β Switch sends data ONLY to the correct destination |
| β Modem and Router are the same | Different jobs entirely | β Modem converts signal types; Router connects networks and finds paths |
| β LAN and WAN differ only in speed | Size/coverage area is the KEY difference | β LAN = small area (building); WAN = large area (countries) |
| β Mesh topology is always the best choice | It's the most EXPENSIVE and complex | β Star is usually the practical, most-used choice for real networks |
| β Bus topology fails only where the break happens | ONE cable break kills the WHOLE bus network | β Bus topology has a single point of failure β the main backbone cable |
| β Bridge and Router do the same job | Bridge connects SEGMENTS of the SAME network type | β Router connects DIFFERENT networks; Gateway connects DIFFERENT protocols |
Network Types by Size β Smallest to Largest:
PAN (a room) β LAN (a building) β MAN (a city) β WAN (the world)
Topologies β One-Line Summary:
| Topology | Key Feature |
|---|---|
| Point-to-Point | Just 2 devices, direct link |
| Star | Central hub; hub failure = total failure |
| Bus | Single backbone cable; cable break = total failure |
| Ring | Circular, one-directional flow |
| Tree | Hierarchical, star-of-stars |
| Mesh | Multiple redundant paths; very reliable, expensive |
| Fully Connected | n(n-1)/2 cables; maximum reliability, maximum cost |
Network Devices β One-Line Summary:
| Device | Job |
|---|---|
| Modem | Digital β Analog conversion |
| Hub | Dumb broadcaster |
| Switch | Smart β sends to correct device |
| Repeater | Boosts weak signals |
| Bridge | Connects 2 LAN segments |
| Router | Connects networks, finds best path |
| Gateway | Connects different protocol networks |
π― Sample Board Exam Questions
Q1: Very Short Answer [1 mark each]
a) What does LAN stand for? β Local Area Network
b) Which network device broadcasts data to all connected devices? β Hub
c) What is the formula to calculate cables needed in a fully connected mesh topology of n computers? β n(n-1)/2
d) Name the topology where all computers connect to a single central device. β Star Topology
e) Which device connects two different networks and finds the best path for data? β Router
Q2: Short Answer [2 marks]
Q: Differentiate between Star Topology and Bus Topology.
Star Topology connects all computers to a CENTRAL device (hub/switch); if one cable fails, only that computer is affected, but if the central device fails, the ENTIRE network fails. Bus Topology connects all computers to a SINGLE backbone cable; if the main cable breaks anywhere, the ENTIRE network fails, and there's no central point of control.
Q3: Short Answer [2 marks]
Q: What is the difference between a Router and a Gateway?
A Router connects networks that use the SAME protocol/language and finds the best path for data (e.g., connecting your home LAN to the Internet). A Gateway connects networks that use COMPLETELY DIFFERENT protocols, performing full translation between them (e.g., connecting an email system to a different messaging system).
Q4: Calculation [2 marks]
Q: How many cables are needed to fully connect 8 computers in a mesh topology?
Using the formula n(n-1)/2: = 8 Γ (8-1) / 2 = 8 Γ 7 / 2 = 56 / 2 = 28 cables
Q5: Short Answer [3 marks]
Q: List the components required to set up a computer network.
- Nodes/Hosts β the computers/devices being connected
- Server β provides resources/services to clients
- Transmission Medium β cables or wireless signals carrying the data
- NIC (Network Interface Card) β hardware enabling each device to connect to the network
- Network Devices β Hub, Switch, Router etc. to manage the connections
βοΈ Practice Problems
-
Draw and label a Star Topology connecting 5 computers to a central hub.
-
A school wants to set up a network in a lab with 20 computers, sharing one printer and one internet connection. Which topology would you recommend and why?
-
Differentiate between MAN and WAN with real-world examples.
-
Calculate the number of cables needed for a Fully Connected topology with 12 computers.
-
Explain why the failure of the central device in a Star Topology brings down the ENTIRE network.
-
Compare Ring Topology and Bus Topology in terms of how data travels and what happens if a connection fails.
-
A company has its Head Office and 3 Branch Offices connected in a hierarchy, with the Head Office managing all branches. Which topology best represents this β Star, Tree, or Mesh? Justify your answer.
-
List two advantages and two disadvantages of Mesh Topology.
-
Explain the role of a Modem in connecting a home computer to the Internet via a telephone line.
-
A hospital needs an EXTREMELY reliable network where NO single failure can disconnect any department. Which topology would you suggest, and what is the main drawback of your choice?