Skip to content

1.3.2 Wired and wireless networks, protocols and layers

GCSE · Paper 1 · Computer systems · Section 1.3 · 20 flashcards · 12 practice questions

Questions

1.3.2 Wired and wireless networks, protocols and layers

Devices can join a network with a cable or without one. Once they are joined, they need agreed rules so that they understand each other. This topic covers the ways of connecting, how data is kept secret, how devices are identified, and the rules used to move data.

Wired and wireless connections

Ethernet (wired)

Ethernet is the standard way of connecting devices to a network with a cable. A cable plugs into the NIC of the device and into a switch or router.

Wi-Fi (wireless)

Wi-Fi connects devices to a network using radio waves. Devices connect to a wireless access point or router. It is used in homes, schools, cafes and offices.

Bluetooth (wireless)

Bluetooth connects devices wirelessly over a short distance. It is used for headphones, speakers, game controllers and sharing files between nearby phones.

You do not need to know how these three work inside. You need to compare them and choose the best one for a situation.

EthernetWi-FiBluetooth
ConnectionCableRadio wavesRadio waves
RangeLength of the cableWhole house or buildingShort (a few metres)
SpeedUsually the fastestFast, but usually slower than EthernetSlowest of the three
ReliabilityVery reliable, little interferenceCan be affected by walls and other signalsCan be affected by other signals
SecurityHarder to intercept, as someone needs to reach the cableSignal travels through the air, so it must be encryptedShort range, but data can still be intercepted
ConvenienceDevices cannot move far from the socketDevices can move aroundDevices can move around
Typical useDesktop PC, servers, games consoles needing speedLaptops, phones, tabletsHeadphones, speakers, a mouse or keyboard
Pros & Cons
Wired (Ethernet)Wireless (Wi-Fi, Bluetooth)
Faster and more stableDevices can move around
More secureNo cables to buy or fit
Not slowed by wallsEasy to add new devices
Cables are needed, which cost money and can be a trip hazardSlower, and signal can be weakened by walls and other devices
Worked Example
Which connection for each situation?

- A school server room that must run fast all day with no breaks: Ethernet, because it is fast, stable and secure.
- Students using tablets as they walk around a classroom: Wi-Fi, because it covers the whole room and the devices can move.
- Wireless headphones connected to a phone: Bluetooth, because the devices are close together and it needs little set-up.
Exam Tip
In a "recommend" question, name the connection, then give a reason that uses a detail from the scenario. "Wi-Fi, because the staff move between rooms with laptops" gets the marks. "Wi-Fi because it is good" does not.

Encryption

Data on a network can be intercepted. This is easy on wireless networks, because the signal travels through the air and anyone nearby can pick it up.

Definition
Encryption scrambles data into a form that cannot be understood. The original data is called plaintext. The scrambled data is called ciphertext. Only someone with the correct key can turn it back into plaintext.

The principle:

  • 1.
    The sender's device uses an encryption algorithm and a key to turn the plaintext into ciphertext.
  • 2.
    The ciphertext is sent across the network.
  • 3.
    The receiver uses the key to turn the ciphertext back into plaintext.
If someone intercepts the ciphertext, they cannot read it without the key. Encryption does not stop the data being intercepted. It stops the interceptor from understanding it.
Key Point
Encryption is used to secure data that is sent across a network: on Wi-Fi, when shopping or banking online, and when sending messages.
Warning
Encryption does not stop someone stealing the data. It makes the stolen data useless to them. Do not write "encryption stops hackers getting the data".

Addressing

Every device on a network needs a way to be identified so that data reaches the right place. There are two kinds of address.

IP address

Definition
An IP address identifies a device on a network. It is used to send data to the right place across the Internet. IP stands for Internet Protocol.

There are two formats.

IPv4 uses 32 bits. It is written as four numbers separated by dots. Each number is a denary value from 0 to 255 (one byte). Example: 192.168.0.25.IPv6 uses 128 bits. It is written as eight groups of four hexadecimal digits, separated by colons. Example: 2001:0db8:85a3:0000:0000:8a2e:0370:7334.
IPv4IPv6
Length32 bits128 bits
Written as4 numbers (0 to 255) separated by dots8 groups of 4 hex digits separated by colons
Number of addressesAbout 4 billionA vastly bigger number

IPv6 was created because the world was running out of IPv4 addresses. There are now billions of devices, such as phones, tablets and smart TVs, that all need an address.

Remember
Hex is used to write an IPv6 address because it is shorter than binary. A group of 4 hex digits is 16 bits, and 8 groups make 128 bits.

MAC address

