/en-tutor-prep-igcse-cs-internet-www-url-http-cookies/
/en-tutor-prep-igcse-cs-internet-www-url-http-cookies/
General Inquiry: info@TutorZone.com.hk
Office Hours: Monday to Saturday - 9:00 AM to 6:00 PM
WhatsApp Monday to Sunday - 24 hours
Hotline: +852 6828 1809
Instant Support: +852 9061 3106

IGCSE Computer Science: The Internet, the Web and Digital Currency — Tutor Prep Guide

IGCSE Computer Science: The Internet, the Web and Digital Currency — Tutor Prep Guide

  • 2026-11-27

Students can say they go online but cannot separate the internet from the web, nor say what happens between typing a URL and seeing a page. This chapter uses one 1.8 MiB page and one blockchain transaction to tie the five steps and the ledger together.

Objectives — Students can: (1) state that the internet is infrastructure and the web is the collection of sites on it, with three examples of each; (2) split any URL into protocol, domain name and file name; (3) give the five steps in order, from the DNS lookup that returns an IP address through the connection, the HTTP request, the HTTP response and the parsing of HTML into a rendered page; (4) explain HTTP against HTTPS and the role of the certificate, including that HTTPS does not make a site trustworthy; (5) name six browser functions and four uses of cookies, and use 1,800 KiB across 12 requests to get 1.41 seconds and 10 minutes per block with 2,000 transactions to get 3.33 per second.

01 Prerequisites (3-minute check)

If any of these fails, fix it before the lesson starts.

Skill Quick check Pass mark
What going online means What actually happens when you go online? Data travels from one device through cabling and routers to another
What a protocol is What must two programs agree on before exchanging data? A format and an order of steps, which is a protocol
Unit conversion How many Mbit are in 1,800 KiB? 14.06 Mbit, multiplying by 8 and dividing by 1024

02 Lesson flow (60 minutes)

Time Stage Tutor does Student does
0-8 min Roads and cargo Ask whether the internet still works without the web Email still works, websites do not open
8-18 min Three parts of a URL and DNS Split three URLs into protocol, domain and file Domain names are for people, IP addresses for machines
18-30 min Five steps to a page Time 1,800 KiB over 12 requests 1.41 seconds and 1656 milliseconds in total
30-40 min HTTP against HTTPS and six browser functions Demonstrate bookmarks, history, tabs and the address bar HTTPS only guarantees encryption and identity
40-48 min Four uses of cookies Set 300 bytes against the 4,096 byte limit Session against persistent cookies
48-60 min Digital currency and blockchain 10 minutes per block gives transactions per second 3.33 per second and 2,097 per block

03 Teaching script (read it out)

Scene 1: Infrastructure and address – the internet, the web and a URL

The internet is infrastructure and the web is content. The internet is cabling, routers, switches and a set of protocols, TCP/IP, and any digital data can travel over it: email, voice, files, websites. The world wide web is the collection of websites and pages reached over the internet using HTTP or HTTPS. They are not synonyms: without the web the internet still carries email, and without the internet the web has nowhere to live. The road analogy is enough: the internet is the road network, the web is one kind of cargo on it.
The distinction earns its place in diagnosis. If a site will not open but email arrives, the fault is at the web layer, in the browser, DNS or server; if even a known IP address does not respond, the fault is at the line and router layer. Test in layers rather than telling the student to restart.
A URL is the text address for a page and has three parts: protocol, domain name and file name. In https://www.tutorzone.com.hk/tutor-prep-igcse-cs/ the protocol is https, the domain is www.tutorzone.com.hk and the file name is tutor-prep-igcse-cs. Each part does a job: the protocol fixes how to talk and whether to encrypt, the domain decides which machine, the file name decides which page.
An IP address is the numeric address for machines. IPv4 uses 32 bits, which gives 4,294,967,296 addresses, far too many to memorise, which is why DNS translates a domain into an IP address. Students must see that a URL is not an IP address and contains no IP address; the IP is the result of the DNS lookup and the user never sees it.

