Class 12 Informatics Practices Chapter 09 Β· 26 min read

🌐 Introduction to Computer Networks

Unit 3 Β· Ch 9 Oct 12, 2026
Chapter Quiz Share

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.

πŸ’‘ How to use these notes

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

WhatsAppZoomEmail
πŸ’Ύ

Data Sharing

Share files instantly between computers

Google Driveshared folders
πŸ’°

Cost Saving

One internet connection for the whole office

Instead of separate connections per computer
graph 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

Computerslaptopsprintersphones
πŸ”Œ

Server

A powerful computer that PROVIDES services/resources

Stores fileshosts websites
πŸ’»

Client

A computer that REQUESTS services from a server

Your laptop asking for a webpage
πŸ”—

Transmission 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!

πŸ“‹ Board Exam Tip

"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 Bluetooth
🏠

LAN

Local Area Network β€” within ONE building/campus

Your school's computer lab network
πŸ™οΈ

MAN

Metropolitan Area Network β€” covers ONE city

Cable TV network across Delhi
🌍

WAN

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)!

πŸ“‹ Board Exam Tip

"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 reliable
❌

Disadvantage

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 failure

Analogy: 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!

πŸ“‹ Board Exam Tip

"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 economical
❌

Disadvantages

If the MAIN cable breaks, WHOLE network fails; hard to find faults; slows down with more computers

Rarely used today

Analogy: 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 distribution
❌

Disadvantages

If ONE computer/cable fails, the ENTIRE ring breaks (unless dual-ring backup exists)

Adding/removing a computer disrupts the network

Analogy: 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 departments
❌

Disadvantages

If the ROOT (main hub) fails, everything below it fails too

Needs a LOT of cabling

Analogy: 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 networks

Analogy: 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 bottleneck
❌

Disadvantages

EXTREMELY expensive β€” cable count grows very fast as devices increase

Practically impossible for large networks
πŸ“‹ Board Exam Tip

"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 expensive
πŸ“

Size

How many devices need to connect?

Star works well for growing networks
πŸ›‘οΈ

Reliability 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 troubleshoot
πŸ“ˆ

Scalability

Will more computers be added later?

Tree/Star topology expands easily

All 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
πŸ“‹ Board Exam Tip

"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
πŸ“‹ Board Exam Tip

"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
πŸ“‹ Board Exam Tip

"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

🎯 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.

  1. Nodes/Hosts β€” the computers/devices being connected
  2. Server β€” provides resources/services to clients
  3. Transmission Medium β€” cables or wireless signals carrying the data
  4. NIC (Network Interface Card) β€” hardware enabling each device to connect to the network
  5. Network Devices β€” Hub, Switch, Router etc. to manage the connections

✏️ Practice Problems

  1. Draw and label a Star Topology connecting 5 computers to a central hub.

  2. 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?

  3. Differentiate between MAN and WAN with real-world examples.

  4. Calculate the number of cables needed for a Fully Connected topology with 12 computers.

  5. Explain why the failure of the central device in a Star Topology brings down the ENTIRE network.

  6. Compare Ring Topology and Bus Topology in terms of how data travels and what happens if a connection fails.

  7. 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.

  8. List two advantages and two disadvantages of Mesh Topology.

  9. Explain the role of a Modem in connecting a home computer to the Internet via a telephone line.

  10. 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?

Take the Chapter 09 Quiz Custom Quiz
Solved Board Questions

Practice real board exam questions for this chapter.

View Solved Board Questions
Learning Support

Need Help With This Chapter?

Save key topics for exam revision, ask questions to teachers, or submit content corrections.

Verified Doubts & Teacher Answers

Chapter 09 Quiz