Free Study Material

Networking Basics

Introduction

This unit's last stretch of the course moves from databases to how computers actually connect to each other — starting with what a network is, sorted by how far it physically reaches.

Concept

A computer network is a collection of interconnected devices able to exchange data with each other. Networks are classified by geographic scale:

  • LAN (Local Area Network) — confined to one building or a small campus, like one school or office.
  • MAN (Metropolitan Area Network) — spans a city or a large town, larger than a LAN, smaller than a WAN.
  • WAN (Wide Area Network) — spans a large geographic area, potentially an entire country or the whole world. The Internet is the largest WAN in existence.

Explanation

This scale is really a spectrum, not three sharply separate categories — a school's own network is a LAN, several of a city's schools linked together could form a MAN, and connecting networks across many cities and countries is exactly how a WAN, and ultimately the Internet itself, is built: each larger category is made of many smaller networks joined together, not a fundamentally different technology.

Note: The Internet is not a separate fourth category — it's the standard example CBSE uses specifically to illustrate what a WAN actually is at its largest possible scale.

Summary

A network is a collection of interconnected devices exchanging data. LAN, MAN, and WAN classify networks by geographic scale — building/campus, city, and country/global — each larger category built from smaller networks joined together, with the Internet as the largest WAN of all.

🌐

Classroom Toolkit

System Update: Network Theory Module Loaded.
Focus: Concept mastery and Board Exam definitions.

1. What is a Computer Network?

A Computer Network is a collection of interconnected computers and other devices (like printers) that can communicate with each other to share data and resources.

Key Components:

  • Node (Workstation): Any device connected to the network (e.g., Laptop, Smartphone, Printer).
  • Server: A powerful computer that provides services (storage, email) to other nodes.
  • Communication Channel: The medium through which data travels (Cables, WiFi, Fiber Optics).
  • Resource Sharing: The main goal of networking (Sharing files, hardware, or internet access).

2. Types of Networks (Geographical)

Networks are classified based on the Geographical Area they cover.

Type Full Form Range & Example
PAN Personal Area Network Very small range (approx 10 meters).
Ex: Bluetooth connection between Phone and Headphones.
LAN Local Area Network Small area (Room, Building, Campus).
Ex: School Computer Lab, Office WiFi.
MAN Metropolitan Area Network City-wide range.
Ex: Cable TV Network, City-wide Public WiFi.
WAN Wide Area Network Country, Continent, or Global.
Ex: The Internet, 4G/5G Cellular Networks, ATM Networks.

Introduction

A network's devices need physical hardware to actually connect and direct traffic between them — this topic names the core pieces.

Concept

  • Modem — converts digital data from a computer into a form that can travel over a telephone/cable line (and back), connecting a local network to an external one, like the Internet.
  • Hub — connects multiple devices in a LAN, but simply broadcasts incoming data to every connected device, regardless of which one it's actually meant for.
  • Switch — connects multiple devices in a LAN like a hub, but intelligently sends data only to the specific device it's addressed to.
  • Router — connects different networks together (like a home LAN to the wider Internet), and directs data along the correct path between them.

Explanation

Hub versus Switch is the clearest, most exam-tested distinction here: both physically connect several devices, but a Hub wastes bandwidth broadcasting every message to everyone, while a Switch reads each message's intended destination and sends it only there — the same "targeted versus broadcast" idea, at the hardware level, that made WHERE so essential back in your SQL work.

Note: A Router connects networks to each other; a Switch connects devices within one network. Confusing the two is a common mistake — remember Router as the device that lets your home network reach the Internet at all.

Summary

A Modem connects a local network to an external line. A Hub broadcasts to every connected device; a Switch sends data only to its intended device. A Router connects separate networks together and directs data between them.

1. The Gateway to the Internet (Modem)

To connect your home computer to the Internet Service Provider (ISP), you need a specific device that translates signals.

Device Full Form & Function
Modem MOdulator DEModulator.
It converts Digital Signals (from your computer) into Analog Signals (to travel over telephone/cable lines) and vice versa.
Without a modem, your computer cannot "speak" to the internet line.
RJ-45 Connector Registered Jack - 45.
This is the standard plastic connector plug found at the end of Ethernet (LAN) cables. It looks like a larger telephone jack.

2. Connecting Computers (Hub vs Switch)

When you want to create a LAN (e.g., in a school lab), you plug all computers into a central box. But is that box a Hub or a Switch?