Students split three URLs, one with a subdirectory and one with a query string, then say which part DNS acts on.

Scene 2: From URL to page – five steps and their cost

Teach the five steps in order, because the exam asks for the order. First, the browser checks its own cache and the DNS cache; on a miss it asks a DNS server, which returns an IP address. Second, the browser opens a connection to that address; over HTTPS a TLS handshake first validates the server certificate and exchanges keys. Third, it sends an HTTP request such as GET /tutor-prep-igcse-cs/ with a Host header. Fourth, the server returns an HTTP response: status 200, headers for content type, length and caching, and the HTML body. Fifth, the browser parses the HTML, finds CSS, JavaScript and images, requests each of them, and then lays out and paints the page.
Put a time on each step and students see where the cost sits. This page is 12 requests and 1,800 KiB, which is 14.06 Mbit, so at 10 Mbit/s the transfer is 1.41 seconds. Add 40 milliseconds for DNS, 90 for TLS and 120 for the first byte, and the total is about 1.66 seconds. If every request handshook again, 12 times 90 milliseconds would be 1,080 milliseconds against 90 for a reused connection, a saving of 990 milliseconds. Caching DNS pays too: 500 visits a day, each falling from 40 to 2 milliseconds, saves 19 seconds.
HTTP and HTTPS differ by one word: encryption. HTTP is plain text, so anyone on the same wireless network can read the password and the content. HTTPS puts TLS under HTTP, so the content is encrypted and the certificate confirms the server really is that domain. Say the limit out loud: HTTPS guarantees only that you reached the domain on the certificate and that nobody in between could read the traffic. It does not make the site honest, because a phishing site can hold a certificate too.
The six browser functions are bookmarks and favourites, history, multiple tabs, storing cookies, navigation tools such as back, forward and reload, and the address bar. Asking which function saves retyping a URL gives bookmarks, and which returns you to a page from three minutes ago gives history.

Students recite the five steps from memory, then say which step uses DNS and which uses HTML.

Scene 3: Cookies and blockchain – remembering you and remembering a payment

A cookie is a small piece of text the server asks the browser to keep, sent back automatically on every later visit to that domain. It is used for four jobs in the syllabus: saving personal details such as address and language, tracking preferences such as text size and theme, holding the items in a shopping cart, and storing login details. A session cookie lives in memory and disappears when the browser closes, which suits a cart or a login state; a persistent cookie has an expiry date and is stored on disk, which suits a remember-me option. On security: cookies can be intercepted, so a login cookie should carry Secure, so it only travels over HTTPS, and HttpOnly, so JavaScript cannot read it, and a password should never sit in a cookie in plain text. Give the size: 5 items at 60 bytes each is a 300 byte cart cookie, which is 7.3 per cent of the 4,096 byte limit for one cookie.
A digital currency exists only electronically, with no notes or coins; the wallet holds a private key and a payment is a transaction broadcast to the network. Two problems have to be solved: double spending and mutual distrust. The answer is a ledger, and the ledger is a blockchain. A blockchain is a series of time-stamped records in which each block carries the hash of the block before it. A hash changes completely when one bit of the input changes, so altering an old block breaks every hash after it and other nodes spot it at once. That is what cannot be altered means: not that writing is impossible, but that tampering is visible to the whole network.
The life of a transaction: the wallet broadcasts it; nodes verify the signature, the balance and that the coin has not already been spent; it is packed into a block; a hash meeting the difficulty target is found by proof of work; the block is broadcast and every node appends it. Use demonstration figures: one block every 10 minutes holding 2,000 transactions is 144 blocks and 288,000 transactions a day, or 3.33 a second, several orders of magnitude slower than a central database. A 1 MiB block at 500 bytes a transaction holds at most 2,097. With a chain of 100 blocks, changing block one means recomputing the 100 blocks after it, and rewriting history in theory needs more than half the total computing power.
Draw the boundary: blockchain is ledger technology, not a currency, and cannot be altered covers records already written, not that a transaction is correct. A wrong entry, once written, is wrong very securely.

