1.3.2 Wired and wireless networks, protocols and layers · Paper 1
Wired, wireless and the rules for sending data
Each section has pictures and things to try, then its key points and key words. Exam practice is at the end of the page.
You need to know
- Wired (Ethernet) and wireless (Wi-Fi, Bluetooth) connections, and when to recommend each
- Why encryption is used on networks
- IP addresses (IPv4 and IPv6) and MAC addresses
- What standards are
- What a protocol is, and the purpose of TCP/IP, HTTP, HTTPS, FTP, POP, IMAP and SMTP
- How layers are used, and why
You don't need to know
- How Ethernet, Wi-Fi and Bluetooth protocols work
- Static vs dynamic, or public vs private IP addresses
- Details of individual standards
- The names and jobs of each TCP/IP layer
Wired or wireless?
| Wired (Ethernet) | Wireless (Wi-Fi, Bluetooth) | |
|---|---|---|
| Speed | Faster and steadier | Slower, drops with distance and walls |
| Security | Harder to intercept | Signals can be picked up, so must be encrypted |
| Convenience | Cables limit where you can be | Move around freely, easy to add devices |
Bluetooth is for short range connections between two devices, like headphones and a phone.
Encryption scrambles data before it is sent, so anyone who intercepts it can't understand it without the key. Try the cipher in 1.4.2 Encryption.
Try it
Wired or wireless? Pick the best connection for each one.
- A gaming PC that needs a fast, steady connection
- Customers using their phones in a café
- The school's main file server
- Headphones connected to a phone
- A laptop carried between classrooms
- A bank's computers that handle payments
Try it
Practise an exam question. Choose wired or wireless, then two reasons that fit.
- Faster connection
- Not slowed down by walls or distance
- Harder to intercept, so more secure
- Devices can move around freely
- Easy to add new devices, with no cables to run
- A bank's office computers that handle customer payments.
- Tablets used by nurses as they walk around a hospital ward.
- Visitors at a museum using a guide app on their own phones.
- A video editor sending huge files to a server two rooms away, through thick walls.
Key points
Wired vs wireless (Ethernet)
Before this: 1.3.1Cables and transmission media
- Wired (Ethernet): faster, more reliable, more secure (harder to intercept), but cables restrict movement and cost money to install.
- Wireless (Wi-Fi): devices can move around and it's easy to add devices, but it's slower, affected by walls, distance and interference, and signals can be intercepted.
- Ethernet is a standard for wired connections on a LAN.
- In the exam, recommend a connection based on the scenario: e.g. a gaming PC wired; a café for customers wireless.
Wi-Fi and Bluetooth
Before this: Wired vs wireless (Ethernet)
- Wi-Fi connects devices to a network wirelessly, with a range of tens of metres.
- Bluetooth connects two devices directly over a short range (around 10 m), using little power.
- Bluetooth is used for headphones, smartwatches, wireless keyboards and car hands-free systems.
- Wi-Fi is faster and has a longer range than Bluetooth.
Encryption
Before this: Wired vs wireless (Ethernet)
- Encryption scrambles data using a key, so it can't be understood if intercepted.
- Only someone with the correct key can decrypt it back to the original.
- Used on wireless networks, HTTPS websites, messaging apps and to protect files on devices.
- Encryption doesn't stop data being intercepted. It stops it being understood.
Key words
Say what each one means, then tap to check.
IP and MAC addresses
| IP address | MAC address | |
|---|---|---|
| What for | Finds a device across networks, like the internet | Identifies a device on its local network |
| Can it change? | Yes, depends on the network | No, set in the NIC when made |
| Format | IPv4: 4 numbers 0 to 255, e.g. 192.168.0.12 IPv6: 8 groups of hex, e.g. 2001:0db8:…:7334 | 6 pairs of hex, e.g. 3C:22:FB:9A:01:5E |
Try it
IP address or MAC address?
- 192.168.1.20
- 3C:22:FB:9A:01:5E
- 2001:0db8:85a3:0000:0000:8a2e:0370:7334
- Set in the NIC when it is made
- Changes when you join a different network
- Used by routers to send data across the internet
- Used by a switch to find the right device in a LAN
Key points
IP addresses (IPv4 and IPv6)
Before this: 1.3.1The internet
- An IP address identifies a device on a network, so data can be sent to it across the internet.
- IPv4: 4 numbers from 0 to 255, separated by dots, e.g. 192.168.1.20. 32 bits.
- IPv6: 8 groups of 4 hex digits separated by colons, e.g. 2001:0db8:85a3:0000:0000:8a2e:0370:7334. 128 bits.
- IPv6 was introduced because the world was running out of IPv4 addresses.
- A device's IP address can change when it joins a different network.
MAC addresses
Before this: IP addresses (IPv4 and IPv6)1.3.1NICs and wireless access points
- A MAC address is a unique address given to a NIC when it is made.
- It is written as 6 pairs of hex digits, e.g. 00:1A:2B:3C:4D:5E (48 bits).
- It does not change.
- It is used to identify devices within a local network; switches use MAC addresses to send data to the right device.
- IP addresses find a network across the internet; MAC addresses find the exact device on the LAN.
Key words
Say what each one means, then tap to check.
Standards and protocols
A standard is an agreed set of rules, so hardware and software from different makers can work together.
A protocol is a set of rules for sending data. Different jobs use different protocols.
| Protocol | Used for |
|---|---|
| TCP/IP | Splitting data into packets, addressing them, and making sure they all arrive in order |
| HTTP | Requesting and sending web pages |
| HTTPS | Web pages, but encrypted. Used for logins and payments. |
| FTP | Transferring files between computers |
| SMTP | Sending email |
| POP | Downloading email to one device, then usually deleting it from the server |
| IMAP | Reading email that stays on the server, so it syncs across devices |
Try it
Watch TCP/IP send a photo across the internet.
- A photo is too big to send in one go. TCP splits it into small packets and numbers them: 1, 2, 3, 4.
- IP adds the address each packet is going to. Routers read the address and send each packet on. Packets can take different routes.
- The packets arrive out of order: 3, 1, 4. Packet 2 was lost on the way.
- TCP spots that packet 2 is missing and asks for it again. The sender sends a new copy.
- Every packet has arrived. TCP puts them back in order, 1, 2, 3, 4, and the photo opens.
Try it
Which protocol is being used?
- Paying for a game in an online shop
- Uploading a website's files to a web server
- Sending an email to a friend
- Reading the same inbox on your phone and laptop
- Downloading email to one computer, then deleting it from the server
- Reading a page on a website with no login
Key points
Standards
- A standard is an agreed set of rules that hardware and software makers follow.
- Standards mean products from different manufacturers can work together.
- Examples: Wi-Fi, USB, HTML, ASCII.
- Without standards, your phone might not connect to someone else's Wi-Fi router.
What a protocol is
Before this: Standards
- A protocol is a set of rules for transferring data between devices.
- Protocols cover things like the format of data, how errors are handled, and how devices start and end communication.
- Different jobs use different protocols: web pages (HTTP), email (SMTP), files (FTP).
- Both devices must use the same protocol to understand each other.
TCP/IP
Before this: What a protocol isIP addresses (IPv4 and IPv6)
- TCP/IP is a pair of protocols that the internet runs on.
- TCP (Transmission Control Protocol) splits data into packets, numbers them, checks they all arrive, and puts them back in order. Missing packets are re-sent.
- IP (Internet Protocol) addresses each packet and routes it to the right destination.
- Packets may take different routes and arrive out of order; TCP fixes this.
HTTP and HTTPS
Before this: TCP/IPEncryption
- HTTP (Hypertext Transfer Protocol) is used to request and send web pages.
- HTTPS is the secure version: the data is encrypted.
- HTTPS should be used for logins, payments and anything private.
- Browsers show a padlock icon for HTTPS sites.
FTP
Before this: TCP/IP
- FTP (File Transfer Protocol) is used to transfer files between computers over a network.
- For example, uploading website files to a web server.
- It can be used to upload, download, rename and delete files on a remote computer.
Email protocols (SMTP, POP, IMAP)
Before this: TCP/IP
- SMTP (Simple Mail Transfer Protocol): used to send email, and pass it between mail servers.
- POP (Post Office Protocol): downloads email to one device, then usually deletes it from the server.
- IMAP (Internet Message Access Protocol): email stays on the server, so it is synced across all your devices.
- Most people use IMAP now, because they read email on a phone and a computer.
Key words
Say what each one means, then tap to check.
Layers
Networking is split into layers. Each layer does one part of the job and passes data to the next.
Try it
Follow an email down through the layers, and back up at the other end.
- You press Send on an email. The top layer uses SMTP to get it ready to send.
- It passes the email down. This layer uses TCP to split it into numbered packets.
- The next layer down uses IP to add the address each packet is going to.
- The bottom layer sends the packets over the actual connection, here Wi-Fi.
- The packets travel over the connection and arrive at the other computer's bottom layer.
- They go back up the same layers, and the email appears.
- Each layer only passes data to the one above or below it. Swap Wi-Fi for a cable, and only the bottom layer changes. The rest carry on as before.
These are the layers of the TCP/IP model. You don't need to learn their names.
Why use layers? Each layer can be built and changed without affecting the others, problems are easier to find, and different makers' products work together.
Key points
Layers
Before this: TCP/IP
- Network communication is split into layers. Each layer does one part of the job and passes data to the layer above or below.
- Each layer has its own protocols, e.g. HTTP works at a different layer to IP.
- Benefits: each layer can be built and changed without affecting the others; problems are easier to find; makers can focus on one layer; products from different makers work together.
- The 4-layer TCP/IP model is a common example. You don't need to learn the layer names.
Key words
Say what each one means, then tap to check.
Exam practice
26 questions in the style of the OCR exam, 51 marks in total. Try each one, then check the mark scheme.
Wired or wireless?
Hint
A gaming café needs speed and no lag, and its PCs don't move. Which connection suits that?
Recommend means choose one option and give reasons for your choice.
4 marks: give reasons for each point you make.
Show mark scheme
- Wired (no mark on its own).
- Faster / higher bandwidth for online games.
- More reliable / stable, less lag.
- PCs stay in one place, so cables aren't a problem.
- More secure.
Also accept: Wireless, if it is justified, e.g. no cables to trip over in a busy café.
Don't accept: "Wired is better" with no reason.
Example answer
Wired. Ethernet cables are faster and more stable than Wi-Fi, so games run with less lag. The PCs are desktops that stay in one place, so the cables don't get in the way. A wired connection is also harder to intercept.
Max 4. The choice gets no mark on its own; the marks are for the reasons.
Hint
Think about moving around, cables and adding new devices.
Give means give a short, clear answer. You don't need to explain it.
2 marks: make 2 separate points.
Show mark scheme
- Devices can move around.
- No cables needed / cheaper to install.
- Easy to add new devices.
Don't accept: "Faster" or "more secure". Wired is better at both.
1 mark each, max 2
Hint
How far apart are headphones and a phone? And what matters most for a tiny battery?
Explain means say what happens and why. Words like “because” and “so” help.
2 marks: aim for 2 things said, such as a point and then the reason for it.
Show mark scheme
- Only needs a short range / direct connection between two devices.
- Uses little power, so good for battery life.
1 mark for each point.
Hint
Encryption doesn't stop data being intercepted. What does it stop?
Explain means say what happens and why. Words like “because” and “so” help.
2 marks: aim for 2 things said, such as a point and then the reason for it.
Show mark scheme
- The data is scrambled / encoded using a key…
- …so if it is intercepted, it can't be understood without the key.
Don't accept: "It stops hackers getting the data". It stops them understanding it.
1 mark for each point.
Hint
Encryption uses one of these to scramble the data, and you need it to unscramble it too.
State means give a short, clear answer. You don't need to explain it.
1 mark: one answer is enough.
Show mark scheme
- The (correct) key.
IP and MAC addresses
Hint
Count the parts and look at what separates them: dots or colons?
State means give a short, clear answer. You don't need to explain it.
1 mark: one answer is enough.
Show mark scheme
- IPv4.
Hint
Think about how many devices are online today, compared with when IPv4 was invented.
Explain means say what happens and why. Words like “because” and “so” help.
2 marks: aim for 2 things said, such as a point and then the reason for it.
Show mark scheme
- There were not enough IPv4 addresses for all devices…
- …IPv6 uses more bits so gives far more addresses.
Don't accept: "IPv6 is faster". It was introduced to give far more addresses.
1 mark for each point.
Hint
Think about who sets each address, whether it can change, where it is used, and what it looks like.
Describe means say what it is like or what happens. Make each point a separate fact.
2 marks: make 2 separate points.
Show mark scheme
- MAC is fixed by the manufacturer; IP can change.
- MAC is used within a LAN; IP is used across networks / the internet.
- MAC is written in hex pairs; IPv4 is written as four denary numbers.
Don't accept: "A MAC address is for Apple Macs". Every network device has one.
1 mark each, max 2
Standards and protocols
Hint
Why can your phone connect to the Wi-Fi in any café, whoever made the router?
Explain means say what happens and why. Words like “because” and “so” help.
2 marks: aim for 2 things said, such as a point and then the reason for it.
Show mark scheme
- They are agreed rules followed by all manufacturers…
- …so hardware / software from different companies can work together.
1 mark for each point.
Hint
It is a set of what, for doing what?
Define means give the exact meaning in one clear sentence.
1 mark: one answer is enough.
Show mark scheme
- A set of rules for transferring data / communication between devices.
Hint
What would happen if two devices followed different rules for sending data?
Explain means say what happens and why. Words like “because” and “so” help.
1 mark: one point, with the reason.
Show mark scheme
- So they can understand / interpret the data sent between them.
Hint
TCP looks after the packets from start to finish. What does it do with them?
Describe means say what it is like or what happens. Make each point a separate fact.
2 marks: make 2 separate points.
Show mark scheme
- Splits data into packets / reassembles them in order.
- Checks all packets have arrived and requests any missing ones again.
Don't accept: "TCP sends the data to the right address". Addressing and routing packets is the job of IP.
1 mark each, max 2
Hint
IP is all about addresses. What does it add to each packet, and what does it do next?
Describe means say what it is like or what happens. Make each point a separate fact.
1 mark: make 1 separate point.
Show mark scheme
- Addresses packets and routes them to the correct destination.
Hint
What does the S in HTTPS stand for, and what does it do to the data?
Explain means say what happens and why. Words like “because” and “so” help.
2 marks: aim for 2 things said, such as a point and then the reason for it.
Show mark scheme
- Both are used to transfer web pages.
- HTTPS encrypts the data, HTTP does not.
Don't accept: "HTTPS is safer" with no reason. Say that it encrypts the data.
1 mark for both being used for web pages, 1 mark for the encryption difference.
Hint
What does a customer type in at the checkout? What could happen if it was intercepted?
State means give a short, clear answer. You don't need to explain it.
1 mark: one answer is enough.
Show mark scheme
- So payment details / personal data are encrypted and can't be read if intercepted.
Hint
The F stands for file.
State means give a short, clear answer. You don't need to explain it.
1 mark: one answer is enough.
Show mark scheme
- To transfer files between computers over a network.
Hint
How does a web designer get their pages onto a web server?
Give means give a short, clear answer. You don't need to explain it.
1 mark: one answer is enough.
Show mark scheme
- Uploading website files to a web server / downloading files from a server.
Hint
Where do the emails stay with IMAP? What does that mean for the second device?
Explain means say what happens and why. Words like “because” and “so” help.
2 marks: aim for 2 things said, such as a point and then the reason for it.
Show mark scheme
- IMAP keeps emails on the server…
- …so they are synced / available on both devices.
Don't accept: "IMAP is faster". The reason is that the emails stay on the server.
1 mark for each point.
Hint
Its name includes the words "mail transfer".
State means give a short, clear answer. You don't need to explain it.
1 mark: one answer is enough.
Show mark scheme
- SMTP.
Layers
Hint
What becomes easier when a big job is split into separate parts, each with its own rules?
Give means give a short, clear answer. You don't need to explain it.
2 marks: make 2 separate points.
Show mark scheme
- Layers can be changed without affecting others.
- Easier to find and fix problems.
- Developers can focus on one layer.
- Different makers' products work together.
1 mark each, max 2
Mixed questions on the whole page
Hint
Where does POP put the email, and what happens to the copy on the server?
Explain means say what happens and why. Words like “because” and “so” help.
2 marks: aim for 2 things said, such as a point and then the reason for it.
Show mark scheme
- POP downloads the email to one device (the laptop)…
- …and usually deletes it from the server, so the phone can't download it.
1 mark for each point.
- Sending an email
- Viewing a web page securely
- Transferring files between computers
- Reading email that stays on the server
Hint
Use the protocols table. One is for sending email, one for secure web pages, one for files, and one keeps email on the server.
Identify means pick out or name the right thing. A short answer is enough.
4 marks: make 4 separate points.
Show mark scheme
- a) SMTP
- b) HTTPS
- c) FTP
- d) IMAP
Don't accept: b) "HTTP". It is not secure.
Don't accept: d) "POP". POP downloads emails and usually removes them from the server.
1 mark for each.
- 192.168.0.12
- 3C:22:FB:9A:01:5E
- 2001:0db8:85a3:0000:0000:8a2e:0370:7334
Hint
IPv4 is 4 denary numbers with dots. A MAC address is 6 pairs of hex. IPv6 is 8 groups of hex.
State means give a short, clear answer. You don't need to explain it.
3 marks: make 3 separate points.
Show mark scheme
- a) IPv4
- b) MAC address
- c) IPv6
1 mark for each.
Hint
Use the wired or wireless table: speed, security and convenience. Mention both types.
Compare means say how the two things are similar or different. Mention both of them in each point.
4 marks: each point should mention both things.
Show mark scheme
- Wired is faster / more reliable.
- Wired is more secure, as signals cannot easily be intercepted.
- Wireless lets devices move around / no cables needed.
- Wireless is affected by distance and interference.
- Wired costs more to install cables.
Don't accept: Points about only one type. Compare means saying something about both.
Don't accept: "Wireless is slow" with nothing more. Say why, e.g. walls and distance weaken the signal.
Example answer
Wired connections are faster and more reliable, and harder to intercept, which suits a room of desktop PCs that stay in one place. Wireless needs no cables, so it is quicker and cheaper to set up and laptops can move around, but it is slower, affected by walls and interference, and the signal must be encrypted.
Max 4. Must cover both.
Hint
How far apart are the watch and the phone? How big is the watch's battery? What does the phone need to reach?
Explain means say what happens and why. Words like “because” and “so” help.
3 marks: aim for 3 things said, such as a point and then the reason for it.
Show mark scheme
- Bluetooth is short range / connects two devices directly…
- …and uses little power, so the watch's battery lasts longer.
- Wi-Fi has a longer range and is faster, so it suits connecting the phone to the router / internet.
Don't accept: "Bluetooth is faster". Wi-Fi is faster than Bluetooth.
1 mark for each point.
Hint
If every layer follows agreed rules, does a company need to know how the other layers were made?
Explain means say what happens and why. Words like “because” and “so” help.
2 marks: aim for 2 things said, such as a point and then the reason for it.
Show mark scheme
- Each layer has its own job and protocols / agreed rules for passing data to the next layer…
- …so a company can make a product for one layer (e.g. a Wi-Fi card) and it will work with other companies' products at the other layers.
1 mark for each point.