Cambridge O Level2210

The internet and the world wide web

Computer Science 2210 Chapter Notes

What this chapter covers

The internet and the world wide webDigital currencyCyber security
ShareWhatsAppPost
The internet and the world wide web notes

Unable to load PDF

The notes viewer could not load. Please refresh the page.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full The internet and the world wide web notes as text: skim, search, and jump between subtopics.

~8 min read

1. The Internet vs. The World Wide Web

It's a common mix-up, but the internet and the World Wide Web (WWW) are not the same thing. Think of the internet as the physical infrastructure – a massive global network of computers, servers, routers, and cables. It's a Wide Area Network (WAN) that connects the world. The World Wide Web, on the other hand, is a service that runs on the internet. It's the vast collection of interconnected documents, websites, and web pages that you access using a browser. A simple analogy: the internet is the system of roads, and the WWW is all the houses, shops, and destinations you can visit using those roads.

Key term

Internet: A global network of interconnected computer networks that provides the physical infrastructure for services like the World Wide Web.

Examiner insight

Marks are awarded for clearly distinguishing the internet as the physical hardware/network and the WWW as the information/service running on it.

Common pitfall

Using the terms 'internet' and 'World Wide Web' interchangeably. They are distinct concepts and examiners expect you to know the difference.

Fun fact

The world's first website, created by Tim Berners-Lee in 1991, is still online today at its original address, explaining what the World Wide Web is.

Worked example 12 marks

Explain the difference between the internet and the World Wide Web. [2]

  1. 1

    The internet is the global physical infrastructure of hardware (e.g., cables, routers, servers) that connects computer networks worldwide, forming a massive Wide Area Network (WAN).

  2. 2

    The World Wide Web (WWW) is a service that uses the internet. It is a collection of all the websites and web pages, which are linked together and accessed using protocols like HTTP.

Recap

  • The internet is the physical hardware and network infrastructure.
  • The World Wide Web (WWW) is a service providing access to websites and pages.
  • The WWW runs on top of the internet.
  • The internet is a global WAN (Wide Area Network).
  • You use the internet to access the WWW.

Quick check

  1. What is the collective term for all the websites and web pages available online?1 mark

2. Understanding URLs

A Uniform Resource Locator (URL) is the unique address for a specific resource on the web, like a web page or a file. It's what you type into your browser's address bar. A URL is typically made of three main parts. For the URL `https://www.example.com/index.html`: 1. Protocol: `https://` - This part tells the browser how to communicate with the server. Common protocols are HTTP and HTTPS. 2. Domain Name: `www.example.com` - This is the human-friendly name for the web server hosting the resource. It's easier to remember than an IP address. 3. File Path: `/index.html` - This specifies the exact location and name of the file being requested from the server.

Key term

URL (Uniform Resource Locator): A unique text-based address used to identify and locate a resource on the internet, such as a web page.

Examiner insight

Examiners expect you to be able to correctly identify and label the different parts of a given URL, including the protocol, domain name, and file path.

Common pitfall

Confusing the domain name with the entire URL. The domain name is just one part of the full address.

Worked example 13 marks

The following URL is used to access a resource: `https://www.cambridge.org/education/students.html`. Identify the three main components of this URL. [3]

  1. 1

    Protocol: `https` - This tells the browser to use the Hypertext Transfer Protocol Secure to communicate with the server.

  2. 2

    Domain Name: `www.cambridge.org` - This is the unique name that identifies the web server where the resource is located.

  3. 3

    File Path: `/education/students.html` - This specifies the folder and file name of the specific web page being requested from the server.

Recap

  • A URL is the unique address of a web resource.
  • The protocol (e.g., http, https) defines the communication rules.
  • The domain name identifies the web server.
  • The file path points to the specific page or file on that server.

Quick check

  1. What part of a URL specifies the transfer protocol to be used?1 mark
  2. What is the human-friendly address for a web server called?1 mark

3. Web Protocols: HTTP and HTTPS

Protocols are sets of rules for communication. For the web, the main protocol is Hypertext Transfer Protocol (HTTP). It defines how web browsers and web servers request and send information, such as HTML documents. Data sent over HTTP is in plain text, meaning it is not encrypted and can be read by anyone who intercepts it. To solve this security issue, Hypertext Transfer Protocol Secure (HTTPS) was created. HTTPS is simply HTTP with an added layer of security. It uses an encryption protocol, usually SSL (Secure Sockets Layer) or its successor TLS (Transport Layer Security), to encrypt all data transmitted. This means if the data is intercepted, it is scrambled and unreadable. You can identify an HTTPS connection by the `https://` in the URL and a padlock icon in the browser's address bar.

Key term

HTTPS (Hypertext Transfer Protocol Secure): A secure version of HTTP that encrypts data transmitted between a web browser and a web server, providing confidentiality and integrity.

Examiner insight

A key point for high marks is explaining that HTTPS uses encryption (SSL/TLS) to protect data from interception, ensuring confidentiality and integrity.

