What a computer network is, why we build one, and how a small US defence project in 1969 grew into the Internet.
NET.01 · Introduction to Networks
Introduction to Computer Networks
12-CS12-IP
A computer network is two or more computers and devices connected together so that they can share data and resources and communicate. The connection can be wired (cables) or wireless (radio waves).
Each device on the network is a node: a computer, laptop, phone, printer or server. A host is a node that is a full computer with its own address. The path between two nodes is a link (also called the channel).
A small office network: every node connects to a switch. The router links this network to other networks, such as the Internet. The moving arrows show PC 2's data going out.
Why build a network?
Resource sharing: one printer, scanner or internet connection serves every computer.
Data sharing: files and databases kept on one server can be used by everyone allowed to.
Communication: email, chat, video calls and file transfer.
Lower cost: fewer devices and software licences are needed.
Reliability: data can be backed up on more than one computer.
Networks come in every size: two phones sharing a file over Bluetooth, a school computer lab, a bank's ATMs across a city, and the Internet, which joins millions of networks across the world. Chapter 5 sorts them into PAN, LAN, MAN and WAN.
Exam tip
Define a network in one line: "a group of interconnected computers and devices that can share data and resources". Then give one advantage, such as resource sharing, for the second mark.
NET.02 · Introduction to Networks
Evolution of Networking
12-CS
The Internet did not appear all at once. It grew in three stages: a defence research network (ARPANET), a network for universities (NSFNET), and then the worldwide, public Internet.
The three filled points are the three stages in the syllabus: ARPANET, NSFNET and the Internet.
ARPANET (Advanced Research Projects Agency Network) was started in 1969 by ARPA, part of the US Department of Defense. It first connected four computers at four universities and research centres, so researchers could share data. It was the first network to use packet switching (Chapter 2), and it is called the forerunner of the Internet. Email arrived on ARPANET in 1971, and in 1983 ARPANET switched to the TCP/IP protocols that the Internet still uses.
NSFNET (National Science Foundation Network) was set up in 1986 by the US National Science Foundation. It joined universities and supercomputer centres for academic research, and it was much faster and larger than ARPANET. It became the backbone that smaller networks connected to. ARPANET was shut down in 1990, and NSFNET was opened up to commercial use in the early 1990s.
When private and commercial networks joined the NSFNET backbone, the result was the Internet: a worldwide network of networks that all use TCP/IP. In 1991 Tim Berners-Lee's World Wide Web made it easy to use, and in India the public Internet started on 15 August 1995 through VSNL. Today no single organisation owns the Internet.
Network
Year
Set up by
Purpose
ARPANET
1969
ARPA, US Department of Defense
Share data between research computers
NSFNET
1986
National Science Foundation (USA)
Connect universities for academic research
Internet
1990s
No single owner
A public network of networks for everyone
Exam tip
Expansions are asked often: ARPANET = Advanced Research Projects Agency Network; NSFNET = National Science Foundation Network. Remember the order: ARPANET → NSFNET → Internet.
Chapter practice · NET
Check your understanding
Which of these is the main purpose of a computer network?
A network lets connected devices share data, printers, internet access and more.
Every device connected to a network, such as a PC or printer, is called a:
A node is any device on the network; the path between nodes is the link.
The first network, started in 1969 by the US Department of Defense, was:
ARPANET came first; NSFNET followed in 1986.
NSFNET was set up mainly to connect:
The National Science Foundation built it for academic research.
Your score
– / 4
Answer every question to see your score.
One-page revision
Networkconnected devices that share data and resources
Nodeany device on a network
Linkthe path between two nodes
Advantagesresource and data sharing, communication, lower cost
ARPANET · 1969US Defense; the first network
NSFNET · 1986universities and research
Internetnetwork of networks, using TCP/IP
Chapter 2 of 9 · DCOM
Data Communication
The words used for sending data from one device to another: the five parts of every communication, how a link's capacity is measured, the address every device needs, and the two ways data is switched across a network.
DCOM.01 · Data Communication
Concept of Communication
12-CS
Communication is the exchange of information between two or more parties. Data communication is the exchange of data between two or more networked devices, such as computers, phones and printers, in the form of 0s and 1s.
Data can flow in three ways, depending on who can send and when:
Mode
Data flows
Example
Simplex
One way only
Keyboard to computer; TV broadcast
Half duplex
Both ways, but one at a time
Walkie-talkie: press to talk, release to listen
Full duplex
Both ways at the same time
Mobile phone call
Note
The syllabus names only "concept of communication". Simplex, half duplex and full duplex are a common way to explain it, and the examples help with case-based questions.
Exam tip
Data communication needs at least two devices and a medium between them. A file copied from one folder to another on the same PC is not data communication.
DCOM.02 · Data Communication
Components of Data Communication
12-CS
Every data communication, from a WhatsApp message to a bank transfer, has the same five components.
The sender puts the message on the medium; the receiver takes it off. Both sides follow the same protocol, or the message can't be understood.
The communication medium is the path the message travels along. It is either wired (guided: twisted pair, coaxial, optical fibre) or wireless (unguided: radio waves, microwaves, infrared). Chapter 3 covers each one.
A protocol is a set of rules that both sender and receiver follow so that communication succeeds: how the data is formatted, how fast it is sent, how errors are found. Without a common protocol, two devices are like two people speaking different languages. Chapter 6 covers HTTP, FTP, SMTP and the others.
Exam tip
The marking scheme definition of a protocol is "a set of rules that need to be followed by the communicating devices in order to have successful and reliable data communication". Learn it word for word.
DCOM.03 · Data Communication
Measuring Capacity of Communication Media
12-CS
Some links carry far more data than others. Their capacity is measured in two related ways: bandwidth (how wide the channel is) and data transfer rate (how many bits actually go through each second). The wider the bandwidth, the higher the data transfer rate can be.
Bandwidth is the range of frequencies a channel can carry: the difference between its highest and lowest frequency. It is measured in hertz (Hz).
1 kHz = 1000 Hz, 1 MHz = 1000 kHz, 1 GHz = 1000 MHz. Example: a channel that carries 88 MHz to 108 MHz has a bandwidth of 20 MHz. Think of a road: bandwidth is how many lanes it has.
Data transfer rate is the number of bits sent per second between the sender and the receiver. It is measured in bps (bits per second), and in Kbps, Mbps, Gbps and Tbps for larger values. On the road, it is how many cars pass each second.
Notice the small b: Mbps means megabits. File sizes are in megabytes (MB), and 1 byte = 8 bits, so multiply by 8 first.
File size : 400 megabits
Time : 50.0 seconds
at 2 Mbps -> 200.0 s
at 8 Mbps -> 50.0 s
at 100 Mbps -> 4.0 s
Bandwidth
Data transfer rate
Means
Range of frequencies the channel carries
Bits actually sent each second
Unit
Hz, kHz, MHz, GHz
bps, Kbps, Mbps, Gbps, Tbps
Road picture
Number of lanes
Cars passing per second
Note
The NCERT textbook takes 1 Kbps = 2¹⁰ bps (1024 bps), 1 Mbps = 2²⁰ bps and so on. Internet companies use 1000 instead. Follow your textbook in the exam, and if a question gives the conversion, use that.
Exam tip
Units decide the answer: bandwidth → hertz, data transfer rate → bits per second. "Define bandwidth" is a frequent 1-mark question.
DCOM.04 · Data Communication
IP Address
12-CS
An IP address (Internet Protocol address) is a unique number given to every device on a network, so that data can be sent to exactly that device, just as a postal address lets a letter reach one house. It is a logical address: it can change when the device joins a different network.
IPv4 and IPv6
IPv4 addresses are 32 bits long, written as four numbers from 0 to 255 separated by dots, e.g. 192.168.1.10. Each number is one byte (8 bits), called an octet. IPv4 allows about 4.3 billion addresses (2³²), which are no longer enough, so the newer IPv6 uses 128 bits, written as eight groups of hexadecimal digits, e.g. 2001:db8:0:0:0:ff00:42:8329.
Python · an IPv4 address in binary
ip = '192.168.1.10'
parts = [int(p) for p in ip.split('.')]
print(parts)
print('.'.join(f'{p:08b}' for p in parts))
print('bits:', 8 * len(parts))
for bad in ['192.168.1.256', '10.0.5']:
nums = bad.split('.')
ok = len(nums) == 4 and all(
0 <= int(n) <= 255 for n in nums)
print(bad, '->', 'valid' if ok else 'not valid')
Output
[192, 168, 1, 10]
11000000.10101000.00000001.00001010
bits: 32
192.168.1.256 -> not valid
10.0.5 -> not valid
IP address
MAC address
What it is
Logical address given by the network
Physical address burnt into the network card (NIC) by its maker
Size
32 bits (IPv4) or 128 bits (IPv6)
48 bits, written as 6 hex pairs: 00:1A:2B:3C:4D:5E
Can it change?
Yes, on a different network
No, it stays with the card
Exam tip
Each part of an IPv4 address must be 0 to 255, and there must be four parts. So 192.168.1.256 and 10.0.5 are not valid. "Every NIC comes with its own ___ address" → physical (MAC), not IP.
DCOM.05 · Data Communication
Switching Techniques
12-CS
In a big network, A and B are not joined by one direct wire. Data passes through several switching nodes on the way. A switching technique decides how a path through these nodes is used. There are two in the syllabus.
Circuit switching reserves one whole path (thick line) before sending. Packet switching sends numbered packets that may travel different ways and arrive out of order.
In circuit switching, a dedicated path between sender and receiver is set up before communication starts, and it stays reserved until the communication ends. All the data follows that one path, in order. No one else can use the path meanwhile, even during silence. The old landline telephone network works this way: dial, the line connects, talk, hang up.
In packet switching, the message is broken into small pieces called packets. Each packet carries the destination address and a sequence number. Packets travel independently, each by whatever path is free, and may arrive out of order; the receiver puts them back in order. No path is reserved, so links are shared and used efficiently. The Internet uses packet switching.
Circuit switching
Packet switching
Path
Dedicated path set up before sending
No fixed path; each packet routed separately
Data sent as
A continuous stream
Small packets with addresses
Order
Arrives in order
May arrive out of order; reassembled
Use of the line
Wasted when idle; reserved for one user
Shared; efficient
Example
Landline telephone call
Internet, email, web
Exam tip
"Before communication starts, a dedicated path is identified between sender and receiver" → circuit switching, every time. "Differentiate" questions want two clear points: dedicated path vs none, and in-order stream vs packets.
Chapter practice · DCOM
Check your understanding
Name it
The set of rules both devices must follow to communicate.
Protocol.One of the five components of data communication.
A channel carries 2 GHz to 2.5 GHz. What is its bandwidth?
0.5 GHz = 500 MHz.Highest minus lowest frequency.
A 10 MB photo on a 4 Mbps link. How many seconds?
20 seconds.10 MB = 80 megabits; 80 ÷ 4 = 20.
Is 172.16.300.4 a valid IPv4 address?
No.300 is more than 255; each part must be 0–255.
Self-check quiz
A walkie-talkie, where only one person can talk at a time, is an example of:
Both directions, but one at a time.
Which of these is NOT one of the five components of data communication?
The five are sender, receiver, message, communication media and protocols.
Bandwidth is measured in:
Bandwidth is a range of frequencies; data transfer rate is in bps.
Mbps stands for:
The small b means bits.
An IPv4 address is how many bits long?
4 parts × 8 bits = 32. MAC is 48, IPv6 is 128.
Every network interface card (NIC) comes with its own ___ address.
The maker burns a MAC address into the card; IP addresses are given by the network.
In ___ switching, a dedicated path is identified between sender and receiver before communication starts.
Circuit switching reserves the whole path first.
Which statement about packet switching is true?
Each packet is routed on its own, so routes and arrival order can differ.
Your score
– / 8
Answer every question to see your score.
One-page revision
Simplex · half · fullone way · both, in turn · both at once
Protocolrules for successful, reliable communication
Bandwidthrange of frequencies, in Hz
Data transfer ratebits per second (bps, Mbps …)
1 byte8 bits: MB × 8 = megabits
IPv432 bits; 4 parts 0–255
IPv6128 bits; hex groups
MAC address48-bit physical address of a NIC
Circuit switchingdedicated path first; telephone
Packet switchingpackets, any path; the Internet
Chapter 3 of 9 · TMED
Transmission Media
A transmission medium is whatever carries the signal from sender to receiver. Wired (guided) media carry it along a cable. Wireless (unguided) media send it through the air as electromagnetic waves.
TMED.01 · Transmission Media
Wired Communication Media
12-CS
Wired or guided media carry the signal along a physical path. Twisted pair and coaxial cables carry electrical signals through copper; optical fibre carries light through glass.
Twisting the pair cancels outside noise; coaxial cable's metal shield blocks it; optical fibre carries light, so electrical noise can't affect it at all.
A twisted pair cable has pairs of insulated copper wires twisted round each other. The twists reduce electromagnetic interference (noise) from outside and between pairs. It is the Ethernet cable used in almost every LAN, with an RJ45 plug on each end.
UTP (Unshielded Twisted Pair): no metal shield; cheap and flexible; the usual LAN cable.
STP (Shielded Twisted Pair): each pair wrapped in foil; less noise, costs more.
Cheap and easy to install, but the signal weakens after about 100 m, so a longer run needs a repeater.
A coaxial cable has a single copper core, wrapped in insulation, then a braided metal shield, then a plastic outer jacket. The core and shield share one axis, hence "co-axial". The shield makes it far less noisy than twisted pair and lets it carry signals further at higher bandwidth. It is used for cable TV and was used in early LANs. It is thicker and costs more than twisted pair.
An optical fibre cable carries data as pulses of light through a thin glass or plastic core. The core is surrounded by cladding, which reflects the light back in (total internal reflection), so it travels many kilometres with very little loss.
Fastest and highest bandwidth of all media; works over long distances.
Not affected by electrical noise or lightning; hard to tap, so more secure.
Expensive, fragile, and difficult to install and join; needs special connectors.
Used for internet backbones, undersea cables, and links between buildings or cities.
Twisted pair
Coaxial
Optical fibre
Carries
Electrical signal (copper)
Electrical signal (copper)
Light (glass)
Speed / bandwidth
Lowest
Medium
Highest
Distance
About 100 m per run
A few hundred metres
Many kilometres
Noise
Most affected
Less, thanks to shield
Not affected
Cost, installation
Cheapest, easiest
Medium
Costliest, hardest
Used for
LANs (Ethernet)
Cable TV
Backbones, long links
Exam tip
In the case study: "economical, can compromise on speed" → twisted pair (Ethernet) cable. "Fast, very effective, between head office and campus" or "high-speed wired link" → optical fibre.
TMED.02 · Transmission Media
Wireless Media
12-CS
Wireless or unguided media send data through air or space as electromagnetic waves, with no cable. They are sorted by frequency. As frequency rises, the waves carry more data but travel less far and pass less easily through walls.
The frequency ranges follow the NCERT textbook. The highlighted band, microwaves, carries mobile and satellite links.
Radio waves (3 kHz to 1 GHz) spread out in all directions (omnidirectional), so sending and receiving antennas need not face each other. They travel long distances and pass through walls. Used for AM and FM radio, television broadcasts, cordless phones and walkie-talkies. Because anyone in range can pick them up, they are less secure.
Microwaves (1 GHz to 300 GHz) travel in a straight line in one direction (unidirectional), so the sending and receiving antennas must be in line of sight. That is why microwave antennas sit on tall towers and hilltops. They cannot pass through buildings or hills. Used for mobile phone networks, satellite communication, and long-distance links where laying cable is hard.
Infrared waves (300 GHz to 400 THz) work only over a very short distance in line of sight, and cannot pass through walls. That keeps them inside one room, which makes them secure. Used in TV and AC remote controls, and in older phones to send files to a phone held next to them.
Radio waves
Microwaves
Infrared
Frequency
3 kHz – 1 GHz
1 GHz – 300 GHz
300 GHz – 400 THz
Direction
All directions
One direction, line of sight
Line of sight
Through walls?
Yes
No
No
Range
Long
Long, tower to tower
A few metres
Examples
FM/AM radio, TV, cordless phone
Mobile phones, satellite links
Remote controls
Exam tip
"Which medium does an FM radio channel use?" → radio waves (2026 CS marking scheme). For a far-off office in a hilly area, where laying cable is hard, choose a wireless link: radio waves or microwaves.
Chapter practice · TMED
Check your understanding
Pick the medium
Connect 30 PCs in one school lab as cheaply as possible.
Twisted pair (Ethernet) cable.Cheap and easy; every run is under 100 m.
A very fast wired link between a campus and a head office 4 km away.
Optical fibre.Highest speed over kilometres, with no noise.
Changing channels on a TV from the sofa.
Infrared.Short range, line of sight, stays in the room.
Linking two hilltop offices 30 km apart with antennas facing each other.
Microwaves.Long range, but needs line of sight, hence the hilltops.
Self-check quiz
Which medium carries data as pulses of light?
Optical fibre sends light through a glass core.
Why are the wires in a twisted pair cable twisted?
Twisting cancels out noise from outside and from the other pairs.
Which wireless medium needs line of sight and is used for satellite links?
Microwaves are unidirectional and travel in a straight line.
Which wireless waves can pass through the walls of a building?
Radio waves are omnidirectional and pass through walls.
Your score
– / 4
Answer every question to see your score.
One-page revision
Guidedwired: twisted pair, coaxial, fibre
Unguidedwireless: radio, microwave, infrared
Twisted paircheap LAN cable; ~100 m; UTP / STP
Coaxialcore + shield; cable TV
Optical fibrelight; fastest; long; costly
Radio waves3 kHz–1 GHz; all directions; walls OK
Microwaves1–300 GHz; line of sight; satellite
Infrared300 GHz–400 THz; short; remotes
Chapter 4 of 9 · NDEV
Network Devices
The hardware that joins computers into a network and connects networks to each other. "Which device?" questions appear in every paper, and the case study always asks for at least one device.
NDEV.01 · Network Devices
Network Devices
12-CS12-IP
Each device has one job. Inside a building, computers plug into a switch or hub. A repeater boosts the signal on a long cable. A router or gateway connects this network to other networks, and a modem turns the data into a signal the telephone or cable line can carry.
The PC's cable ends in an RJ45 plug that goes into its Ethernet card; the laptop reaches the switch by Wi-Fi (dotted arrow). The repeater sits on the long cable to the far block.
A modem (MOdulator–DEModulator) converts the computer's digital signal into an analog signal that can travel over a telephone or cable line (modulation), and converts the analog signal arriving from the line back into digital (demodulation). It is what connects a home or office to the Internet service provider (ISP).
A hub connects several computers in a LAN. It has many ports. Data arriving on one port is copied to every other port, whoever it is meant for; each computer then checks whether the data is for it. A hub is not intelligent: it cannot read addresses. Because everything goes to everyone, a busy hub network has many collisions and slows down. An active hub also amplifies the signal; a passive hub just passes it on.
A switch also connects several computers in a LAN, but it is intelligent. It learns the MAC address of the computer on each port and sends data only to the port of the intended receiver. That cuts unnecessary traffic, avoids collisions and keeps the network fast. A switch can also divide a network into separate segments.
Same data, two devices. The hub copies A's data to every port; the switch looks up C's MAC address and sends it to C alone.
A signal grows weaker as it travels along a cable (this is called attenuation). A repeater receives the weak signal, regenerates it to full strength, and sends it on, so the network can reach further. On twisted pair cable the signal weakens after about 100 m, so a repeater is placed on any longer link.
A router connects two or more networks and forwards data packets between them. It reads each packet's destination IP address and chooses the best path to send it on, using its routing table. A home Wi-Fi router connects the home LAN to the ISP's network. Routers usually join networks that use the same protocol.
A gateway connects networks that use different protocols, translating between them, like an interpreter between two languages. It is the entry and exit point of a network: all data coming in or going out passes through it. A gateway often includes a firewall to check that traffic. Example: the device joining a company's LAN to the Internet.
An Ethernet card is a network interface card (NIC): the part inside a computer that connects it to a wired network. It has an RJ45 socket for the cable, and a unique MAC address set by its maker. Most computers have it built into the motherboard.
RJ45 (Registered Jack 45) is the 8-pin connector on each end of a twisted pair (Ethernet) cable. It clicks into the socket of an Ethernet card, switch or router. It looks like a telephone plug, but wider.
A Wi-Fi card is a wireless NIC. It lets a computer join a wireless network using radio signals, through a small antenna, instead of a cable. Laptops and phones have one built in; a desktop can use a plug-in card or a USB Wi-Fi adapter. Like an Ethernet card, it has its own MAC address.
Device
Job in one line
Smart?
Case-study clue
Modem
Digital ↔ analog over a phone or cable line
—
"converts digital signals to analog"
Hub
Joins PCs in a LAN; sends data to all ports
No
"sends to all, whoever it is for"
Switch
Joins PCs in a LAN; sends data only to the right port
Yes (MAC)
"connect computers within each block"
Repeater
Regenerates a weak signal
No
"signal strength reduces", distance > 100 m
Router
Joins networks; finds the best path
Yes (IP)
"connect to the ISP", "route packets"
Gateway
Joins networks with different protocols
Yes
"entry and exit point of a network"
Ethernet card
NIC for a wired network
—
"essential to set up a wired LAN"
RJ45
8-pin plug on an Ethernet cable
—
"Registered Jack 45"
Wi-Fi card
NIC for a wireless network
—
"connect without cables"
Exam tip
Hub vs switch is the most asked difference: similarity, both connect computers in a LAN; difference, a hub sends data to all devices, a switch only to the intended device. Router vs gateway: a router joins networks with the same protocol, a gateway joins networks with different protocols.
Note
A case study may ask for "a system (hardware or software) to prevent unauthorised access to or from the network". The answer is a firewall. It is not in the device list, but it is a common last part.
Chapter practice · NDEV
Check your understanding
Which device?
The signal from Admin to Support (140 m) gets weak on the way.
Repeater.It regenerates the signal; place it on the long link.
Connect the 40 computers inside the Sales block.
Switch (or hub). It joins computers within one LAN.
Give every computer on the campus access to the Internet from the ISP.
Router (with a modem), in the server block. It connects the campus LAN to the ISP's network.
Connect an office LAN to a network that uses a different protocol.
Gateway.It translates between different protocols.
"I convert digital data into analog signals and back again."
Modem.Modulation and demodulation.
The 8-pin plug on the end of an Ethernet cable.
RJ45 (Registered Jack 45). It plugs into the Ethernet card.
Self-check quiz
Which statement about a hub and a switch is correct?
A switch reads MAC addresses; a hub cannot.
Which device routes data packets based on their destination IP addresses?
A router reads the destination IP and picks the path.
Which device serves as the entry and exit point of a network?
The 2026 CS marking scheme answer is gateway.
Which device cannot segment a network?
A hub just repeats everything to every port.
RJ45 stands for:
Asked in the 2026 CS paper.
Which of these is essential to set up a wired LAN?
Every computer needs a network interface card to join a wired LAN.
Your score
– / 6
Answer every question to see your score.
One-page revision
Modemdigital ↔ analog; modulator–demodulator
HubLAN; sends to all ports; not smart
SwitchLAN; sends to one port by MAC
Repeaterregenerates weak signal; > 100 m
Routerjoins networks; best path by IP
Gatewaydifferent protocols; entry/exit point
Ethernet cardwired NIC with a MAC address
RJ45Registered Jack 45; 8 pins
Wi-Fi cardwireless NIC
Firewallblocks unauthorised access
Chapter 5 of 9 · TOPO
Network Types and Topologies
Networks are sorted by how far they reach (PAN, LAN, MAN, WAN) and by the shape of their wiring (bus, star, tree, mesh). Both ideas meet in the 5-mark campus case study at the end of this chapter.
TOPO.01 · Network Types and Topologies
Types of Networks
12-CS12-IP
Networks are grouped by the area they cover. From smallest to largest: PAN, LAN, MAN and WAN. As the area grows, the network costs more and is usually slower per device.
Each type fits inside the next: a PAN is part of your LAN at home or school, which connects through a MAN or WAN to the rest of the world.
A PAN connects the devices of one person, within about 10 metres: a phone paired with earbuds and a smartwatch by Bluetooth, or a laptop sharing a phone's hotspot. It can be wired (USB) or wireless (Bluetooth, Wi-Fi).
A LAN connects computers in a limited area: a room, a building, or a school, office or university campus. It is usually owned by one organisation, is fast (100 Mbps to 10 Gbps over Ethernet or Wi-Fi), and lets everyone share printers, files and one internet connection. A school computer lab is a LAN.
A MAN covers a city or town, and can extend to about 30–40 km. It is often made by joining several LANs. Examples: a city's cable TV or cable broadband network, or the offices of one company spread around the same city.
A WAN covers a very large area: across states, countries, or the world. It joins LANs and MANs using telephone lines, optical fibre or satellite links. The Internet is the largest WAN. A bank or railway network connecting branches across India is a WAN.
Type
Area
Example
Speed and cost
PAN
About 10 m, one person
Phone + earbuds by Bluetooth
Low speed, very cheap
LAN
A room, building or campus
School lab, office floor
Fastest, low cost
MAN
A city, about 30–40 km
Cable TV network, offices in one city
Slower than LAN, costs more
WAN
Countries, the world
The Internet, bank branches
Slowest per device, costliest
Exam tip
In the case study, decide by distance: blocks on one campus → LAN; offices in the same city → MAN; a head office in another city (hundreds or thousands of km away) → WAN. Always write the reason: "because the offices are 1200 km apart".
TOPO.02 · Network Types and Topologies
Network Topologies
12-CS12-IP
A network topology is the arrangement (layout) of the computers, cables and devices in a network: the shape you would see if you drew how everything is connected. The topology decides how much cable is needed, what happens when one part fails, and how easy the network is to grow.
In a bus topology, every computer is connected to one main cable, called the backbone or bus. A terminator at each end stops the signal bouncing back. Data sent by one computer travels along the backbone to all computers; only the one it is addressed to accepts it.
One shared cable. The small filled blocks at the ends are terminators.
Advantages: needs the least cable, so it is cheap; easy to install and to extend in a small network.
Disadvantages: if the backbone fails, the whole network stops; faults are hard to find; data collisions grow as more computers are added; everyone can see the data, so it is less secure.
In a star topology, every computer is connected by its own cable to a central device, a hub or switch. All data passes through the centre. This is the layout of almost every LAN today.
Each computer has its own cable to the hub or switch in the middle.
Advantages: if one computer or its cable fails, only that computer is affected; easy to find faults and to add or remove a computer; central control.
Disadvantages: needs more cable than bus; if the central hub or switch fails, the whole network stops (a single point of failure).
A tree topology (also called a hierarchical topology) arranges star networks in levels: a root hub connects to other hubs, and each of those connects to its own group of computers. It combines bus and star: the links between hubs act like a backbone, and each hub's group is a star.
Stars joined to a root hub: one level per floor or department.
Advantages: easy to expand by adding another branch; suits organisations with departments or floors; a fault in one branch does not affect the others.
Disadvantages: needs a lot of cable; if the root hub or main cable fails, the branches can no longer reach each other; harder to configure.
In a mesh topology, each computer is connected to every other computer by its own dedicated link. If one link fails, the data simply goes another way, so the network is very reliable. But the cable grows fast: n computers need n(n−1)/2 links, so 4 computers need 6 and 10 computers need 45.
4 computers → 4 × 3 ÷ 2 = 6 links. Every pair has its own direct link.
Advantages: very reliable, since there are many paths; a dedicated link for each pair makes it fast and secure; faults are easy to locate.
Disadvantages: needs the most cable and ports, so it is the costliest; hard to install and manage.
Topology
Layout
Cable
If one part fails
Bus
All on one backbone cable
Least
Backbone fails → whole network stops
Star
Each to a central hub/switch
More
One PC fails → only it; hub fails → all
Tree
Stars joined in levels
A lot
Root fails → branches cut off
Mesh
Every PC to every other
Most: n(n−1)/2 links
Data takes another path
Worked example: the campus case study
Section E always has a 5-mark question like this. Greenfield Institute has four blocks on one campus, and a head office in Delhi, 600 km away.
Block
Computers
Distance
Metres
ADMIN
30
ADMIN – LAB
60
LAB
120
ADMIN – LIBRARY
45
LIBRARY
20
ADMIN – HOSTEL
130
HOSTEL
45
LAB – LIBRARY
80
LAB – HOSTEL
110
LIBRARY – HOSTEL
95
Answer the parts in this order: each one uses the answer before it. For every part, write the answer and the reason; the reason earns half the mark.
(i) Where should the server go?
Rule: in the block with the most computers.
Why: most network traffic is between the computers and the server. With the server in the biggest block, most of that traffic stays inside one building on short cables, so the network is faster and the links between blocks carry less. If two blocks have the same number of computers, pick the one with the smaller total distance to the other blocks.
Greenfield: LAB, because it has the most computers (120).
(ii) Draw the cable layout
Rule: connect every block using the least total length of cable. A star from the server is the answer only when it happens to be the shortest.
Why: cable is paid for by the metre, every extra metre weakens the signal, and long runs need repeaters. The layout with the fewest metres that still joins every block is the most efficient and the most economical.
Method: start at the server block. At each step, look at every link from a block that is already joined to a block that is not, and add the shortest one. Never add a link between two blocks that are already joined; that only makes a loop. With 4 blocks you stop after 3 links.
The shortest layout (left) is the answer: 200 m of cable and no repeater. A star from the server (right, dashed) needs 250 m and a repeater, so it is not the best layout here.
Greenfield: LAB–ADMIN, ADMIN–LIBRARY and LIBRARY–HOSTEL, 200 m in all. A star from LAB would need 60 + 80 + 110 = 250 m.
Note
If the question asks for centralised control or management of the network, it is asking for a star with the server block at the centre. Draw the star then, and say that is why.
(iii) Which device connects the computers inside each block?
Rule: a switch (a hub is also accepted) in every block.
Why: the computers in one block form a small LAN, and they need a central device to plug into. A switch is better than a hub because it sends each packet only to the computer it is meant for.
(iv) Where is a repeater needed?
Rule: on every link in your layout that is longer than 100 m. If none is, write "not needed" and give the reason.
Why: the signal in a twisted pair (Ethernet) cable weakens after about 100 m. A repeater regenerates it. Check only the links you actually drew in part (ii), not every distance in the table.
Greenfield: not needed: the longest link in the shortest layout is 95 m. (The star would have needed one on LAB–HOSTEL, 110 m.)
(v) How do all the computers get Internet access?
Rule: a router (with a modem) in the server block.
Why: the line from the Internet service provider comes in at one place. The router there connects the campus LAN to the ISP's network and shares the connection with every block through the cables you drew.
(vi) What type of network joins the campus to the head office?
Rule: decide by the distance between the two sites: same campus → LAN; same city (up to about 40 km) → MAN; another city or country → WAN.
Greenfield: WAN, because Delhi is 600 km away.
(vii) Which transmission medium?
Rule: inside and between blocks, twisted pair (Ethernet) cable, because it is cheapest for short runs. For a fast wired link to a far office, optical fibre. Over very long distances or hilly ground, a wireless link: satellite, microwave or radio.
Other parts that come at the end
If the question asks for…
Answer
Video meeting or online classes between offices
VoIP (Voice over Internet Protocol); video conferencing
Using a computer in another office remotely
TELNET
Stopping unauthorised access to or from the network
Firewall
Sending a file between offices
FTP
Exam tip
In part (ii), write the total next to your drawing ("total 200 m, the least possible"). It shows the examiner why you chose that layout, and part (iv) follows straight from it.
Exam tip
Topology one-liners asked as MCQs: all computers on a single central cable → bus; needs a central hub or switch → star; a combination of two topologies → tree; a dedicated link between every pair → mesh. "Single point of failure" → star (the hub) or bus (the backbone).
Note
Ring topology (each computer joined to the next, in a closed loop) is not in the 2026-27 syllabus for either subject, but it still appears as a wrong option in MCQs.
Chapter practice · TOPO
Check your understanding
Case study lab
Start from one of the sample campuses, or type in the numbers from any board question with four blocks. The lab answers every part the way the worked example does, with the reason for each.
Name the type or topology
A company's offices in Pune and Dubai are connected.
WAN.Different countries, thousands of km apart.
Your phone, smartwatch and earbuds connected by Bluetooth.
PAN.One person's devices, within about 10 m.
The university wants centralised network management for all its blocks.
Star topology, with the server block at the centre. Everything passes through one central point.
How many links does a mesh of 6 computers need?
15.6 × 5 ÷ 2 = 15.
Self-check quiz
A network covering one school campus is a:
A building or campus is a local area.
A city's cable TV network is an example of a:
It covers a city.
In which topology are all computers connected to a single central cable?
The single cable is the backbone.
In which topology does the failure of one computer not affect the others, but the failure of the centre stops everything?
Each PC has its own cable; the hub is the single point of failure.
Which topology is a combination of two other topologies?
Tree combines bus and star.
Which topology gives a dedicated point-to-point link between every pair of computers?
Mesh: every node is linked to every other.
Your score
– / 6
Answer every question to see your score.
One-page revision
PANone person; ~10 m; Bluetooth
LANbuilding or campus; fastest
MANa city; 30–40 km
WANcountries; the Internet
Topologylayout of nodes and links
Busone backbone; least cable
Starcentral hub/switch; most used
Treestars in levels; bus + star
Meshevery pair linked; n(n−1)/2
Serverblock with most computers
Cable layoutleast total cable; n blocks → n−1 links
Repeateron a drawn link over 100 m
Chapter 6 of 9 · PROT
Network Protocols
A protocol is a set of rules that communicating devices follow so that data is sent successfully and reliably. Each job on a network has its own protocol: one for web pages, one for files, two for email, one for remote login, one for voice calls.
PROT.01 · Network Protocols
Network Protocols
12-CS
Nine protocols are in the syllabus. For each, learn its full form and its one job: papers ask "expand", "which protocol is used to …", and the last part of the case study ("which protocol for the video meeting / remote access?").
HTTP (HyperText Transfer Protocol) is the protocol a web browser and a web server use to exchange web pages. The browser sends a request ("GET /index.html"), and the server sends back a response with the page. It is used every time you open a website.
The browser always asks first; the server only answers. Each image on the page is a separate request.
HTTPS (HyperText Transfer Protocol Secure) is HTTP with encryption (using SSL/TLS). Data between browser and server is scrambled, so passwords and card numbers can't be read if someone intercepts them. Browsers show a padlock for HTTPS sites. Use it for banking, shopping and anything with a login.
With HTTPS the page and anything you type (passwords, card numbers) travel encrypted, so an eavesdropper can't read them.
FTP (File Transfer Protocol) is used to transfer files between a client and a server: uploading a website's files to its web server, or downloading large files. It works with any type of file. Plain FTP is not encrypted; secure versions (SFTP, FTPS) are used when safety matters.
FTP moves whole files in either direction. Web developers use it to upload a site's files to its web server.
SMTP (Simple Mail Transfer Protocol) is used to send email: from your email app to your mail server, and from one mail server to another. It only pushes mail out; it does not fetch mail.
SMTP carries the mail as far as the receiver's mail server. Fetching it onto the receiver's device is POP3's job.
POP3 (Post Office Protocol version 3) is used to receive email: it downloads messages from the mail server to your device, usually removing them from the server, so they can be read offline.
POP3 pulls mail down from the server to one device, where it can be read without the Internet.
TCP/IP (Transmission Control Protocol / Internet Protocol) is the basic pair of protocols of the Internet. They split the work:
TCP breaks the message into packets, numbers them, checks that every packet arrived without errors, asks again for any lost ones, and puts them back in order at the receiver.
IP puts the source and destination IP address on each packet and handles addressing and routing, so each packet finds its way across the networks.
TCP makes delivery reliable (numbering, checking, resending lost packets); IP gets each packet to the right address.
PPP (Point-to-Point Protocol) makes a direct connection between two nodes, for example between a home computer and the ISP over a telephone line, or between two routers. It also checks who is connecting (authentication) and can compress and check the data.
Point-to-point means exactly two ends and nobody else on the link, for example a computer dialling in to its ISP.
TELNET (Teletype Network) is used for remote login: you log in to another computer over the network and type commands on it as if you were sitting in front of it. An IT team can use it to fix a computer in another city. Telnet sends everything, even passwords, as plain text, so today the encrypted SSH is preferred.
Remote login: the keyboard is yours, but the commands run on the other computer.
VoIP (Voice over Internet Protocol) carries voice and video calls over the Internet instead of telephone lines. Your voice is turned into digital packets, sent over the network, and turned back into sound at the other end. WhatsApp calls and video conferencing apps use it. It is cheap, even for international calls, but needs a steady internet connection.
The same happens in the other direction at the same time, which is why a VoIP call feels like a phone call.
Protocol
Full form
Used for
HTTP
HyperText Transfer Protocol
Web pages between browser and server
HTTPS
HyperText Transfer Protocol Secure
Web pages, encrypted
FTP
File Transfer Protocol
Uploading and downloading files
SMTP
Simple Mail Transfer Protocol
Sending email
POP3
Post Office Protocol 3
Receiving (downloading) email
TCP/IP
Transmission Control Protocol / Internet Protocol
Packets: delivery (TCP), addressing and routing (IP)
PPP
Point-to-Point Protocol
A direct link between two nodes
TELNET
Teletype Network
Remote login to another computer
VoIP
Voice over Internet Protocol
Voice and video calls over the Internet
Exam tip
Case-study protocol parts: "remote access to a computer in another city" → TELNET; "face-to-face / audio-visual meeting" → VoIP (write the full name for the full mark); "send mail" → SMTP, "retrieve mail" → POP3; "transmit hypertext" → HTTP (HTTPS also accepted).
Chapter practice · PROT
Check your understanding
Which protocol?
Your IT head wants to log in to your office laptop from another city to fix it.
TELNET.Remote login.
Upload the files of a new website to the web server.
FTP.File transfer between client and server.
A video meeting between the Mumbai and Delhi offices.
VoIP, Voice over Internet Protocol. Voice and video over the Internet.
Your email app downloads new mail from the server.
POP3.SMTP sends; POP3 receives.
Self-check quiz
Which protocol is used to send mail from the client to the mail server?
Simple Mail Transfer Protocol sends mail.
___ is a protocol used for retrieving emails from a mail server.
Post Office Protocol 3 downloads mail.
Which protocol is used by a web browser and web server to exchange web pages?
HTML is a language, not a protocol.
Which part of TCP/IP handles addressing and routing of packets?
IP addresses and routes; TCP makes delivery reliable.
Which protocol encrypts web pages between browser and server?
The S stands for Secure.
VoIP stands for:
Voice over Internet Protocol.
Your score
– / 6
Answer every question to see your score.
One-page revision
HTTPweb pages; request → response
HTTPSHTTP + encryption; padlock
FTPfile transfer
SMTPsend email
POP3receive (download) email
TCPpackets in order, no loss
IPaddressing and routing
PPPdirect link between two nodes
TELNETremote login
VoIPvoice/video calls over the Internet
Chapter 7 of 9 · WEB
Internet and the Web
The Internet is the network; the World Wide Web is one service that runs on it. This chapter covers both, how a name like www.cbse.gov.in finds its server, what we use the Internet for, and the languages web pages are written in.
WEB.01 · Internet and the Web
Introduction to Internet
12-IP
The Internet is a worldwide network of networks: millions of private, public, school, business and government networks joined together. Every device on it follows the same TCP/IP protocols and has an IP address, so any device can reach any other. No single company or country owns it.
You reach the Internet through an ISP (Internet Service Provider), a company that sells access, over a phone line, cable, optical fibre or mobile network.
It started as ARPANET in 1969 for US defence research; the public Internet reached India in 1995.
Services that run on it include the World Wide Web, email, chat, video calls, file transfer and online games.
Internet
World Wide Web
What it is
The network: hardware, cables, devices
A service on it: linked web pages
Started
1969 (ARPANET)
1989–91 (Tim Berners-Lee)
Uses
TCP/IP
HTTP, HTML, URLs
Exam tip
The Internet and the Web are not the same. Email and VoIP calls use the Internet but are not part of the Web.
WEB.02 · Internet and the Web
WWW
12-CS12-IP
The World Wide Web (WWW, or simply the web) is a huge collection of web pages, stored on web servers around the world, that are linked to each other by hyperlinks and opened through the Internet in a web browser. Clicking a link on one page takes you to another page, perhaps on a server in another country.
It was invented by Tim Berners-Lee at CERN (Switzerland), who proposed it in 1989; the web became public in 1991. He built its three basic parts:
HTML: the language web pages are written in.
URL: the unique address of each page.
HTTP: the protocol that carries pages from server to browser.
Hypertext is text containing links to other text. A page with hypertext, images, audio and video is hypermedia.
Exam tip
"Who invented the WWW?" → Tim Berners-Lee, 1989, at CERN. Not the inventor of the Internet: the web came twenty years after ARPANET.
WEB.03 · Internet and the Web
Domain Names and URL
12-CS12-IP
Computers find each other by IP address, but people remember names. So every website has a name, such as www.cbse.gov.in, and the DNS (Domain Name System) turns that name into the server's IP address. A URL adds to the name the protocol and the exact page you want.
The browser first asks DNS for the address (steps 1–2), then asks that server for the page (3–4). 203.0.113.7 is an example address used for teaching, not the board's real one.
A domain name is the human-friendly name of a website, used in place of its IP address. It is read right to left, from the most general part to the most specific, with the parts separated by dots.
The last part is the top-level domain (TLD). Here it is a country code; in google.com it is a generic one.
Domain names are bought from a domain registrar for a yearly fee, and each name is unique. Domain name vs IP address: the domain name is for people (www.cbse.gov.in); the IP address is the number computers actually use (like 203.0.113.7), and DNS maps one to the other.
A URL (Uniform Resource Locator) is the complete, unique address of a resource (a page, image or file) on the web. You type it into the browser's address bar. It has three main parts:
Protocol + domain name + path. If the path is left out, the server sends its home page.
URL vs domain name: the domain name (www.cbse.gov.in) names only the server; the URL (https://www.cbse.gov.in/index.html) also gives the protocol and the exact page, so a URL contains a domain name.
Exam tip
"Identify the protocol in https://www.cbse.nic.in/index.html" → HTTPS. "Primary purpose of DNS?" → translate domain names into IP addresses. URL = Uniform Resource Locator, not "Universal".
WEB.04 · Internet and the Web
Applications of Internet
12-IP
The Internet carries many services. The syllabus names four of them.
The World Wide Web lets you open linked web pages in a browser: reading news, searching, studying online, shopping, booking tickets, filling exam forms, internet banking. It is the most used application.
Email (electronic mail) sends messages, with files as attachments, to one or many people. An email address has two parts joined by @: riya.sharma@example.com is the user name, then the mail server's domain. A message has To, Cc (copy, visible to all), Bcc (hidden copy), Subject and body. It is not instant: the receiver reads it when they choose.
Chat is real-time text conversation between two or more people who are online at the same time, also called instant messaging. Messages appear at once, and many apps also share photos and voice notes. Examples: WhatsApp, Telegram, Google Chat.
VoIP (Voice over Internet Protocol) makes voice and video calls over the Internet instead of the telephone network. Voice is turned into digital packets and sent like any other data. It is much cheaper than ordinary calls, especially to other countries, and is the basis of video conferencing. It needs a good internet connection; with a weak one, the call breaks up.
Application
Real time?
Best for
Web
—
Reading and finding information, online services
Email
No
Formal messages and attachments
Chat
Yes, text
Quick conversations
VoIP
Yes, voice/video
Calls and video meetings
Exam tip
"Live visual communication between two offices" → video conferencing using VoIP, not email or instant messaging.
WEB.05 · Internet and the Web
Markup Languages
12-CS
A markup language adds tags to text to describe its structure or meaning, such as <b> or <name>. It is not a programming language: it has no loops or calculations.
HTML (HyperText Markup Language) is the language of web pages. Its tags are predefined, and they tell the browser how to display content: a heading, a paragraph, a link, an image. Most tags come in pairs, an opening <p> and a closing </p>. HTML is not case-sensitive.
XML (eXtensible Markup Language) is used to store and transport data, not to display it. You make up your own tags to describe the data, such as <student> and <marks>. XML is strict: it is case-sensitive, every tag must be closed, and tags must be nested properly. Because it is plain text, any program on any computer can read it.
Python · read data stored as XML
import xml.etree.ElementTree as ET
data = '''<school>
<student roll="1"><name>Riya</name>
<marks>91</marks></student>
<student roll="2"><name>Aman</name>
<marks>78</marks></student>
</school>'''
root = ET.fromstring(data)
for s in root.findall('student'):
print(s.get('roll'), s.find('name').text,
s.find('marks').text)
Output
1 Riya 91
2 Aman 78
HTML
XML
Full form
HyperText Markup Language
eXtensible Markup Language
Purpose
Display data (how it looks)
Store and carry data (what it is)
Tags
Predefined
User-defined
Case
Not case-sensitive
Case-sensitive
Closing tags
Some can be left out (e.g. <br>)
Every tag must be closed
Exam tip
"User-defined tags can be created in ___" → XML. "Differentiate HTML and XML" wants: predefined vs user-defined tags, and display vs store/transport data. XML does not style data.
Chapter practice · WEB
Check your understanding
Take the URL apart
In http://www.ncert.nic.in/textbook.html, what is the protocol?
HTTP.The part before ://.
In the same URL, what is the domain name?
www.ncert.nic.inBetween :// and the next /.
Which part of www.example.co.uk is the top-level domain?
.ukThe last part: the country code for the United Kingdom.
You type a website's name. What turns it into an IP address?
DNS, the Domain Name System. It looks up the name and returns the server's IP.
Self-check quiz
The Internet is best described as:
The web pages are the WWW; the Internet is the network that carries them.
The World Wide Web was invented by:
At CERN, proposed in 1989.
URL stands for:
Uniform Resource Locator.
What is the primary purpose of DNS?
DNS maps names to IP addresses.
Which of these is a country-specific domain?
.in is India's country code.
Which application lets two people exchange text messages in real time?
Chat is instant; email is not.
Video conferencing between two offices uses:
Voice and video over the Internet: VoIP.
User-defined tags can be created in:
XML is extensible: you make up the tags.
Your score
– / 8
Answer every question to see your score.
One-page revision
Internetnetwork of networks; TCP/IP; via an ISP
WWWlinked web pages; Berners-Lee, 1989
Hyperlinkclick to jump to another page
DNSdomain name → IP address
Domain namewww.cbse.gov.in; read right to left
TLDgeneric .com .org; country .in .uk
URLprotocol + domain + path
Email · chatnot instant · instant
VoIPcalls and video over the Internet
HTMLpredefined tags; display
XMLuser-defined tags; store and carry
Chapter 8 of 9 · SITE
Websites
What a website is, how it differs from a single web page, how pages can be fixed or built fresh for each visitor, and where a website actually lives so that the whole world can open it.
SITE.01 · Websites
Website and Webpage
12-CS12-IP
A web page is a single document on the web, written in HTML, that can contain text, images, audio, video and links. It has its own URL and is opened in a web browser.
A website is a collection of related web pages, linked to each other, stored on a web server and reached through one domain name. The first page you see is the home page; its links lead to the other pages. www.cbse.gov.in is a website; its results page and its circulars page are web pages in it.
Websites have many purposes: information (a school or government site), e-commerce (shopping), education, news, social media, entertainment, and banking.
Difference between a website and a web page #difference
Web page
Website
What it is
One single document
A collection of related, linked web pages
Address
Its own URL, e.g. …/results.html
One domain name, e.g. www.cbse.gov.in
Analogy
A page of a book
The whole book
Contains
Text, images, links
Web pages, with a home page
Exam tip
One line each: a web page is a single document; a website is a collection of related web pages under one domain. The book analogy makes a good example.
SITE.02 · Websites
Static and Dynamic Web Page
12-IP
A static web page is stored as a finished file and shows the same content to every visitor until someone edits the file. A dynamic web page is built at the moment you ask for it by a program on the server, often using a database, so its content can be different for each visitor and each time.
Static: the server hands over a file as it is. Dynamic: the server runs a program, which fetches data from a database and builds the page for you.
Static web page
Dynamic web page
Content
Fixed; same for every visitor
Changes with the visitor, time or data
Made with
HTML, CSS (sometimes JavaScript)
Server-side programs (PHP, Python, ASP, JSP) and a database
To change it
Edit the file by hand
Changes automatically when the data changes
Speed and cost
Fast to load; cheap to build and host
Slower; costlier and harder to build
Examples
A company's "About us" page, a contact page
Online shopping, social media feed, train ticket status, exam results
Exam tip
"Which is best served by a static website?" → the page that rarely changes (company information). A blog with frequent updates, a shopping cart or a social network needs dynamic pages.
SITE.03 · Websites
Web Server and Hosting
12-CS12-IP
A website's files have to live on a computer that is always on and always connected to the Internet. That computer is a web server, and renting space on one is web hosting.
Requests from browsers anywhere reach the web server in the hosting company's data centre, and it sends the pages back.
A web server is a computer, with web server software, that stores websites and sends web pages to browsers when they ask. It receives the browser's HTTP request, finds the page (or builds it, for a dynamic page), and sends it back as the HTTP response. Common web server software: Apache, Nginx, Microsoft IIS.
Web server vs web browser: the server stores and sends pages; the browser, on your device, requests and displays them.
Web hosting is a service that puts a website on the Internet: a hosting company rents you space on its web servers, which stay online 24 hours a day with fast connections, security and backups. Without hosting, a website on your own computer could be seen only by you.
Register a domain name (e.g. myschool.in) with a domain registrar.
Choose a hosting plan: shared (many sites on one server, cheapest), dedicated (a whole server for you), or cloud hosting.
Upload the website's files to the server, often by FTP.
Point the domain to the server's IP address in DNS, so typing the name opens the site.
Exam tip
"___ is a service that allows you to put a website or web page on the Internet" → web hosting (not web server or DNS). For "Rohan has written a website; how will others see it?", explain both: hosting rents space on a web server, which sends the pages to visitors' browsers.
Chapter practice · SITE
Check your understanding
Static or dynamic?
A school's "Contact us" page with its address and phone number.
Static.It rarely changes and is the same for everyone.
A page showing the items in your online shopping cart.
Dynamic.Built for each user from a database.
The CBSE result page after you enter your roll number.
Dynamic.The server looks up your marks and builds the page.
A page with a poem that never changes.
Static.A plain HTML file is enough.
Self-check quiz
A collection of related, linked web pages under one domain name is a:
A website is many web pages.
The first page of a website is called its:
It links to all the other pages.
Which of these is best served by a static website?
Content that rarely changes doesn't need a server program.
Dynamic web pages are usually built using:
For example PHP or Python on the server, with a database.
___ is a service that allows you to put a website on the Internet.
Hosting rents you space on an always-on web server.
Which of these is web server software?
Chrome and Firefox are browsers.
Your score
– / 6
Answer every question to see your score.
One-page revision
Web pageone HTML document with its own URL
Websiterelated pages under one domain
Home pagethe first page of a website
Static pagefixed; same for all; HTML/CSS
Dynamic pagebuilt on request; program + database
Web serverstores and sends pages; Apache, Nginx
Web hostingrented space on an always-on server
Hosting stepsdomain → plan → upload → point DNS
Chapter 9 of 9 · BRW
Web Browsers
The program you use to open the web, the common ones, the settings worth knowing, the small programs that add to it, and the cookies websites leave behind.
A web browser is application software used to find, open and display web pages. You type a URL in its address bar; the browser asks DNS for the address, requests the page from the web server by HTTP, reads the HTML and shows the finished page with its text, images and video.
Address bar for typing URLs or searches; Back, Forward and Reload buttons.
Tabs to keep several pages open; bookmarks (favourites) to save pages; history of pages visited.
Downloads of files; a private (incognito) window that keeps no history or cookies after you close it.
History: the first browser, WorldWideWeb, was written by Tim Berners-Lee in 1990. Mosaic (1993) was the first popular browser to show pictures alongside text, and it led to Netscape Navigator.
Exam tip
"Software used to view web pages" → web browser. Don't confuse it with a search engine (Google Search, Bing), which is a website for finding pages, opened inside a browser.
BRW.02 · Web Browsers
Browser Settings
12-IP
Every browser has a Settings page (in Chrome and Edge, the ⋮ or … menu → Settings; in Firefox, ☰ → Settings) where you can change how it looks and behaves, and, most importantly, how it protects your privacy.
Setting
What it lets you do
On start-up / home page
Choose which page opens when the browser starts
Default search engine
Choose which search engine the address bar uses (Google, Bing, DuckDuckGo …)
Privacy and security
Clear browsing data (history, cookies, cache); block third-party cookies; turn on safe browsing to warn about harmful sites
Site permissions
Allow or block camera, microphone, location, notifications and pop-ups for each site
Passwords and autofill
Save or stop saving passwords, addresses and payment details
Downloads
Choose the folder downloads go to, or ask every time
Appearance and language
Theme, font size, zoom, and the language of the browser
Extensions
Turn add-ons on or off, or remove them (next topic)
Note
Settings are per browser and per device: changing Chrome on your phone does not change Chrome on the school computer, unless you sign in and sync.
Exam tip
Settings that protect privacy are the ones most often asked: clear browsing history and cookies, block third-party cookies, turn off location for sites that don't need it, and use a private/incognito window on shared computers.
BRW.03 · Web Browsers
Add-ons and Plug-ins
12-IP
A browser can be given extra abilities with small pieces of software. The syllabus names two kinds.
An add-on (also called an extension) adds a new feature to the browser itself: an ad blocker, a dictionary, a grammar checker, a password manager, a screenshot tool. It usually puts a small icon beside the address bar, and you install it from the browser's store (Chrome Web Store, Firefox Add-ons).
A plug-in lets the browser show or play a particular kind of content inside a web page that it couldn't handle on its own, such as Adobe Flash animations, Java applets or a PDF viewer. Modern browsers now have most of this built in, and Flash ended in 2020.
Add-on / extension
Plug-in
Changes
The browser: adds a feature
What content a page can show
Works on
Every page, or when you click it
Only pages with that content
Examples
Ad blocker, dictionary, grammar checker
Flash Player, Java, PDF viewer
Exam tip
Install add-ons only from the browser's official store: a harmful add-on can read everything you type. Remove ones you don't use from Settings → Extensions.
BRW.04 · Web Browsers
Cookies
12-IP
A cookie is a small text file that a website stores on your computer, through your browser, to remember information about you. The next time you visit, the browser sends the cookie back, so the site recognises you.
The cookie travels with every later request to the same site, which is how a site remembers you between visits.
Uses: keeping you logged in, remembering the items in a shopping cart, saving your language or theme, and counting visitors.
First-party cookies are set by the site you are visiting. Third-party cookies are set by other companies, usually advertisers, embedded in the page; they track you across many sites to show targeted ads.
Risks: cookies can track your browsing (a privacy risk), and a stolen login cookie can let someone into your account. A cookie is plain data, not a program, so it cannot run or spread like a virus.
Control: in browser settings you can block third-party cookies, delete all cookies, or use a private window, which deletes them when it closes.
Exam tip
"A website saved small text files to remember her preferences and session" → cookies (not plug-ins or add-ons). "What are cookies? Give one use" → small text files stored by a website through the browser; used to remember login or cart items.
Chapter practice · BRW
Check your understanding
Add-on, plug-in or cookie?
You install a small tool that blocks ads on every site you visit.
Add-on (extension).It adds a feature to the browser.
An old site asks you to install Flash Player to watch its animation.
Plug-in.It lets the browser play one type of content.
You return to a shopping site and your cart still has 3 items.
Cookie.The site stored your cart in a cookie last time.
On a library computer, you want no history or cookies left after you finish.
Private (incognito) window.Or clear browsing data in settings.
Self-check quiz
Software used to view web pages is known as a:
A browser requests and displays pages.
Which of these is NOT a web browser?
Apache is web server software.
Where would you turn off a site's access to your location?
Site permissions control camera, microphone, location and more.
A small program that adds a feature, such as a dictionary, to the browser is a:
Add-ons (extensions) change the browser; plug-ins handle content types.
A website stores your browsing activity and preferences through:
Cookies are small text files kept by your browser.