OCR GCSE COMPUTER SCIENCE · J277 · PAPER 1
The internet and connections
How a web address is found, how networks are arranged, and how data travels safely by cable and by Wi-Fi.
Paper 1 · Lesson 9
Lesson by Computing
This lesson contains 22 slides, with interactive quizzes and text slides.
OCR GCSE COMPUTER SCIENCE · J277 · PAPER 1
The internet and connections
How a web address is found, how networks are arranged, and how data travels safely by cable and by Wi-Fi.
Paper 1 · Lesson 9
Lesson 9 of the J277 series (Block B, Paper 1, sections 1.3.1 and 1.3.2): the internet, DNS, hosting and the cloud; star and mesh topologies; wired and wireless connections, encryption, IP and MAC addressing.
Device-free: show the slide; pupils write the title and date. Image credit: NASA / Unsplash (cover hologram)
00 · MISSION · BY THE END OF THIS LESSON
By the end of this lesson you can…
01 Describe the internet, including DNS, web servers, hosting and the cloud.
02 Describe star and mesh topologies, with an advantage and disadvantage of each.
03 Compare wired and wireless connections, and explain encryption, IP and MAC addresses.
Read the three outcomes. This is a content-heavy lesson; outcomes 2 and 3 are the ones OCR asks most often (advantages and disadvantages of a topology, and the difference between IP and MAC addresses).
Device-free: pupils copy the outcomes and tick each one at the end.
02 · CHECK · DO NOW (LESSON 8)
Warm up: networks
1 What does WAN stand for?
2 Give two factors that affect network performance.
3 Which device connects a LAN to the internet?
4 Give one disadvantage of a peer-to-peer network.
▮ TERMINAL // do_now_answers
1 wide area network
2 any two: bandwidth, users,
media, error rate, latency,
distance, interference
3 router
4 each user backs up own files
or security harder to control
Retrieval from lesson 8. Give 4 minutes, then click to reveal the answers line by line.
1 Wide area network. 2 Any two of: bandwidth, number of users, transmission media, error rate, latency, distance or interference (wireless). 3 A router. 4 Each user must back up their own files; security is harder to control; files may be duplicated.
Device-free: questions on the board; mini whiteboards.
Recap of lesson 8: this device lets phones join a wired network. What is it?
Router
Switch
Wireless access point (WAP)
Network interface card (NIC)
Answer: C, the wireless access point (WAP). The photo shows a stand-alone WAP of the kind fixed to ceilings and walls in schools and offices. A home router box also has a WAP built in, together with a switch and a router, so if a pupil argues "router" for a home, accept the reasoning but point back to the photo.
The router joins different networks; the switch connects wired devices on one LAN; the NIC is inside each device.
Device-free: students hold up A, B, C or D cards. Image credit: Valentin Lacoste / Unsplash
01 · LEARN · MISSION BRIEFING
What is the internet?
The internet is a worldwide collection of computer networks: the biggest WAN of all.
WEB SERVERS
Store websites and send pages out when they are asked for them.
CLIENTS
Devices and web browsers that request pages and services.
IP ADDRESSES
Every device has one, so data can find its way to it.
SYSTEM VOICE
System online. Mission briefing. Today you will travel across the internet. Find out how a web address becomes an IP address, how networks are arranged, and how data stays safe on wired and wireless connections.
Click play for the system voice briefing. The words are also on the slide.
The internet is a worldwide collection of computer networks, joined together. Web servers store websites and send web pages to clients (devices and browsers) that request them. Every device on the internet has an IP address so data can be sent to it.
Misconception: the internet and the World Wide Web are not the same. The internet is the hardware network; the web is the collection of web pages that travel across it.
Device-free: read the briefing aloud; pupils write the definition of the internet in their own words.
01 · LEARN · DNS
From a name to a number
Computers find each other by IP address, but people remember domain names, such as example.com: the name part of a web address. A DNS server keeps a directory of domain names and their IP addresses.
If it does not know one, it asks another DNS server.
▮ TERMINAL // dns_lookup.log
> where is example.com?
< DNS: 203.0.113.42
> GET page from 203.0.113.42
< server: page sent
SYSTEM VOICE · KEY DEFINITION
The domain name system, or DNS. It turns a web address, such as example.com, into the IP address of the web server, so your browser knows where to send its request.
Click the terminal to reveal the lookup line by line, then play the key definition.
Terms: a web address (URL), such as https://www.example.com/news, contains a domain name (example.com). DNS looks up the domain name part. The voice clip says "web address"; it means the domain name in it.
DNS (the domain name system, using DNS servers) translates a domain name, such as example.com, into the IP address of the web server that holds the site. The browser then uses that IP address to request the page. If the first DNS server does not hold the address, it passes the request on to another DNS server.
The address 203.0.113.42 is from a range set aside for examples, so it does not belong to a real site.
Device-free: draw the browser, DNS server and web server on the board and arrow the four messages.
01 · LEARN · HOSTING AND THE CLOUD
Someone else's computer
HOSTING
Storing a website on a server connected to the internet, so anyone can reach it. Most people pay a hosting company for this.
THE CLOUD
Storing files and running software on remote servers over the internet, such as online documents and photo backup.
+ open files from any device; the provider backs them up
+ no extra storage hardware to buy
− no internet, no access; more space can cost a fee
− you rely on the provider to keep data safe
Hosting: a website's files are stored on a web server that is permanently connected to the internet, so clients anywhere can request them. Businesses usually pay a hosting provider instead of running their own servers.
The cloud: storage, services and software provided over the internet by remote servers (in data centres like the one in the photo), rather than on the user's own device. Examples: online document editors, cloud photo backup, streaming services.
Advantages of the cloud: files can be reached from any device with an internet connection; the provider handles backups; no need to buy extra storage hardware. Disadvantages: no internet connection means no access; you rely on the provider's security and on it staying in business; extra storage usually costs a monthly fee. The next slide checks these.
Ask: which cloud services have you used this week?
Device-free: pupils write one example of hosting and one example of the cloud. Image credit: Tyler / Unsplash
Advantage or disadvantage of using the cloud?
ADVANTAGE
DISADVANTAGE
You rely on the provider to keep data safe
No internet connection means no access
No need to buy extra storage hardware
Files can be opened from any device, anywhere
More storage space can mean a monthly fee
The provider backs up your files for you
Advantages: files can be opened from any device, anywhere; the provider backs up your files; no need to buy extra storage hardware. Disadvantages: no internet connection means no access; you rely on the provider to keep data safe; more storage space can mean a monthly fee.
Ask: would you store your exam coursework only in the cloud? What if the internet went down the night before the deadline?
Device-free: pupils sort the six statements into a two-column table.
01 · LEARN · TOPOLOGIES
Star and mesh
STAR
MESH
PC
PC
PC
PC
SWITCH
+ if one cable or device fails, the rest keep working
+ easy to add new devices
− if the central switch fails, the whole network stops
− needs a lot of cable
+ no single point of failure: data can take another route
+ very reliable for systems that must keep running
− so many connections make it expensive to cable
− harder to set up and manage
Star topology: every device connects to a central switch (or hub). Advantages: if one cable or device fails, the others are unaffected; easy to add devices; the switch sends data only to the intended device, so it performs well. Disadvantages: if the central switch fails, the whole network fails; a lot of cable is needed, which is expensive.
Mesh topology: devices are connected to each other (in a full mesh, every device to every other device), so data can take more than one route. Advantages: no single point of failure, very reliable, data can be rerouted if a link fails. Disadvantages: a wired mesh needs a lot of cable and is expensive; it is harder to set up and manage. Wireless mesh networks (for example mesh Wi-Fi at home) avoid most of the cabling.
Count the mesh lines with the class: 5 devices, 10 connections.
Device-free: pupils draw both topologies with five devices and write one advantage and one disadvantage under each.
A hospital network must keep every device connected, even if a cable or the central device fails. Which topology is best?
Mesh: data can take another route
Star: it has one central switch
Star: it is easy to add new devices
Mesh: it needs no cables at all
Answer: A, mesh, because data can take another route if a link or device fails, so there is no single point of failure.
A star also survives one cut cable (only that device drops off), which is why the question asks about the central device too: in a star, if the central switch fails, every device loses its connection. A star is easy to add devices to, but that is not what the hospital needs most. A wired mesh needs more cables, not none.
Device-free: students hold up A, B, C or D cards. Image credit: Tasha Kostyuk / Unsplash
01 · LEARN · WIRED AND WIRELESS
Cable, Wi-Fi or Bluetooth?
ETHERNET · WIRED
Devices connect with copper or fibre cables.
+ usually faster and more reliable
+ hard to intercept without plugging in
− devices must be near a socket
− less freedom to move
WI-FI · WIRELESS
Devices connect with radio waves through a WAP.
+ move around freely
+ add devices without new cables
− usually slower; weaker with distance and walls
− signals can be intercepted, so data should be encrypted
BLUETOOTH
Short-range wireless that links two devices directly, such as headphones and a phone.
+ no network to set up
+ uses little power
− short range, about 10 metres
− low bandwidth
Ethernet (wired): copper or fibre optic cables. Usually faster, more reliable and less affected by interference; harder to intercept because an attacker needs physical access. Devices must be near a cable or socket.
Wi-Fi (wireless): radio waves to and from a wireless access point. Freedom to move and easy to add devices, but usually slower, weaker with distance and obstacles, affected by interference, and less secure because signals travel through the air, so Wi-Fi should always be encrypted.
Bluetooth: short-range wireless (typically around 10 metres) connecting two devices directly, for example headphones, a keyboard or a car stereo. Low power, low bandwidth.
Device-free: pupils list three devices at home that use each type of connection.
Is each one an advantage of wired or of wireless?
WIRED (ETHERNET)
WIRELESS (WI-FI)
Works with phones and tablets
Not weakened by walls or distance from a WAP
Usually faster and more reliable
New devices join without new cables
Devices can move around freely
Hard to intercept without plugging in
Wired: usually faster and more reliable; hard to intercept without plugging in; not weakened by walls or distance from a WAP. Wireless: devices can move around freely; new devices join without new cables; works with phones and tablets.
Device-free: pupils sort the six statements into a two-column table.
01 · LEARN · ENCRYPTION
Only the key can unlock it
Encryption uses a key to scramble readable data (plaintext) into unreadable ciphertext, so if it is intercepted it cannot be understood.
Only someone with the right key can decrypt it back to plaintext.
Wi-Fi signals travel through the air and can be picked up by anyone nearby, so wireless networks should encrypt data.
▮ TERMINAL // encrypt.exe
plaintext MEET AT 3PM
key ********
> encrypt
ciphertext Xq7#Lp2!vR9
> decrypt with key
plaintext MEET AT 3PM
Click the terminal to step through: the readable message (plaintext) is scrambled with a key into ciphertext. Anyone who intercepts the ciphertext sees nonsense. Only someone with the key can decrypt it back into plaintext.
Encryption does not stop data being intercepted; it stops intercepted data being understood. Wi-Fi is encrypted (for example with WPA2 or WPA3) because radio signals can be picked up by anyone in range. Websites using HTTPS also encrypt data; that comes in the next lesson.
Device-free: write a short message using a simple shift cipher (each letter moved on by 3); partners decrypt it using the key.
01 · LEARN · ADDRESSING
IP addresses and MAC addresses
IP ADDRESS
Identifies a device on a network so data can be sent to it across networks. It can change when the device joins a different network. IPv4 uses 32 bits (four numbers from 0 to 255); IPv6 uses 128 bits (eight groups of hex digits), for far more addresses.
MAC ADDRESS
Built into every network interface card by the manufacturer. It does not normally change. It uses 48 bits, written as 12 hexadecimal digits, and is used to find the right device on a LAN.
> IPv4 address .. 192.168.0.12
> IPv6 address .. 2001:0db8:0000:0000:0000:8a2e:0370:7334
> MAC address ... 3C-22-FB-9A-01-7E
IP address: a logical address given to a device when it joins a network, used to route data to it across networks, including the internet. It can change. IPv4: 32 bits, written as four denary numbers from 0 to 255 separated by dots (192.168.0.12). IPv6: 128 bits, written as eight groups of four hexadecimal digits, created because IPv4 was running out of addresses.
The IPv6 example is written in full. In real life, runs of zeros are often shortened with "::" (2001:db8::8a2e:370:7334); pupils do not need this for J277.
MAC address: a physical address set by the manufacturer of the network interface card. It is unique and does not normally change (software can be set to show a different one, but for the exam it is the fixed address). 48 bits, written as 12 hexadecimal digits (six pairs). Switches use MAC addresses to send data to the right device on a LAN.
The example addresses are from ranges set aside for examples and home networks.
Device-free: pupils copy a two-column table, IP and MAC, with three facts in each.
IP address or MAC address?
IP ADDRESS
MAC ADDRESS
48 bits, written as 12 hex digits
Built into the network interface card
Can change when a device joins a new network
Set by the manufacturer; does not normally change
Used to send data between networks across the internet
Example: 192.168.0.12
IP address: example 192.168.0.12; can change when a device joins a new network; used to send data between networks across the internet. MAC address: set by the manufacturer and does not normally change; 48 bits written as 12 hex digits; built into the network interface card.
Device-free: pupils sort the six facts into the IP and MAC columns of their table.
03 · DEBUG · SPOT THE MISTAKE
One line in Josh's notes is wrong
▮ TERMINAL // josh_revision.txt
1 star: all devices link to a switch
2 mesh: data can take another route
3 IPv4: four numbers from 0 to 255
4 MAC: changes on every new network
5 encrypted data needs a key to read
Line 4. A MAC address is set by the manufacturer and does not normally change. It is the IP address that can change when a device joins a different network.
Ask: which address is burnt into the hardware? Tap the marker to check.
Exam tip: MAC = set in the factory, normally fixed. IP = given by the network, can change.
Give a minute to find the mistake before tapping the marker.
Answer: line 4. The MAC address is fixed by the manufacturer of the network interface card. The IP address is the one that can change. Lines 1, 2, 3 and 5 are correct.
Device-free: copy the five lines onto the board; pupils write the wrong line number and the correction.
The DNS server sends the IP address back to the browser
The browser sends a request to the web server at that IP address
You type a web address into the browser
The browser asks a DNS server for the IP address of its domain name
The DNS server looks up the domain name in its records
The web server sends the web page back to the browser
From typing a web address to seeing the page. Put the steps in order.
Steps 2 to 4 are the DNS lookup itself; steps 5 and 6 are the browser and web server.
Correct order: 1 you type a web address into the browser; 2 the browser asks a DNS server for the IP address of its domain name; 3 the DNS server looks up the domain name in its records (passing the request to another DNS server if it does not have it); 4 the DNS server sends the IP address back; 5 the browser sends a request to the web server at that IP address; 6 the web server sends the page back.
Device-free: pupils write the six steps on sticky notes and order them on the desk.
Complete the summary.
The internet is a worldwide collection of computer networks. A DNS server turns a domain name into an IP address. In a star topology every device connects to a central switch, while in a mesh topology data can take more than one route. A MAC address is set when the network card is made. Headphones often connect to a phone using short-range Bluetooth. Data is scrambled by encryption so it cannot be understood if it is intercepted.
Answers in order: networks, DNS, IP, star, mesh, MAC, Bluetooth, encryption. Distractors: router, switch, bandwidth.
The Bluetooth blank checks the third connection type from the wired and wireless slide.
Device-free: paragraph on the board with gaps and the word bank; pupils write the eight missing words.
EXAM · Describe the differences between an IP address and a MAC address. [4 marks]
Exam-style question, 4 marks. Give 5 minutes. The model answer is on the next slide.
Mark scheme: 1 mark per valid difference, max 4. A difference must say something about both addresses, or clearly compare them. IP is assigned when a device joins a network / MAC is set by the manufacturer. IP can change / MAC is fixed. IP is used to route data between networks (across the internet) / MAC identifies a device within a LAN. IPv4 is 32 bits (IPv6 128 bits) / MAC is 48 bits. IPv4 is written in denary / MAC is written in hexadecimal.
Device-free: pupils answer on paper, then peer-mark with the next slide.
04 · EXAM · MODEL ANSWER
Compare both, every time
An IP address is given by the network, but a MAC address is set by the manufacturer.
An IP address can change when a device moves network, but a MAC address normally stays the same.
IP addresses route data between networks across the internet; MAC addresses find the device on a LAN.
An IPv4 address is 32 bits, written as four denary numbers, whereas a MAC address is 48 bits, written in hexadecimal.
MARK SCHEME
1 mark for each difference, up to 4.
Each point must say something about both addresses.
Use "but" or "whereas" to make the comparison clear.
Click to reveal the model answer one sentence at a time. Each sentence is one difference and earns one mark.
Common weak answer: "A MAC address does not change." This describes only one address, so it is not yet a difference. Adding "but an IP address can change" makes it worth the mark.
Device-free: read the model answer aloud; pupils circle "but" or "whereas" in their own answer and add it where it is missing.
Exit check: which part of today needs more practice?
DNS and how the internet works
Star and mesh topologies
Wired, wireless and encryption
IP and MAC addresses
None: I am confident with all of it
Anonymous exit poll. Use the most popular answer to choose the topic for a five-minute recap at the start of lesson 10.
Device-free: pupils write the topic number on a sticky note as they leave.
05 · NEXT · KEEP GOING
Keep going
Isaac Computer Science
Free online lessons and questions. Look for the networking topic.
BBC Bitesize
GCSE Computer Science, OCR: revise the internet, topologies and wired and wireless networks.
OCR past papers
J277/01 papers and mark schemes on the OCR website: try the topology and addressing questions.
Next lesson: protocols and layers, the rules that let every device on the internet understand each other.
Point pupils to the three places to practise. Isaac Computer Science and BBC Bitesize are free; OCR past papers and mark schemes are on the OCR website.
Device-free: pupils write down one question they still have about today's lesson to bring to lesson 10.