Revision notes

Internet and WWW: Foundation

The key points, rules to remember, tables and diagrams from all 5 lessons, on one page for quick revision. To keep a copy, use your browser's Print and choose "Save as PDF".

Lesson 1

What the internet is and how it differs from the World Wide Web

Networks by area covered

  • LAN (Local Area Network)
    • One room, building or campus
    • A school lab sharing one printer
  • MAN (Metropolitan Area Network)
    • A town or city
    • Offices of one company across a city
  • WAN (Wide Area Network)
    • A country or the whole world
    • A bank linking branches in many states
Networks by the area they cover
TypeFull formArea coveredEveryday example
LANLocal Area NetworkOne room, building or campusComputers in a school lab sharing one printer
MANMetropolitan Area NetworkA town or cityOffices of one company linked across a city
WANWide Area NetworkA country or the whole worldA bank linking branches in many states

Internet or web?

  • Internet
    • A global network of connected networks
    • Cables, wireless links, routers, computers
    • Rules: TCP/IP
    • Began as ARPANET, 1969
    • E-mail and file transfer need no web
  • World Wide Web
    • A collection of linked pages and files
    • Web pages, websites, hyperlinks
    • Rules: HTTP and HTTPS, on top of TCP/IP
    • Proposed by Tim Berners-Lee, 1989
    • Needs the internet to travel on
Internet versus web
PointInternetWorld Wide Web
What it isA global network of connected networksA collection of linked pages and files
Made ofCables, wireless links, routers and computersWeb pages, websites and hyperlinks
Rules usedTCP/IPHTTP and HTTPS, on top of TCP/IP
BeganARPANET, 1969Proposed by Tim Berners-Lee, 1989
Can exist without the other?Yes - e-mail and file transfer need no webNo - the web needs the internet (or another network) to travel on

The internet is the network; the web is one service that runs on it. Every web page travels over the internet, but not everything on the internet is a web page.

Key takeaways: a network links devices; the internet links networks across the world using TCP/IP and grew from ARPANET. The World Wide Web, proposed by Tim Berners-Lee in 1989, is a system of linked pages viewed in a browser. E-mail, chat, calls and file transfer also use the internet without being the web.

Read the full lesson

Lesson 2

How data travels: packets, IP addresses and DNS

TCP and IP as a team

  • IP (Internet Protocol)
    • Puts the addresses on packets
    • Gets each packet towards its destination
  • TCP (Transmission Control Protocol)
    • Cuts the data into packets
    • Checks every packet has arrived
    • Asks again for missing packets
    • Rebuilds the data in order
Two versions of the IP address
FeatureIPv4IPv6
Length32 bits128 bits
Written asFour decimal numbers with dotsEight groups of hexadecimal digits with colons
Example form192.168.1.102001:db8:0:0:0:0:0:1
Number of addressesAbout 4.3 billionVastly more

Opening a web page

  1. Type the address www.example.com in the address bar, then Enter.
  2. Ask DNS The browser asks a DNS server for the IP address.
  3. DNS replies With the number, for example 203.0.113.25.
  4. Request the page The browser asks the web server at that IP address.
  5. Page sent as packets The server sends the page back in many packets.
  6. Routers pass them on Possibly by different routes.
  7. TCP checks and orders All packets have arrived, put in order.
  8. Page shown The browser assembles the page on screen.

Data travels as packets; IP addresses say where they go; routers pass them on; TCP checks and reorders them; DNS turns names into IP addresses.

Key takeaways: data moves in packets that may take different routes. Each device has an IP address - IPv4 uses four numbers from 0 to 255, IPv6 is longer and written in hexadecimal. Routers forward packets, TCP makes delivery reliable, and DNS converts domain names to IP addresses.

Read the full lesson

Lesson 3

Getting online: ISPs, broadband, mobile data and Wi-Fi

From the ISP to your devices

  1. ISP's line Links your traffic to the rest of the internet.
  2. Modem Converts the signals on the line into data and back.
  3. Router Shares the one connection among your devices.
  4. Your devices
Common ways to connect
ConnectionHow it reaches youMain points
Dial-upOrdinary telephone line, dialling a numberVery slow; phone line busy while online; now largely obsolete
DSL (Digital Subscriber Line)Telephone lineBroadband; phone can be used at the same time
CableCable TV lineBroadband; speed shared with neighbours on the same line
Fibre (FTTH: Fibre To The Home)Glass fibre carrying lightVery high speed and stable
Mobile data (3G, 4G, 5G)Radio signals from mobile towersWorks on the move; speed depends on signal
SatelliteDish linked to a satelliteReaches remote places; longer delay

