Communication
1. Networking Basics
Networking: the exchange of information and ideas among people with a common profession or special interest.
(teacher: just like making contacts — two teachers with the same field talk so both benefit.)
Internet: a global network providing communication facilities.
Network: when two or more systems are connected through wire or wireless.
Advantages of using a network
| Advantage | What it means |
|---|---|
| File sharing | users can share files with other users |
| Hardware sharing | users can share hardware such as printers (send a print job to a colleague's printer) |
| Software sharing | users can share software applications (e.g. online Word, synced) |
| Communication | users can send mail or chat (chat, video call) |
Disadvantages of using a network
| Disadvantage | What it means |
|---|---|
| Cost | additional equipment would be required (switch, router, wires, modem…) |
| Management | network requires management from technical staff (salaries = extra cost) |
| Malware | virus can easily spread through an improperly secured network (infected email file; use a firewall) |
| Hacking | once a device is connected to another device, it is easier to hack |
2. Types of Network — LAN & WAN
LAN — a network connecting computers in a single room, in a single building (house, office…).
WAN — a network connecting computers on different sites, possibly thousands of kilometres apart.
3. Client–Server Model & Peer-to-Peer
A network can be designed in two different ways (= the architecture of the network): ① Client–Server model ② Peer-to-Peer (P2P)
Server: a computer or system that provides resources, data to other computers known as clients.
- A server is a very high-processing computer (several CPUs, huge storage, own OS e.g. Linux / Windows Server) built not to crash when many clients ask at once — it is not just a storage device.
- Client–server: all data sits on the server. Client requests → server accepts → sends data back. Clients are not interconnected; client→client data goes via the server.
| e.g. Server | stores / does |
|---|---|
| File server | stores files |
| Print server | handles printing jobs / print files |
| Proxy server | internet data passes through it first before reaching your PC (security) |
| Web server | websites are stored here |
| Application server | app data / software |
Past-paper style questions — Client–Server
What is meant by a client–server model of networked computers?
Write all three — it is a 2-mark question.
Downloading a file from a website is an example of a client–server application. What is meant by client–server?
A bank has a client–server model. Describe, using the bank as an example, the key features.
How does the client–server model enable employees to access the same files from different computers?
Benefits of client–server
- Files and resources are centralised (controlled by the organisation — server owner decides who gets what data)
- Creation / management of security (data on one secure high-end computer; a virus file sent by a client goes to the server first and can be caught)
- Centralised backup (process of replicating data to the server — if a PC breaks the data is safe)
- Internet monitoring (organisation can block YouTube / USB etc.)
- Clients can be less powerful machines, therefore less expensive to buy
- Saving resources on the server reduces the burden on the client
Peer-to-peer (P2P)
Benefits of P2P
- It avoids congestion when more clients are simultaneously requesting to download a file (result day: everyone hits one server → crash!)
- It allows the user to download different parts of files separately
- The parts are available from more than one host
Drawbacks of P2P
- Reduced security — each computer is at risk from viruses from other computers (to send directly you must know each other's IP → anyone can reach anyone; that's why torrents get blocked / VPN used)
- No central management of backup — if the data from one computer is not backed up it is lost to all of them
- No central management of files — consistency may be difficult to maintain
- Individual computers may respond slower because they are being accessed by other computers
4. Sub-networks
A big organisation (e.g. Sales dept + Development dept in one building) splits its LAN into smaller sub-networks joined by a router — each has its own switch and PCs. The reasons & the subnet mask are in section 15.
5. Thin Client & Thick Client
Thin client: a device or software which is heavily dependent on having access to a server. A thin client will not work unless it is connected at all times to the server. e.g. web browser (no internet / server down = useless). Online games like PUBG / Fortnite also behave as thin clients — character freezes if net is lost.
Thick client: can either be a device or software that can also work offline. It is still able to do some processing whether it is connected to a server or not. e.g. laptop (a downloaded game like Subway Surfers works offline too).
Thick client — advantages & disadvantages
| Advantages | Disadvantages |
|---|---|
| more robust — device can carry out processing even when not connected to server | less secure — relies on the client to keep their own data secure |
| better uptime | each client needs to update data and software individually |
| reduce server demand (less load → server less likely to crash) | data integrity issues — many clients access the same data ⇒ inconsistent data |
| clients have more control |
Thin client — advantages & disadvantages
| Advantages | Disadvantages |
|---|---|
| less expensive to expand — low-powered, cheap devices can be used (data is on the server) | dependent on the server — if the server goes down the device cannot work |
| data updates & new software installation done centrally on the server | more downtime |
| more secure — server offers protection against hacking and malware |
Difference between thin client and thick client
| Thin client | Thick client |
|---|---|
| relies on the server | can work without the server |
| relies on faster internet (must stay connected) | can work on a slow network connection |
| requires few local resources (SSD, HDD, RAM) — processing is on the server | relies heavily on local resources |
| data stored on the server | data stored on the device itself |
6. Network Topologies
Types in the syllabus: Bus · Star · Mesh · Hybrid (ring exists but is not in the syllabus). For each one learn: ① advantages ② disadvantages ③ how packets travel ④ where it is used.
A. Bus topology
Bus: uses a single central cable to which all computers and devices are connected. (a terminator sits at each end of the cable and stops the signal.)
Advantages
- easier to set up / extend (just connect one more device to the cable)
- less cable required
- less expensive
Disadvantages
- if the main cable breaks, the network degrades badly (no device works)
- difficult to detect / troubleshoot a fault at an individual station (check PCs one by one)
- efficiency reduces as devices increase (rope with more and more shirts)
- collisions — not suitable for heavy traffic
- security is lower — several computers receive the signal sent from the source
e.g. A → F: B, C, D, E each compare the address, no match, ignore; F matches ⇒ delivered.
Careful: two PCs joined directly by an Ethernet cable is not a bus topology.
Draw one single cable with a terminator (T) at each end; connect the router, server, computer A, B and C to that same cable.
B. Star topology
Star: every computer is linked with a central device. The central device can be a switch, hub, server or central computer — computers are not directly interconnected.
Advantages
- signals only go to the destination ⇒ secure
- easy to connect / remove a node (one link to the centre)
- centralised management helps in monitoring the network
- failure of one node or link doesn't affect the rest
- fewer collisions (each device has its own line)
Disadvantages
- if the central device fails, the whole network goes down
- performance depends on the capacity of the central device (data-transfer rate)
Server room has the server + printer; the department has three employees, each with a computer, all on a star network.
C. Mesh topology
Mesh: all the devices are interconnected to each other. (there is no central device; a server here would just be one more node linked to every device.)
Advantages
- any broken link in the network does not affect the other nodes (many alternative routes)
- good privacy and security since packets travel along dedicated routes
Disadvantages
- a large amount of cabling is needed — expensive and time-consuming
- set-up and maintenance is difficult and complex (expanding means a new cable to every device)
D. Hybrid topology
Hybrid: a combination of two or more topologies (e.g. a bus backbone with star clusters). Little detail needed — "star + bus mixed".
Advantages
- highly reliable — in case of failure there are many sub-networks
- easy to troubleshoot and fix errors
Disadvantages
- cost — expensive to set up
- difficult to manage
- complex network
Where used: a large organisation with different topologies in each building.
| Topology | Key idea | Biggest plus | Biggest minus | Used in |
|---|---|---|---|---|
| Bus | one cable | cheap, easy | cable breaks / collisions | small, temporary |
| Star | central device | secure, fewer collisions | centre fails = all down | schools, offices, homes |
| Mesh | all linked to all | reliable, private | cabling cost | military, emergency |
| Hybrid | 2+ types mixed | reliable | costly, complex | big organisations |
7. Cloud Computing
What is the cloud? A big building which contains servers (a data centre) — owned by a company; you rent space and power on it.
Before: even big firms (YouTube, Microsoft) built their own servers in their own buildings. A small business can't afford a server room, expensive hardware, maintenance staff & programming skills — cloud solves that.
Advantages of cloud computing
- files can be accessed any time, from any device, anywhere in the world with internet
- no need to carry an external storage device
- cloud storage can be free (e.g. first 15 GB)
- most providers have inbuilt backup
- security could be better
- can easily increase capacity (scalability)
- data can be easily shared
Disadvantages
- can only access the cloud with internet access
- no control over security
- can take a long time to upload / download the data
- can be more expensive in the long term ($5/month for years vs one-time own server)
- there could be a limit to the amount of storage unless paid for
| Private cloud | Public cloud |
|---|---|
| owned by and only accessed by an organisation e.g. YouTube / Facebook / Amazon own servers | owned by a cloud service provider e.g. AWS, Microsoft OneDrive, IBM |
| Application: highly regulated industries and government agencies (data stays secure) | Application: for general use (normal file storage / data access) |
8. Transmission Media
Data can travel in two ways: wireless or wired. Questions are almost always a comparison — wireless vs wired.
Benefits of wireless (vs wired)
- devices can be more mobile — not tied to a cable (carry the laptop to any room)
- easier to set up — no cables to be installed
- additional devices can easily be added (just open WiFi settings)
- many different types of device can be connected at the same time (laptop, mobile, iPad, console)
Drawbacks of wireless (vs wired)
- easier to hack — no dedicated channel; packets travel through the air
- interference (microwave oven, magnetic fields)
- signal degrades quickly (weaker / fluctuating, not stable)
Wired media
Two options: ① Copper cable (twisted pair & coaxial) ② Fibre-optic cable
| Cable | What it is |
|---|---|
| Twisted pair | a copper cable used for connecting telephones to telephone lines — one cable with four twisted pairs (this is the Ethernet / PTCL cable used for the net) |
| Coaxial | a copper cable, used in long-distance telephone cabling and by cable television companies (PTCL TV) |
| Fibre optic | light is transferred using the concept of total internal reflection |
Fibre-optic vs copper — benefits & drawbacks
| Benefits | Drawbacks | |
|---|---|---|
| Fibre optic | • less interference (light is not affected by magnetic fields) • greater bandwidth ⇒ faster transmission (bandwidth = rate of data transfer) • difficult to hack ⇒ more secure • requires less signal boosting (1–2 repeaters vs ~15–20 for copper) • consumes less power • lighter in weight (easier to install) |
• installation cost is high • trained people required to maintain & install • breaks when bent (tiny wires) • only transfers data in one direction (a 2nd fibre is needed to receive) • does not carry power, only data • difficult to terminate |
| Copper | • installation cost is low • more flexible • easier to terminate (just unplug) • vast knowledge as it has been around for years |
• less bandwidth rate • needs repeaters (signal degrades) • higher interference (magnetic influence) |
Wireless media — electromagnetic waves
| Wave | Frequency range | Used in |
|---|---|---|
| Radio waves | 3 kHz – 3 GHz | WiFi — carry data back and forth between the wireless adapter and the router |
| Microwaves | 3 GHz – 300 GHz | WiFi / TV signals (board: "TV and MRI") |
| Infrared | 300 GHz – 400 THz | TV remote, automatic doors, escalators |
Satellites: the Earth is curved and signals travel in straight lines, so antenna A cannot reach antenna B directly. The signal is beamed from antenna A up to a satellite orbiting Earth, boosted by the satellite, and beamed back down to be picked up by antenna B.
9. Hardware Used in a LAN
The teacher drew these on diagrams so you can see them — don't just memorise "router connects two networks".
Switch
A connecting device that can send a unicast message. (unicast message = sent directly to a single host — like a DM to one person in a group chat)
It connects all the PCs of a LAN through its Ethernet (twisted-pair) ports; data comes in and is forwarded to the destination. Wording: it can send unicast — it can also send to many/all.
NIC — Network Interface Card
The Ethernet port on a laptop/PC is the NIC (card on the motherboard; can be built-in, or a USB dongle). "Interface" = gives the device the ability to connect to the network. MAC = a unique address per device, so data can be sent to the right device.
WNIC — Wireless Network Interface Card
| MAC address | IP address |
|---|---|
| physical address of the device (NIC) | logical address used on the internet / WAN |
| used inside a local network (LAN, even Bluetooth) | used e.g. Gmail / Zoom data over the internet |
Cables: fibre optic or copper cable (discussed already in section 8).
Bridge
Bridge: connects two different LANs; divides a single LAN into two to reduce traffic.
WAP — Wireless Access Point
- allows devices to connect to the LAN instead of using a cable
- easy to move a device to a different location
| WiFi router | WAP |
|---|---|
| gives wired ports + wireless | wired into the router; gives wireless only |
| assigns IP addresses; behaves like a switch | does not assign IP — takes IP from the router and passes on |
| Why WAP? 2-storey house, no signal downstairs: a 2nd router has its own login / password / IP settings ⇒ hard to manage. A WAP keeps one network, one login. (A WAP generates a fresh wireless signal; it doesn't "catch & boost" — that's a repeater.) | |
Repeater: a device used to boost signals. (e.g. hill blocks A → B, so a tower on the hill relays the signal; long fibre cables have repeaters.)
Router & Gateway
| Router | Gateway |
|---|---|
| • connects two or more networks • can connect a network to a WAN • receives packets and forwards them towards the destination • using the IP address of the destination • assigns private IP addresses | |
| connects SIMILAR networks | connects DISSIMILAR networks |
Protocol = a set of rules. Different protocols ⇒ use a gateway (LAN ↔ WAN). Home routers have a gateway built in — "almost the same thing".
10. Bit Streaming
Bit streaming = a video (or other media) is turned into bits, put on a server, and sent to your device continuously so you can watch while it arrives.
Slow net ⇒ the "spinning circle" (buffering). Switch to faster WiFi ⇒ buffering drops.
Benefits
- no need to wait for the whole file to be downloaded
- no need to store large files on the user's computer
- allows on-demand playback
- no specialist software required for playback in a browser
Drawbacks
- video hangs if very slow internet
- video hangs if inadequate buffering capacity
- loss of internet means can't access films
- may require specific software to run the file
- viruses can be downloaded from websites
Difference between World Wide Web (WWW) and the Internet
| Internet | World Wide Web |
|---|---|
| • a massive network of networks (a WAN made of many LANs) • stands for Interconnected Networks • uses the TCP/IP protocol |
• a collection of (multimedia) web pages / documents • stored on websites • http / protocols are used to transmit data • web pages are written in HTML • URLs specify the location of web pages • web documents are accessed using browsers |
11. Collisions — CSMA/CD
CSMA/CD = Carrier Sense Multiple Access with Collision Detection. A set of rules (protocol) for sharing one channel on a bus.
due to a voltage change — devices measure the voltage on the line; a change in voltage = another signal is on the wire = collision.
12. Hardware Devices to Support the Internet
Modem: device that connects the router to the Internet. (mark-scheme wording: "connects a device to the Internet over a telephone line" — telephone line = Ethernet / twisted pair.)
PSTN — Public Switched Telephone Network
The landline (PTCL) system. Your phone has a direct wired connection to the nearest switching centre (an office of the phone company — those poles/lines are communication lines, not packets); data hops from switching centre to switching centre until the one nearest the receiver.
| Description | Conventional telephone (PSTN) | Internet-based system |
|---|---|---|
| connection only in use whilst sound is being transmitted | ✓ | |
| dedicated channel used between two points for the duration of the call | ✓ | |
| connection maintained throughout the telephone call | ✓ | |
| encoding schemes and compression technology used | ✓ | |
| lines remain active even during a power outage | ✓ |
Why: PSTN = circuit switching (dedicated line, kept open 24/7, phone line has its own power). Internet = packets via IP, connection only exists while data is sent; compression (e.g. RLE) is possible; router needs power.
Dedicated lines — benefits
- faster transmission of data
- more consistent transmission speed
- improved security
Drawbacks
- expensive to set up / maintain
- disruption to the dedicated line would leave no alternative
Modem (again): connects a device to the internet over a telephone line.
13. IP Addressing
IP stands for: Internet Protocol (protocol = a set of rules).
Analogy: your home address — if you give the right address, the Daraz / Amazon parcel reaches the correct destination. IPv4 was designed with the internet (32 bits ≈ 4 billion addresses) — later not enough ⇒ IPv6.
Public and private IP addresses
| Public IP | Private IP |
|---|---|
| • registered on the internet (by the ISP) • gives access to the Internet • public IP addresses are unique • assigned by the ISP |
• not publicly registered on the internet • you cannot access the internet by just a private IP • assigned by the router |
Static and dynamic IP addresses
| Static | Dynamic |
|---|---|
| when a computer disconnects and rejoins a network the address does not change address is assigned by the ISP |
each time the computer rejoins a network the address changes address is assigned by the network OS (the router) |
| public IPs are static (teacher) | private IPs are dynamic — restart the router and devices may get new ones |
14. Subnetting & Subnet Mask
New chapter (9618) — no past-paper questions yet, syllabus mainly needs the use of subnetting. Learn the structured answer below.
Octets & the IP address
An IP address contains two things: ① network address and ② host address.
Analogy: your home network has one network address; every individual device inside it has its own host address (192.168.1 is the same for all, only the last number changes).
| Class | first octet | example |
|---|---|---|
| A | 0 – 127 | 1.0.0.1 |
| B | 128 – 191 | 128.1.0.1 |
| C | 192 – 223 | 192.168.1.0 |
| D | 224 – 239 | 224.0.0.0 |
Subnet mask
Broadcasts only look at the network bits: 192.168.01.x stays in its subnet; 192.168.02.1 is a different subnet ⇒ needs a router. Bigger organisations increase host bits and reduce network bits.
15. IPv4 & IPv6 · DNS · URL
(Teacher's recording stopped before this part — notes here come from the board only.)
| IPv4 format | IPv6 format |
|---|---|
| • each IP address should contain 4 numbers (4 groups) • each in the range 0 – 255 • separated by full stops (not colons) • the address should not be more than 32 bits |
• a valid hexadecimal number • only one double colon (::) is allowed • 8 groups, separated by colons • each group is 4 hexadecimal digits |
| 192.168.0.1 | 2001:0800:0000:0000:0000:0000:0000:0000 |
the number of IP addresses needed will exceed the number available using IPv4 (32-bit ≈ 4 billion).
DNS — Domain Name Service
- DNS resolves domain names to numbers (IP addresses)
- a domain name is an identifier of a website e.g. youtube.com
| Domain | IP address |
|---|---|
| Papersdock.com | 243.66.243.1 |
| yahoo.com | 222.15.240.1 |
| youtube.com | 221.16.247.2 |
DNS looks for the IP address of a particular domain name.
URL — Uniform Resource Locator
http://cie.org.uk/computerscience.html
- %20 — the coding for a space, as <space> is not allowed in a URL
- ? — acts as a separator; separates the URL from all the parameters
16. Quick Recap — Full Chapter Cheat-Sheet
- Network = 2+ systems joined by wire/wireless · LAN = one room/building · WAN = different sites (Internet = biggest WAN)
- Client–server: server holds data, clients request ⇒ central security, backup, monitoring, cheap clients · P2P: equal peers ⇒ no congestion, but weak security / no central backup
- Thin client = needs server always (browser) · Thick = can work offline (laptop). Thin: cheap, central updates, secure; thick: robust, uptime, but less secure & inconsistent data
- Bus: one cable + terminators · cheap/easy · cable break, collisions, low security · small & temporary
- Star: central device, bi-directional links · secure, fewer collisions · centre fails = all down · schools/offices/home
- Mesh: all linked · reliable, private · lots of cable · military/emergency · Hybrid: 2+ mixed · reliable but costly
- Cloud = data+apps stored/run on servers (data centre) · adv: anywhere, scalable, free, backup · dis: needs internet, long-term cost, no security control · private (one org, govt) vs public (provider, general)
- Fibre: light, TIR, fast, secure, few repeaters · costly, breaks, one-way · Copper (twisted, coaxial): cheap, flexible · less bandwidth, interference
- Wireless: radio (3 kHz–3 GHz) · micro (3–300 GHz) · infrared (300 GHz–400 THz) · satellite relays across Earth's curve
| Device | One-line job |
|---|---|
| Switch | connects PCs in a LAN, can send unicast (to one host) |
| NIC / WNIC | gives device a MAC address, uniquely identifies it, connects it (wirelessly via antenna/microwaves) |
| Bridge | connects 2 LANs / splits 1 LAN into 2 using stored MAC addresses ⇒ less traffic |
| WAP | lets devices join the LAN wirelessly instead of cable |
| Repeater | boosts weak signals |
| Router | joins similar networks, to WAN, forwards packets by IP, assigns private IPs |
| Gateway | same as router but joins DISSIMILAR networks |
| Modem | connects router to the Internet (no IP assigning) |
- Bit streaming: compress → bits → media server → buffer → stream software · on-demand (encode, upload, link, can pause) vs real-time (live camera, can't pause) · higher bit rate ⇒ no buffering
- Internet = network of networks (TCP/IP) · WWW = collection of web pages (HTTP, HTML, URL, browser)
- CSMA/CD: check line idle → send → listen → collision (voltage change) → stop → random wait → retry
- PSTN: many lines, both directions at once, switching centres · dedicated lines: fast, consistent, secure but costly, no alternative
- IP locates a device · public (ISP, unique, internet) vs private (router, needs NAT) · static (ISP, fixed) vs dynamic (router, changes)
- Subnetting: split big network ⇒ less traffic, faster; subnet mask 255 = network octet, 0 = host octet; broadcasts don't cross a router
- IPv4 4 groups × 0–255, dots, 32 bit · IPv6 8 groups × 4 hex, colons, one :: · DNS domain → IP · URL = protocol://domain/file