OCR GCSE COMPUTER SCIENCE · J277 · PAPER 1
Networks
LANs and WANs, what makes a network fast or slow, two ways to organise a network, and the hardware that connects it all.
Paper 1 · Lesson 8
Lesson by Computing
This lesson contains 21 slides, with interactive quizzes and text slides.
OCR GCSE COMPUTER SCIENCE · J277 · PAPER 1
Networks
LANs and WANs, what makes a network fast or slow, two ways to organise a network, and the hardware that connects it all.
Paper 1 · Lesson 8
Lesson 8 of the J277 series and the first lesson of Block B (Paper 1, section 1.3 Computer networks, connections and protocols). Block B uses a purple look so pupils can see they have moved on from Block A.
Device-free: show the slide; pupils write the title and date. Image credit: Jordan Harrison / Unsplash (cover hologram)
00 · MISSION · BY THE END OF THIS LESSON
By the end of this lesson you can…
01 Describe LANs and WANs, and the factors that affect how well a network performs.
02 Compare client–server and peer-to-peer networks.
03 Explain the job of a router, switch, WAP, NIC and transmission media.
Read the three outcomes. Outcome 3 is examined often: OCR asks for the purpose of a named piece of hardware, so pupils need one clear sentence for each.
Device-free: pupils copy the outcomes and tick each one at the end.
02 · CHECK · DO NOW (BLOCK A)
Warm up: four from Block A
1 Which type of compression must be used for a program file?
2 Which register holds the address of the next instruction?
3 Convert 1111 1111 to hexadecimal.
4 Is RAM volatile or non-volatile?
▮ TERMINAL // do_now_answers
1 lossless
every bit of code must stay
2 PC (program counter)
3 1111 = F, 1111 = F
= FF
4 volatile
loses its data when power is off
Spaced retrieval from Block A (lessons 7, 1, 5 and 3). Give 4 minutes, then click to reveal the answers line by line.
1 Lossless: a program must come back exactly as it was, or it will not run. 2 The PC (program counter). 3 1111 = 15 = F, so 1111 1111 = FF. 4 RAM is volatile: it loses its contents when the power is turned off.
Misconception: pupils who answer "ROM" for 4 have swapped the two; ROM keeps its contents.
Device-free: questions on the board; mini whiteboards.
Recap of lesson 7: which file must use lossless compression?
A holiday photo for a website
A spreadsheet of exam results
A song for a streaming app
A film for a video website
Answer: B, the spreadsheet of exam results. Every number must be exactly right, so no data can be removed. Photos, songs and films can lose a little detail that people will not notice, so lossy compression suits them.
Device-free: students hold up A, B, C or D cards. Image credit: Brina Blum / Unsplash
01 · LEARN · MISSION BRIEFING
What is a network?
A network is two or more devices connected to share resources and communicate.
SHARE FILES
Work saved on one computer can be opened on another.
SHARE HARDWARE
Many computers can use one printer or one internet connection.
COMMUNICATE
Email, messages and video calls all travel across networks.
SYSTEM VOICE
System online. Block B begins. Today's mission: find out how computers connect to form networks, what makes a network fast or slow, and which hardware links it all together.
Click play for the system voice briefing. The words are also on the slide: "System online. Block B begins. Today's mission: find out how computers connect to form networks, what makes a network fast or slow, and which hardware links it all together."
Definition to learn: a network is two or more computers or devices connected together so they can share resources (files, printers, an internet connection) and communicate.
Ask: how many networks have you used today? (Home Wi-Fi, mobile data, the school network, the internet.)
Device-free: read the briefing aloud; pupils list three things they did today that used a network.
01 · LEARN · LAN AND WAN
Small area or large area?
LAN · LOCAL AREA NETWORK
Covers a small geographical area, such as a home, school or office. The hardware is usually owned by the organisation that uses it.
WAN · WIDE AREA NETWORK
Covers a large geographical area and connects LANs together. It often uses cables and links owned by other companies, such as telecoms providers. The internet is the biggest WAN.
LAN: local area network, a small geographical area (one site), hardware usually owned and managed by the organisation. WAN: wide area network, a large geographical area, connecting LANs; it usually relies on infrastructure owned by third parties, such as telecoms companies, leased lines or satellites.
The photo shows fibre optic cables, which carry data as pulses of light. They are used for the long, fast links in WANs.
Exam tip: the key difference is the size of the geographical area, not the number of computers. A LAN can have 2,000 computers if they are all on one site.
Device-free: pupils draw a two-column table, LAN and WAN, and write one example in each. Image credit: Albert Stoynov / Unsplash
LAN or WAN? Drag each network into the right box.
LAN
WAN
A company joining its offices in London and Delhi
The internet
The computer rooms in one school
A bank linking its branches across the UK
The Wi-Fi network in a family home
The computers on one floor of an office
LAN: the Wi-Fi network in a family home; the computers on one floor of an office; the computer rooms in one school. WAN: the internet; a bank linking its branches across the UK; a company joining its offices in London and Delhi.
Ask for the reason each time: one site (LAN) or many sites spread over a large area (WAN).
Device-free: pupils sort the six examples into a two-column table in their books.
01 · LEARN · BANDWIDTH
How much data per second?
Bandwidth is the amount of data that can be sent across a network each second. It is measured in bits per second, for example Mbps (megabits per second).
Think of a motorway: more lanes let more cars travel at once.
▮ TERMINAL // speed_test.log
> download 72.4 Mbps
> upload 18.1 Mbps
> latency 14 ms
SYSTEM VOICE · KEY DEFINITION
Bandwidth. The amount of data that can be sent across a network each second, measured in bits per second. The more bandwidth, the more data can travel at the same time.
Click play for the key definition. The words are also on the slide.
Bandwidth is the amount of data that can be transferred across a network in a given time, usually per second. It is measured in bits per second (bps), for example megabits per second (Mbps). A home broadband speed test shows download and upload bandwidth.
Latency (also in the speed test) is the delay before data starts to arrive, measured in milliseconds. Pupils often confuse bandwidth (how much) with latency (how long the delay is).
Device-free: pupils copy the definition and the motorway analogy.
01 · LEARN · NETWORK PERFORMANCE
What slows a network down?
BANDWIDTH
More bandwidth means more data can be sent each second.
NUMBER OF USERS
More devices sharing the same bandwidth leaves less for each one.
TRANSMISSION MEDIA
Wired is usually faster than wireless. Fibre usually has more bandwidth than copper, especially over long distances.
ERROR RATE
Data that arrives damaged has to be sent again, which slows things down.
LATENCY
The delay before data arrives. High latency makes calls and games lag.
DISTANCE · INTERFERENCE
Wi-Fi signals get weaker with distance and through walls, and other devices interfere.
Factors that affect network performance (OCR J277 1.3.1): bandwidth; number of users (they share the available bandwidth, so more users means less each, and congestion); transmission media (copper Ethernet, fibre optic, wireless; wired is usually faster and more reliable, and fibre usually has more bandwidth than copper, especially over long distances); error rate (corrupted data must be resent); latency (delay); for wireless, distance from the access point and interference from walls and other devices.
Exam tip: when asked how a factor affects performance, say what happens to the data, for example "more users share the bandwidth, so each gets less and downloads take longer".
Device-free: pupils rank the six factors from most to least likely to affect the school network at lunchtime, then justify their top choice.
30 pupils stream video at once and the school network slows down. Why?
The school uses fibre optic cables
The CPU clock speed is too high
The laptops have too much RAM
Many users are sharing the same bandwidth
Answer: D, many users are sharing the same bandwidth. Each video stream needs a lot of data every second; 30 at once means each device gets a smaller share, so videos buffer.
Fibre would make the network faster, not slower. Clock speed and RAM are about the computer, not the network.
Device-free: students hold up A, B, C or D cards. Image credit: dlxmedia.hu / Unsplash
01 · LEARN · NETWORK MODELS
Client–server or peer-to-peer?
CLIENT–SERVER
A central server provides services such as files, logins, email and web pages. Clients send requests and the server responds.
+ backups, security and updates done in one place
+ users can reach their files from any computer
− servers and a network manager are expensive
− if the server fails, clients lose access
PEER-TO-PEER
There is no central server. All computers have equal status and share their own files and printers directly.
+ cheap and easy to set up
+ no single computer that everything depends on
− each user must back up their own files
− security is harder to control
Client–server: a central server (a powerful computer) manages access and provides services such as file storage, user accounts and logins, email, printing and web pages. Clients request a service and the server responds. Advantages: central backups, security (user accounts, access rights), software installed and updated from one place, files available from any computer. Disadvantages: server hardware and a network manager are expensive; if the server fails, clients lose access.
Peer-to-peer: no central server; every computer is equal and shares its own resources directly with the others. Advantages: cheap, easy to set up, no dependence on one server. Disadvantages: each user backs up their own files, security is harder to manage, files can be duplicated, and a computer may slow down when others use its files.
Examples: a school network is client–server; a small home network or file sharing between friends can be peer-to-peer.
Device-free: pupils copy the two headings with one advantage and one disadvantage under each.
Drag each feature to the right network model.
CLIENT–SERVER
PEER-TO-PEER
Cheap and quick to set up at home
If the server fails, nobody can log in
All computers have equal status
Each user backs up their own files
Backups and security managed in one place
One central computer stores everyone's files
Client–server: if the server fails, nobody can log in; one central computer stores everyone's files; backups and security managed in one place. Peer-to-peer: all computers have equal status; each user backs up their own files; cheap and quick to set up at home.
Device-free: pupils sort the six features into a two-column table.
01 · LEARN · NETWORK HARDWARE
What connects it all?
INTERNET
ROUTER
SWITCH
PC
PC
WAP
LAPTOP
radio waves (Wi-Fi)
ROUTER: connects different networks together, for example the school LAN to the internet. It sends data on towards the network it is going to.
SWITCH: connects the devices on one LAN. It sends data only to the device it is meant for, not to every device.
WIRELESS ACCESS POINT (WAP): lets wireless devices such as laptops and phones join a wired network, using radio waves (Wi-Fi).
NETWORK INTERFACE CARD (NIC): the hardware inside every device that lets it connect to a network, wired or wireless. Each NIC has its own unique address.
TRANSMISSION MEDIA: what carries the data. Copper Ethernet cable, fibre optic cable (pulses of light, very fast over long distances) or radio waves for wireless.
TAP EACH MARKER
Each box on the diagram does a different job. Tap the markers to find out what each one does.
The mint marker is on a cable: the transmission media.
At home, one box often does three jobs: router, switch and WAP in one.
Tap each marker in turn and ask pupils to predict the job before revealing it.
Router: connects two or more different networks, for example a LAN to the internet (a WAN); it directs data towards its destination network (data travels in packets, which come up in a later lesson). Switch: connects devices within a LAN and sends data only to the intended device (it uses the device's MAC address, which comes up next lesson). Wireless access point (WAP): allows wireless devices to connect to a wired network. Network interface card/controller (NIC): hardware that allows a device to connect to a network; every NIC has a unique MAC address. Transmission media: copper (Ethernet) cable, fibre optic cable, or radio waves (wireless).
A home "router" is usually a router, switch and WAP (and a modem) combined in one box.
Device-free: pupils copy the diagram and label each device with its job in one sentence.
Drag each job to the hardware that does it.
ROUTER
SWITCH
WAP
NIC
Hardware inside a device that lets it connect to a network
Lets laptops and phones join a wired network
Connects the school LAN to the internet
Sends data only to the right device on a LAN
Answers: router = connects the school LAN to the internet; switch = sends data only to the right device on a LAN; WAP = lets laptops and phones join a wired network; NIC = hardware inside a device that lets it connect to a network.
Device-free: pupils match the four by drawing lines in their books.
03 · DEBUG · SPOT THE MISTAKE
One line in Priya's notes is wrong
▮ TERMINAL // priya_network_notes.txt
1 LAN: small area, e.g. a school
2 WAN: joins LANs over a large area
3 switch: joins my home LAN to the internet
4 WAP: lets wireless devices join
5 more users = less bandwidth each
Line 3. A ROUTER connects a home LAN to the internet, because it joins different networks together. A switch only connects devices inside the same LAN.
Ask: which device joins two different networks? Tap the marker to check.
Exam tip: router = between networks. Switch = inside one network.
Give a minute to find the mistake before tapping the marker.
Answer: line 3. A router connects different networks, such as a home LAN and the internet. A switch connects devices within one LAN. Lines 1, 2, 4 and 5 are correct.
Device-free: copy the five lines onto the board; pupils write the wrong line number and the correction.
The laptop's NIC sends the request as radio waves
The wireless access point receives the request
The router sends the request out of the home LAN to the internet
The router passes the page back to the laptop on the LAN
The web server receives the request and sends the page back
A laptop on home Wi-Fi asks for a web page. Put the journey in order.
Correct order: 1 the laptop's NIC sends the request as radio waves; 2 the wireless access point receives it; 3 the router sends it out of the home LAN onto the internet (a WAN); 4 the web server receives the request and sends the page back; 5 the router passes the page back to the laptop.
Point out that in most homes steps 2 and 3 happen inside the same box, which combines a WAP and a router.
Device-free: pupils write the five steps on sticky notes and order them on the desk.
Complete the summary.
A LAN covers a small geographical area, such as a school, and a WAN connects networks over a large area. The amount of data that can be sent each second is the bandwidth, and the delay before data arrives is the latency. Fibre optic cable carries data as pulses of light over long distances. Damaged data has to be sent again, so a high error rate slows a network down. In a client–server network, one central computer provides services to the others. A router connects different networks together.
Answers in order: LAN, WAN, bandwidth, latency, light, error rate, client–server, router. Distractors: switch, peer-to-peer, sound.
This also checks transmission media, latency and error rate from the performance slide.
Device-free: paragraph on the board with gaps and the word bank; pupils write the eight missing words.
EXAM · A secondary school with 1,200 users has a client–server network. Explain two reasons why the school uses client–server rather than peer-to-peer. [4 marks]
Exam-style question, 4 marks. Give 5 minutes. The model answer is on the next slide.
Mark scheme: 1 mark for each reason and 1 mark for each linked explanation, max 4. Reasons: backups made centrally by the network manager (lost or deleted work can be restored, without relying on each user to back up their own files); security managed centrally, with user accounts and access rights (pupils cannot open staff files); software installed and updated from the server (saves time across 1,200 users); files stored on the server, so users can log in on any computer and reach their files (and work is not lost if one computer breaks). Do not award "it is faster" without a reason.
Device-free: pupils answer on paper, then peer-mark with the next slide.
04 · EXAM · MODEL ANSWER
Two reasons, each explained
The network manager backs up everyone's files on the server in one place.
This means lost or deleted work can be restored, and pupils do not have to back up their own files.
Security is managed centrally: the network manager sets up user accounts and access rights.
So pupils cannot open private files, such as staff records or exam papers.
MARK SCHEME
1 mark: a reason
1 mark: why it helps
1 mark: a second reason
1 mark: why it helps
Also accept: software updated from the server; files reachable from any computer.
Click to reveal the model answer one sentence at a time. Each sentence earns one mark: reason, explanation, reason, explanation.
Common weak answer: "Client–server is more secure and better." This names one idea without saying how or why, so it earns 1 mark at most. Push pupils to add "so..." or "this means..." after each reason.
Device-free: read the model answer aloud; pupils underline the four mark-earning parts in their own answer.
Exit check: how confident are you with networks?
Very: I can explain LAN, WAN, performance and hardware
Fairly: I still mix up some of the hardware
Not yet: I need another go
Anonymous exit poll. If many pupils choose "not yet", start lesson 9 with the hardware drag-and-drop again.
Device-free: thumbs up, sideways or down.
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 networks and network hardware.
OCR past papers
J277/01 papers and mark schemes on the OCR website: try the networks questions.
Next lesson: the internet, network topologies, and wired versus wireless connections.
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 networks to bring to lesson 9.