Common pitfall

Thinking that HTTPS protects against all cyber threats like malware or phishing. It only protects data from being read or modified while in transit.

Fun fact

Websites using HTTPS often get a slight boost in search engine rankings from providers like Google, as an incentive to make the web safer for everyone.

Worked example 13 marks

A user is about to enter their credit card details on an online shopping website. Explain why it is important that the website uses HTTPS instead of HTTP. [3]

  1. 1

    HTTPS encrypts the data sent between the user's browser and the website's server using SSL/TLS.

  2. 2

    This encryption prevents data interception attacks. If a hacker intercepts the data, they will only see scrambled, unreadable information, not the sensitive credit card details.

  3. 3

    In contrast, HTTP sends data in plain text, which is unencrypted. If HTTP were used, the credit card details could be easily stolen and read by an attacker, leading to financial fraud.

Recap

  • HTTP is the standard protocol for transmitting web pages.
  • Data sent via HTTP is unencrypted plain text.
  • HTTPS is the secure version of HTTP.
  • HTTPS uses SSL/TLS to encrypt data, protecting it during transmission.
  • Look for `https://` and a padlock icon to verify a secure connection.

Quick check

  1. What does the 'S' in HTTPS stand for and what technology does it use to provide this?2 marks

4. How Web Pages Are Displayed

Accessing a web page is a multi-step process that happens in seconds. Here's the journey: 1. Request: You type a URL (e.g., www.example.com) into your web browser and press Enter. 2. DNS Lookup: Your computer doesn't know where 'www.example.com' is. The browser sends the domain name to a Domain Name Server (DNS). The DNS is like the internet's phonebook; it looks up the domain name and finds its corresponding IP address (e.g., 93.184.216.34), which is the server's real address. 3. HTTP Request: The DNS returns the IP address to your browser. The browser then sends an HTTP/S request directly to the web server at that IP address, asking for the web page. 4. Server Response: The web server receives the request, finds the required files for the page (like the HTML file, CSS stylesheets, and images), and sends them back to your browser in a response. 5. Rendering: Your web browser receives these files. Its main job is to act as a renderer. It reads the HTML to understand the structure and content, applies the CSS for styling, and runs any scripts to create the final, viewable web page on your screen.

Key term

DNS (Domain Name Server): A server that translates human-readable domain names (like www.google.com) into machine-readable IP addresses (like 172.217.169.78).

Examiner insight

Clear, sequential descriptions of this process score well. Ensure you explicitly state the role of each component: the browser, the DNS, and the web server.

Common pitfall

Forgetting the role of the DNS. Many students incorrectly assume the browser magically knows the IP address for a domain name.

Worked example 14 marks

Describe the steps involved from typing a URL into a web browser to the web page being displayed. You must mention the roles of a DNS and a web server. [4]

  1. 1

    First, the user types the URL into the web browser. The browser sends a request to a Domain Name Server (DNS) to find the IP address for the given domain name.

  2. 2

    The DNS looks up the domain name in its database, finds the corresponding IP address, and sends this IP address back to the browser.

  3. 3

    The browser then sends an HTTP request to the web server located at that IP address, asking for the specific web page files.

  4. 4

    The web server retrieves the web page files (HTML, CSS, etc.) and sends them back to the browser, which then renders the files to display the formatted web page to the user.

Recap

  • A web browser requests a page using a URL.
  • A DNS translates the domain name in the URL into an IP address.
  • The browser sends an HTTP request to the web server at the IP address.
  • The web server sends the page's files (HTML, CSS) back to the browser.
  • The browser renders the files to display the finished page.

Quick check

  1. What is the main role of a web server in the process of displaying a web page?1 mark

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. State two differences between the internet and the World Wide Web.2 marks
  2. A URL is `http://www.my-school.org/homework/science.pdf`. a) Identify the protocol. b) Identify the domain name. c) Identify the file being requested.3 marks
  3. Explain the role of a Domain Name Server (DNS) in accessing a website.2 marks
  4. Describe how a web browser and a web server communicate to retrieve a web page. You should mention the protocol used.4 marks
  5. Explain two reasons why a website owner would choose to use HTTPS over HTTP.4 marks
  6. A web browser's primary function is to render web pages. Describe two other functions of a web browser.2 marks
  7. Cookies are small files stored on a user's computer. Explain the purpose of cookies, giving one example of how they are used.3 marks
  8. Compare and contrast a session cookie and a persistent cookie, explaining how their lifespan and purpose differ.4 marks
  9. Tim Berners-Lee developed three fundamental technologies for the World Wide Web. Name two of these technologies and describe the purpose of each.4 marks
  10. A user sees a padlock icon in their browser's address bar when visiting their online bank. Explain in detail what this icon signifies about the connection and the technology used to achieve this security.5 marks

Go deeper

Practise and revise with member-only material for this chapter.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters