The Internet
- A global network of interconnected computer networks.
- Hardware: fibre-optic and copper cables, routers, switches, satellites and servers.
- It runs on foundational protocols such as TCP/IP.
- Analogy: the roads, tracks and bridges.
Cambridge IGCSE Computer Science, syllabus 0478. Paper 1, theory.
They are not two names for the same thing. The Internet is the global infrastructure. The Web is one service that uses it. This lesson follows topic 5.1 from that distinction through URLs, HTTP, browsers, page retrieval and cookies.
Syllabus map
Each card is one statement from section 5.1. Open it, use the activity, then come back to the checklist.
Separate the hardware network from the pages and media it carries.
5.1.2Name the protocol, the domain name and the file path.
5.1.3Request and response, then what SSL/TLS adds.
5.1.4Render HTML, and use the six built-in functions.
5.1.5URL, DNS, IP address, server, files, rendering.
5.1.6Session cookies in RAM, persistent cookies on disk.
5.1.1
Cambridge tests this distinction directly. Marks are lost when the answer talks about Wi-Fi versus computers, instead of infrastructure versus content.
Decide whether each one belongs to the Internet or to the World Wide Web.
Fibre-optic cables, routers, switches and satellites
HTML pages, stylesheets, images and video on websites
Communication using TCP/IP
Pages fetched with HTTP and HTTPS
Like the roads, tracks and bridges
Like the traffic carrying people and cargo
5.1.2
A Uniform Resource Locator is a text address for one web resource. People use it so they do not have to remember a numerical IP address.
https:// The rules the browser and the server follow. HTTPS tells you the transfer will be encrypted.
www.cambridgeinternational.org The readable name of the host that stores the site.
/programmes/igcse/index.html The folder and file requested on that server.
5.1.3
Hypertext Transfer Protocol is a request-response conversation between the browser and a web server. It moves text, images, sound and video. HTTPS is that same conversation with SSL/TLS encryption.
Type a fake checkout message. The left pane is what HTTP would expose. The right pane is a classroom picture of scrambling, not real TLS.
5.1.4
A web browser is client software. It requests files from a web server and turns HTML into the page on screen. It reads HTML, CSS and, on modern pages, JavaScript, then draws the layout, type, controls and media.
The field where the user types a URL or a search.
Back, forward, and refresh, reload or stop.
Saved shortcuts to URLs the user wants again.
A dated list of URLs already visited.
Several pages open in one window.
The browser stores, updates and deletes cookies from servers.
5.1.5
Walk the six steps in order. The first three resolve the name. The last three fetch the files and draw them.
Click a step to add it. Click a chosen step to remove it.
Open the CompSimu simulation and step through a page fetch. You type a URL. The DNS returns an IP address. The browser then asks the web server for the files and renders the page.
5.1.5 continued
Routers use numerical IP addresses such as 198.51.100.42. People remember names such as cambridgeinternational.org. The Domain Name Server translates the name into the number.
It receives a domain name, searches its database, and returns the matching IP address so the browser can contact the right server.
It does not store the HTML, the images or the rest of the page. After the IP address comes back, the browser still has to request the files from the web server.
5.1.6
A cookie is a small text file the browser stores because a web server asked it to. HTTP itself is stateless: each request arrives with no memory. Cookies carry a little state, such as a login or a basket.
Set a few cookies, then close the browser. Only the persistent cookies should remain.
Exam practice
These are the three questions from the lesson. The keyword check is a study aid. You still award the marks from the scheme.
Explain why an e-commerce website uses HTTPS instead of HTTP when a customer is entering payment details.
Describe the role of a Domain Name Server (DNS) when a web page is retrieved.
State two differences between a session cookie and a persistent cookie.
Eight short questions. The explanation appears as soon as you choose.
Section 5.1 review
Tick an idea only when you can say it without looking. The ticks stay in this browser.