The Hub (Dumb Device)

When a Hub receives data from Computer A destined for Computer B, it Broadcasts it to ALL connected computers.
Downside: Generates high network traffic and security risks (everyone sees the data).

The Switch (Smart Device)

A Switch learns the MAC address of devices. When it receives data for Computer B, it sends it ONLY to Computer B.
Benefit: Efficient, faster, and more secure.

3. Router, Repeater & Gateway

  • Repeater: Signals get weak over long distances (Attenuation). A Repeater amplifies (regenerates) the signal so it can travel further.
  • Router: Used to connect two different networks (e.g., your Home LAN to the Internet WAN). It decides the best path for data to travel (Routing).
  • Gateway: A device that connects dissimilar networks that use different protocols (languages). It acts like a translator.

Introduction

Beyond the devices themselves, a network has a physical or logical shape — how its devices are actually arranged and connected. This topic covers the four standard layouts.

Concept

  • Star Topology — every device connects individually to one central device (like a Switch). If one device's own cable fails, only that device is affected; if the central device fails, the whole network goes down.
  • Bus Topology — every device connects to one single shared central cable (the "bus"). Simple and cheap, but the entire network fails if that one shared cable breaks.
  • Tree Topology — Star networks connected together in a hierarchy, branching out from a root — combining Star's per-device reliability with the ability to scale to a much larger network.
  • Mesh Topology — every device connects directly to every other device. Highly reliable (many alternate paths if one connection fails), but expensive and complex to wire as the network grows.

Explanation

Each topology trades reliability against cost and complexity differently: Bus is cheapest but has a single point of failure shared by everyone; Star isolates individual device failures but still depends entirely on its one central device; Mesh has no single point of failure at all, at the direct cost of needing far more connections to wire up. Tree is really Star repeated at a larger scale, which is exactly why it inherits Star's own trade-off, just applied hierarchically.

Note: "Single point of failure" is the concept CBSE tests most directly here — know exactly which topology fails completely from one broken connection (Bus, and Star's central device) versus which tolerates it (Mesh, and Star's individual device links).

Summary

Star connects every device to one central point; Bus shares one single cable; Tree is Star networks arranged hierarchically; Mesh connects every device directly to every other — each trades reliability against cost and wiring complexity differently.

1. Star Topology (Most Common)

In a Star Topology, every computer is connected to a Central Node (usually a Switch or Hub). This is the design used in almost all modern offices and schools.

Advantages Disadvantages
✅ Reliable: If one cable breaks, only that one computer is affected. The rest of the network keeps working.
✅ Easy to Manage: You can add or remove computers without disturbing others.
❌ Central Failure: If the central Switch fails, the entire network goes down.
❌ More Cable: Requires a separate cable for every single device.

2. Bus Topology (Linear)

In a Bus Topology, all computers connect to a Single Central Cable (called the Backbone or Bus). Data travels along this line.

  • Advantage: Requires the least amount of cable (Cheap).
  • Disadvantage: If the main cable breaks anywhere, the entire network stops. It is also slower because only one device can transmit at a time.

3. Other Topologies

Sometimes we combine designs or need extreme reliability.

🌳 Tree Topology (Hierarchical)

It is essentially a "Star of Stars". Several Star networks are connected to a main Bus cable. This is used in large schools (e.g., each classroom is a Star, all classrooms connect to the main office).

🕸️ Mesh Topology (Most Secure)

Every computer connects to every other computer directly.
Pros: Zero data traffic issues; extremely reliable.
Cons: Most expensive; creates a huge mess of wires.

Introduction

"The Internet" and "the Web" are often used as if they mean the same thing — this topic covers exactly what each one actually is, and how they relate.

Concept

  • Internet — the vast, global network of interconnected networks (the largest WAN, from earlier in this chapter) — the physical and logical infrastructure connecting billions of devices.
  • World Wide Web (WWW) — a system of interlinked documents (web pages), accessed over the Internet using web browsers — one specific application that runs on top of the Internet's infrastructure, not the infrastructure itself.
  • Other applications also run over the same underlying Internet: email, instant messaging, video calling, and many more.

Explanation

The Internet is the road network; the Web is one specific kind of traffic that travels on it — email and video calls are other traffic on that exact same road, using the Internet's infrastructure just as much as web browsing does, but through entirely different applications and protocols. The Web became so dominant that its name gets used loosely for the Internet itself, but they are not, and were never, the same thing.