Students answer in one sentence what a blockchain solves; the answer must mention double spending or mutual distrust, not trading.

04 Question types and worked steps

Type Example Steps Answer
Classifying infrastructure and content Of email and a website, which does not need the web? Ask whether the data is fetched with HTTP or HTTPS Email does not need the web, a website does
Splitting a URL https://www.tutorzone.com.hk/tutor-prep-igcse-cs/ Cut left to right into protocol, domain and file https / www.tutorzone.com.hk / tutor-prep-igcse-cs
HTTP against HTTPS Same address with http and https, what differs? Give two points: encryption and certificate identity HTTPS encrypts and verifies the server, HTTP is plain text
Ordering the five steps What happens after typing a URL? Follow the order: DNS, connection, request, response, layout Five steps, with 1.41 seconds of transfer
Sanity check (teach this): Sanity checks: (1) the internet and the web are not synonyms, one is infrastructure and the other content; (2) a URL is not an IP address and holds no IP address, since the address comes from DNS; (3) HTTPS guarantees encryption and the domain on the certificate, not honesty; (4) a cookie is not a virus, it is text a server asks the browser to keep and the user can delete; (5) download time is bits divided by bandwidth, so 1,800 KiB is 14.06 Mbit and not 1,800 Mbit; (6) cannot be altered means tampering is detectable, not that writing is technically impossible.

05 Independent practice (3 questions)

Question Answer What to watch
A page of 1,800 KiB over a 10 Mbit/s link takes how long to download? 1.41 seconds, which is 14.06 Mbit Check the conversion of KiB to Mbit, multiplying by 8 and dividing by 1024
One block every 10 minutes with 2,000 transactions gives how many per second? 3.33 per second, or 288,000 a day Check that minutes are converted to seconds first
5 items at 60 bytes each is what percentage of the 4,096 byte limit? 300 bytes, which is 7.3 per cent Check that the answer is expressed as a percentage as well as bytes

06 Common mistakes and what to say

Mistake Student writes Say this
Treating the web as the internet The world wide web is the internet The internet is lines and protocols, the web is the sites on it; email uses the internet without the web.
Treating a URL as an IP address The URL is the IP address of the server A URL is a text address holding a domain, and the domain becomes an IP only through DNS.
Assuming HTTPS means safe A padlock means the site is trustworthy A padlock means the connection is encrypted and the certificate matches the domain; phishing sites hold certificates too.
Assuming a blockchain can be edited A blockchain is a database an administrator can change Each block holds the hash of the previous one, so any edit breaks every hash after it and the network sees it.

07 Homework (paper, section and question numbers)

08 Exit check (last 5 minutes)

Question Answer Decision
One difference The internet is infrastructure, the web is the collection of sites on it Cannot state it means scene one again
Three parts of a URL Protocol, domain name, file name Cannot state them means the end of scene one again
Five steps DNS, connection, request, response, layout Cannot state them means scene two again

09 Tutor FAQ

Why is DNS needed at all, why not remember IP addresses?

You could, but not usefully. IPv4 holds 4,294,967,296 addresses that nobody memorises, and a site may change address. DNS turns a domain into an address, so the address can change while the URL stays the same.

How does a cookie differ from a cache?

A cookie is data the server asks you to carry, such as identity or a cart, and it is sent back with every request; a cache is a local copy of files such as images and CSS, kept so they need not be downloaded again. One is about who you are, the other about not fetching twice.

Why is a blockchain slow?

Because every transaction is verified across the network, every block needs a difficult hash, and blocks are bounded: 1 MiB holding 2,000 transactions every 10 minutes averages 3.33 per second.

Find a tutor — freeTutor Registration →

A TutorZone lesson-prep guide. Written by the TutorZone team; questions and lesson flow are original and are not taken from any school or publisher material.

Join as a tutor or coach — academic, music, sports, arts, STEM. Free to register. See how it works →