Working out download time

  1. File: 50 MB File sizes are in bytes.
  2. × 8 = 400 megabits 1 byte = 8 bits.
  3. ÷ 20 Mbps = 20 seconds Speed is in bits per second.

Speeds are in bits, files are in bytes. Multiply megabytes by 8 to get megabits, then divide by the speed in Mbps to get seconds.

Key takeaways: an ISP connects you to the internet; a modem links to the ISP's line and a router shares it. Connections include DSL, cable, fibre, mobile data and satellite. Wi-Fi links devices to a router and is not itself an internet connection. Speed is in bits per second; 1 byte is 8 bits.

Read the full lesson

Lesson 4

Web pages, URLs, HTTP and HTTPS, and the web browser

Basic web terms
TermMeaning
Web pageA single document on the web, written in HTML, which may hold text, images, video and links
WebsiteA group of related web pages under one domain name, such as all the pages of a college
Home pageThe main or starting page of a website; also the page a browser opens first
HyperlinkClickable text or image that takes you to another page or file
HTMLHyperText Markup Language, the language used to build web pages
Web serverA computer that stores websites and sends pages to browsers when asked
Web portalA website that gathers many services or links in one place, often after a login

Static or dynamic page?

  • Static
    • Same content for everyone
    • Changes only when its author changes it
  • Dynamic
    • Built when you ask for it
    • Can show your own details, such as marks
Parts of https://www.example.co.in/books/list.html?page=2#top
PartIn the exampleWhat it tells you
Protocol (scheme)https://The rules used to fetch the page; https means a secure connection
SubdomainwwwA section of the domain; www is the traditional one for websites
Domain nameexample.co.inThe name of the website, registered by its owner
Top-level domain.inThe last part of the domain; .in is India's country code
Path/books/list.htmlThe folder and file on the server
Query string?page=2Extra information sent to the page, after a question mark
Fragment#topA spot within the page, after a hash sign
Common top-level domains
Domain endingUsually used by
.comCommercial organisations (now open to almost anyone)
.orgOrganisations, often non-profit
.netOriginally network providers; now general use
.eduEducational institutions, mainly in the United States
.govGovernment bodies (for India, addresses end in .gov.in)
.inIndia's country-code domain; also .co.in, .ac.in (academic), .gov.in

HTTP or HTTPS?

  • HTTP
    • Rules for exchanging pages
    • Not encrypted
    • Port 80 by default
  • HTTPS
    • The same exchange, encrypted with TLS
    • Padlock or similar sign
    • Port 443 by default
    • Does not prove the site is honest

URL = protocol + domain + path (+ query + fragment). HTTPS encrypts the connection; it does not prove the site is honest - check the domain too.

Key takeaways: a website is a set of web pages under one domain; pages are written in HTML and linked by hyperlinks. A URL names the protocol, domain, path and sometimes a query and fragment. HTTPS encrypts traffic. A browser offers tabs, bookmarks, history, downloads and private mode.

Read the full lesson

Lesson 5

Search engines, search tips and downloading safely

How a search engine works

  1. Crawling Crawlers follow links from page to page, collecting pages.
  2. Indexing The words of each page are stored in a huge index.
  3. Ranking Matching pages are ordered by how useful they seem.
Search operators supported by Google and many other engines
TipType thisEffect
Use a few key wordsmonsoon causes IndiaBetter than a long sentence
Exact phrase"right to information"Pages with those words together, in that order
Exclude a wordjaguar -carRemoves pages that mention car
Search one sitescholarship site:gov.inResults only from addresses ending gov.in
Find a file typesyllabus filetype:pdfOnly PDF files
Either wordtiger OR leopardPages with either word

Download or upload?

  • Downloading
    • From the internet to your device
    • Usually saved in the Downloads folder
  • Uploading
    • From your device to the internet
    • Example: attaching a photo to an online form
Common file types
ExtensionType of fileRisk
.pdfDocumentLow, if from a trusted site
.jpg, .pngImageLow
.mp3, .mp4Audio, videoLow
.zipCompressed folder holding other filesCheck what is inside
.exe (Windows), .apk (Android)Program or app that runs when openedHigh - install only from trusted sources

Phrase in quotes, minus to exclude, site: for one website, filetype: for a format. Download only from official sources, and trust the LAST extension of a file name.

Key takeaways: a search engine crawls, indexes and ranks pages; a browser displays them. Use key words and operators to narrow a search, and prefer official sources. Downloading brings files to you, uploading sends them out. Read the real file extension and scan before opening.

Read the full lesson

Privacy · Terms · Refunds · Delivery