Definition
A MAC address (Media Access Control address) is a unique number given to the NIC of a device when it is made. It identifies that device on a network.
  • •
    It is assigned to the device by the manufacturer. It is built into the NIC.
  • •
    It is made of 48 bits, written as 12 hexadecimal digits, usually in pairs separated by colons or hyphens. Example: 3C:52:82:1A:9F:0D.
  • •
    The first half identifies the manufacturer, and the second half identifies the device.
  • •
    It is used to identify a device on a local network. A switch uses MAC addresses to send data to the correct device.
Key Point
An IP address says where a device is on the Internet. A MAC address says which device it is. The MAC address belongs to the device hardware (the NIC), and is given to it when it is made.

Standards

Definition
A standard is a set of agreed rules that lets hardware and software made by different companies work together.

Without standards, a laptop from one company might not connect to a router from another, and a web page might look different in each browser. Standards mean that devices from different makers can be bought and used together, and make the market bigger. You do not need to learn any individual standards.

Protocols

Definition
A protocol is a set of rules for how data is transferred between devices on a network.

Both devices must use the same protocol, or they cannot understand each other.

TCP/IP

TCP/IP is the set of rules the Internet is built on. TCP (Transmission Control Protocol) sets up the connection, splits the data into pieces and puts the pieces back together in the right order at the other end. IP (Internet Protocol) gives the addresses and makes sure each piece is sent towards the right destination.

HTTP and HTTPS

HTTP (Hypertext Transfer Protocol) is used to request web pages and send them to the browser. A web browser uses HTTP to ask a web server for a page.HTTPS is HTTP with encryption. The data sent between the browser and the server is encrypted, so it cannot be read if it is intercepted. It is used for shopping, banking and logging in. The address starts with https and the browser shows a padlock.

FTP

FTP (File Transfer Protocol) is used to transfer files between computers over a network. It is used to upload files to a web server, or to download large files.

Email protocols

Three protocols are used for email:

ProtocolNameUsed for
SMTPSimple Mail Transfer ProtocolSending email, from your device to the mail server and between mail servers
POPPost Office ProtocolReceiving email. It downloads email to your device, and usually removes it from the server
IMAPInternet Message Access ProtocolReceiving email. It keeps email on the server, so you can read the same mail on several devices
Key Point
SMTP sends. POP and IMAP receive. IMAP leaves the email on the server and keeps all your devices in step. POP downloads it to one device.
Worked Example
Anna reads her email on her phone and her laptop. Which protocol should she use to receive mail?

IMAP. The email stays on the mail server, so both devices show the same inbox. If she deletes an email on her phone, it disappears on her laptop too. POP would download the email to one device, and the other device would not see it.

She would use SMTP to send her replies.
ProtocolPurpose
TCP/IPThe rules of the Internet: splitting data, addressing and delivering it
HTTPRequesting and sending web pages
HTTPSRequesting and sending web pages securely, using encryption
FTPTransferring files
SMTPSending email
POPReceiving email (downloads to the device)
IMAPReceiving email (kept on the server)

Layers

Network software is split into layers. Each layer does one job, and passes its result to the layer above or below it. You do not need to name the layers or know what each does. You need to know what layering is and why it helps.

Definition
A layer is a group of protocols that does one part of the job of sending data. Network communication is split into layers, and each layer only deals with its own task.

An everyday example is posting a parcel. You pack the parcel, a postal worker sorts it, a lorry delivers it. Each person does one job and does not need to know how the others do theirs.

Benefits of layers

  • •
    Each layer has one clear job, so the problem is broken into smaller parts that are easier to understand and design.
  • •
    A layer can be changed or improved without changing the other layers, as long as it still connects to the layers next to it.
  • •
    It is easier to find and fix faults, because a problem can be traced to one layer.
  • •
    Layers set out clear rules between them, which supports standards, so that different companies can each make products for one layer and they will still work together.
Exam Tip
A good answer to "give a benefit of using layers" has a fact and a result: "A layer can be changed without affecting the others, so a new protocol can be added without rewriting the whole system."

Exam technique

  • •
    State and give: a short fact, one mark each. "State one protocol used to send email" is SMTP.
  • •
    Describe: say what a thing is or does. For encryption, give the steps: plaintext, key, ciphertext, key again to get plaintext.
  • •
    Explain: give a reason. "HTTPS is better because the data is encrypted, so it cannot be read if it is intercepted."
  • •
    Compare (Ethernet, Wi-Fi, Bluetooth): write about both sides in the same sentence, using words such as "whereas" and "but".
  • •
    Recommend or justify: choose one, then give a reason that uses the scenario.
  • •
    Discuss (8 marks): give both sides, apply them to the scenario, and end with a conclusion that picks one and says why.
  • •
    For IPv4 and IPv6, give the number of bits and the format. For a MAC address, say it is assigned to the device, 48 bits and hexadecimal.
  • •
    Do not mix up POP and IMAP, or HTTP and HTTPS.