EEasy IGCSELabTracker

On a phone the notes, quizzes and tracker work fine. The 3D models and the practice lab are made for a laptop.

Specification points 5.1.1–5.1.6 ·

the internet and the web, URLs, HTTP and HTTPS, web browsers, how a web page is found and displayed, and cookies.

1The internet and the world wide web (5.1.1)

Definition

Internet — the infrastructure: a worldwide collection of interconnected networks and devices, and the connections between them.

World wide web (WWW) — the collection of websites and web pages that are accessed using the internet.

The web is one service that runs on the internet. Email and online chat also use the internet but are not part of the web.

2Uniform resource locator (URL) (5.1.2)

Definition

URL — a text-based address for a web page. It can contain the protocol, the domain name and the web page / file name.

https:// www.example.org /revision/topic5.html protocol http or https domain name identifies the website / web server web page / file name the page or file on that website
Figure 1. The parts of a URL.

Split the URL

Loading the interactive…

People use URLs because text is far easier to remember than the numeric IP address of the web server. The browser gets that IP address from the DNS (section 5).

3HTTP and HTTPS (5.1.3)

Definition

Hypertext transfer protocol (HTTP) — the set of rules used to transfer web pages and other files between a web browser and a web server.

HTTPS — HTTP made secure: the data sent is encrypted using the SSL security protocol.

Operation of HTTP. The browser sends an HTTP request to the web server for a resource (for example a web page). The web server sends back an HTTP response containing the requested file, or an error message if it cannot supply it.

Operation of HTTPS. Before any data is sent, the web server proves its identity with its SSL certificate and an encrypted connection is set up (the SSL process is in 5.3). Every request and response is then encrypted, so data intercepted on the way cannot be understood. The browser shows https:// and a padlock. HTTPS is used whenever personal or payment data is sent: logging in, online banking, online shopping.

4Web browsers (5.1.4)

Definition

Web browser — software whose main purpose is to render HTML and display web pages.

Render means the browser interprets the HTML sent by the web server and turns it into the page you see: text, images, video and links.

Functions of a web browser:

  • Address bar — where the user types a URL; shows the URL of the current page.
  • Navigation tools — back, forward, reload and home buttons, and following hyperlinks.
  • Multiple tabs — several web pages open at once in one window.
  • Bookmarks and favourites — stores the URLs of pages the user wants to return to, so they do not have to be retyped.
  • User history — records the pages visited, so they can be found again.
  • Storing cookies — keeps the cookies that websites send (section 6).

5Locating, retrieving and displaying a web page (5.1.5)

The website is stored as HTML files on a web server, which has its own IP address. The browser needs that IP address before it can request the page.

Web browser on the user's device 1 URL typed into the address bar 7 HTML rendered; web page displayed DNS server domain names + IP addresses another DNS server 3 if not found Web server stores the website's HTML files 2 domain name 4 IP address of web server 5 HTTP request (to the IP address) 6 HTML files sent back
Figure 2. What happens when a URL is entered. Numbers match the steps below.

Follow a web page request

Loading the interactive…

  1. The user types the URL into the browser's address bar.
  2. The browser sends the domain name to a domain name server (DNS).
  3. The DNS searches its database of domain names and matching IP addresses. If the domain name is not there, the request is passed to another DNS server.
  4. The DNS returns the IP address of the web server to the browser.
  5. The browser uses the IP address to send an HTTP request to the web server.
  6. The web server sends the web page back to the browser as HTML files (plus any images and other files the page uses).
  7. The browser renders the HTML and displays the web page.

6Cookies (5.1.6)

Definition

Cookie — a small file that a web server sends to the user's web browser, which stores it on the user's device. It holds data about the user or their visit and is sent back to the website on later requests, so the website can recognise the user.

Session cookie Persistent cookie
Stored In temporary memory (RAM) On the device's storage (e.g. hard disk or SSD)
Deleted When the browser is closed / the session ends When its expiry date is reached, or the user deletes it
Remembers the user between visits No Yes

Uses of cookies:

  • Holding items in an online shopping cart — a session cookie keeps the cart as the user moves between pages during one visit.
  • Storing login details — a persistent cookie keeps the user logged in, so they do not have to enter a username and password on every visit.
  • Saving personal details — such as name, address or card details, so they need not be re-entered.
  • Tracking user preferences — such as language, currency and pages viewed, so the site can be customised and show targeted adverts.
Traps
  • The internet and the web are not the same: the web is web pages accessed via the internet.
  • The DNS only supplies the IP address; the web server sends the web page.
  • The browser renders the HTML; the web server stores it and sends it.
  • HTTPS does not stop data being intercepted; it makes intercepted data unreadable.
  • Cookies are stored on the user's device, not on the web server.

Quick check

11 multiple-choice questions. Pick an answer to see whether it is right and why.

  1. Which statement describes the internet?

  2. A student sends an email to a friend. Which statement is correct?

  3. In the URL https://www.shop.org/sale/shoes.html, which part is the domain name?

  4. A browser connects to a website using HTTPS. What happens before any data is sent?

  5. A criminal intercepts data sent to a website that uses HTTPS. What is the result?

  6. What is the main purpose of a web browser?

  7. Which browser function records the pages the user has visited?

  8. A user types a URL into the address bar. What does the browser do next?

  9. What does the DNS return to the browser?

  10. A shop's cart is kept as the user moves between pages but is empty after the browser is closed. Which cookie held it, and where?

  11. When is a persistent cookie deleted?

Exam-style questions

Write your answer, then show the answer and compare. Nothing here is marked for you: you decide how close you were. What you write is saved in this browser.

Questions

1

Explain the difference between the internet and the world wide web.

2 marks
2

Tick one box per row: does each feature belong to the internet or the world wide web?
(a) sending and receiving email (b) a collection of web pages (c) the infrastructure of interconnected networks (d) resources accessed through a web browser

4 marks
3

A user enters https://www.bookshop.com/offers/today.html. Identify: (a) the protocol, (b) the domain name, (c) the web page / file name.

3 marks
4

Describe the purpose and operation of HTTP.

3 marks
5

Give two differences between HTTP and HTTPS.

2 marks
6

State the main purpose of a web browser.

1 mark
7

Identify three functions of a web browser, other than its main purpose.

3 marks
8

Describe how a web page is located, retrieved and displayed when a user types a URL into a browser. Include the role of the DNS, IP addresses, the web server and HTML.

6 marks
9

Explain what is meant by a cookie.

2 marks
10

Describe two differences between session cookies and persistent cookies.

4 marks
11

An online shop uses cookies. Describe three ways the shop could use them.

3 marks

How well do you know this?

Rate each specification point. It is saved to your tracker as a new revision round.

All points:
  • 5.1.1Understand the difference between the internet and the world wide web
  • 5.1.2Understand what is meant by a uniform resource locator (URL)
  • 5.1.3Describe the purpose and operation of hypertext transfer protocol (HTTP) and hypertext transfer protocol secure (HTTPS)
  • 5.1.4Explain the purpose and functions of a web browser
  • 5.1.5Describe how web pages are located, retrieved and displayed on a device when a user enters a URL
  • 5.1.6Explain what is meant by cookies and how they are used, including session cookies and persistent cookies

Settings

Your subjects

Untick the subjects you don't take. They leave the menu, the home page and the tracker. Your ratings are kept, so you can bring a subject back at any time.

Page style

Colours