Note: The Web existing at all depends on the Internet already existing — but the Internet existed, and other applications like email already ran over it, before the Web itself was invented.

Summary

The Internet is the global network infrastructure itself; the World Wide Web is one application built on top of it — a system of interlinked documents accessed via browsers. Email, messaging, and video calling are other applications running over that same underlying Internet, not the Web itself.

1. Core Definitions

These are the foundational terms you must define accurately in the exam.

Term Definition
Internet A global network of connected computers that exchange data using standard protocols. It is the Hardware infrastructure.
WWW World Wide Web. It is a collection of information (pages) accessed via the Internet. It is the Service running on the hardware.
URL Uniform Resource Locator. The unique address of a specific webpage or file on the internet (e.g., http://www.cbse.nic.in).

2. Internet Applications

How do we use the internet in daily life?

📧 Email (Electronic Mail)

Sending messages electronically from one computer to another.
Example: Gmail, Outlook.
Key Feature: Asynchronous (You don't need to be online at the same time).

💬 Chat (Instant Messaging)

Real-time text communication between users.
Example: WhatsApp, Slack.
Key Feature: Synchronous (Happens in real-time).

📞 VoIP (Voice over IP)

Allows voice calls to be made using an internet connection instead of a phone line.
Example: Skype, Zoom, WhatsApp Call.
Key Feature: Cheaper than traditional phone calls.

🌐 The Web

Accessing information via websites.
Example: Reading news, Wikipedia, Online Shopping.

Introduction

This closing topic of the chapter covers the software you actually use to browse the Web from the last topic, and three features every modern browser has.

Concept

A web browser is the application software that requests and displays web pages — Chrome, Firefox, and Edge are common examples.

  • Settings — configurable browser preferences: default search engine, homepage, privacy controls, and more.
  • Add-ons (Extensions) — small, optional programs installed into a browser to add extra features (an ad blocker, a password manager).
  • Cookies — small pieces of data a website asks the browser to store on your device, so the site can recognise you on a later visit (staying logged in, remembering site preferences).

Explanation

Cookies exist to work around a genuine limitation: a website, on its own, has no memory of you between separate visits — a cookie is what lets it "remember" you were there before, by having your own browser store and hand back a small piece of identifying data on each new request. This convenience is also exactly why cookies are a recurring privacy topic — the same mechanism that keeps you logged in is what also lets a site (or a third party) track your visits over time.

Note: An Add-on genuinely changes what a browser can do; a Setting only changes how the browser's existing features already behave — installing an ad blocker is an Add-on; changing your default search engine is a Setting.

Summary

A web browser requests and displays web pages. Settings configure the browser's own existing behaviour; Add-ons install new features into it; Cookies let a website store small pieces of data on your device so it can recognise you across separate visits.

1. The Web Browser

A **Web Browser** is application software used to access and view websites. It translates HTML code from the server into the visual page you see.

  • Common Browsers: Google Chrome, Mozilla Firefox, Microsoft Edge, Apple Safari, Opera.
  • Core Function: It sends HTTP requests to servers and renders the response.

Common Browser Settings:

  • Home Page: The first page that loads when you open the browser (e.g., Google.com).
  • Default Search Engine: The engine used when you type a query in the address bar (e.g., switching from Bing to Google).
  • Privacy Settings: Options to block pop-ups, prevent tracking, or clear history.

2. Extensions: Add-ons vs Plug-ins

Browsers are basic out of the box. You can install extra software to give them new superpowers.

Type Description Example
Add-ons (Extensions) Programs that add new features to the browser itself. They modify the browser's behavior. AdBlocker, Grammarly, Dark Mode Reader.
Plug-ins External software used to process specific content (like video or audio) that the browser cannot read natively. Adobe Flash Player (Obsolete), PDF Viewer, Java Applets.

3. Cookies (Tracking You)

A Cookie is a small text file created by a website that is stored in the user's computer (Browser).

Why do we need Cookies?

  • Login Status: When you log into Facebook and close the tab, you stay logged in. This is because a cookie "remembers" you.
  • Preferences: Stores settings like Dark Mode or Language choice.
  • Shopping Cart: Remembers items in your Amazon cart even if you leave the page.
  • Tracking (The Bad Side): Advertisers use cookies to track which websites you visit to show you targeted ads.

Want the full course?

Unlock all chapters, video lectures, and SQL practice exercises.

Get Full Access