All exams← All GCSE Computer Science (OCR) notes

Networks & security: GCSE Computer Science (OCR) revision notes

Revision notes

Networks: types and hardware

A LAN (Local Area Network) covers one site, like a school or office.

A WAN (Wide Area Network) covers a large geographical area and links multiple LANs, often using third-party infrastructure like phone lines or satellites - the internet is the largest WAN.

Key hardware: a switch connects devices within a LAN and directs data only to the correct device using MAC addresses.

A router connects different networks together (e.g. a LAN to the internet) and directs data using IP addresses.

A network interface card (NIC) allows a device to connect to a network, and has a unique MAC address burned in at manufacture.

Wi-Fi uses radio waves and needs a wireless access point; Ethernet uses cables and is generally faster and more reliable.

Network topologies

In a star topology, every device connects to a central switch or hub - if one cable fails only that device drops off, but if the switch fails the whole network goes down.

In a mesh topology, devices connect directly to many other devices, giving high reliability with no single point of failure, but it is expensive and complex to set up.

The internet and protocols

DNS (Domain Name System) translates human-readable domain names into IP addresses.

An IP address identifies a device on a network; IPv4 uses 32 bits (e.g. 192.168.1.1) giving about 4.3 billion addresses, while IPv6 uses 128 bits to solve address exhaustion.

TCP/IP is the protocol stack that governs how data is split into packets, addressed, sent and reassembled.

HTTP transfers web pages in plain text; HTTPS does the same but encrypts the data using TLS/SSL, shown by the padlock icon.

Common mistake: students confuse HTTP and HTTPS - only HTTPS is encrypted, HTTP is not secure for sensitive data.

Other key protocols: FTP transfers files, SMTP sends email, IMAP/POP3 receive email.

Network security threats

Malware includes viruses (attach to files and self-replicate), worms (self-replicate without a host file, spreading across networks), trojans (disguised as legitimate software), spyware and ransomware (encrypts files and demands payment).

Social engineering exploits people rather than technology - phishing sends fake emails/messages to trick users into giving up data.

Other threats: brute-force attacks (trying many passwords), denial-of-service (DoS) attacks flood a server with traffic to take it offline, SQL injection inserts malicious code into a database via an input box, and man-in-the-middle attacks intercept communication between two parties.

Preventing vulnerabilities

Penetration testing simulates an attack to find weaknesses before criminals do.

Anti-malware software detects and removes malicious programs.

Firewalls monitor and control incoming/outgoing traffic based on security rules, blocking unauthorised access.

User access levels restrict what different users can see or do on a system.

Passwords should be strong (mixing cases, numbers, symbols) and systems should use encryption to protect data in transit and at rest.

Common mistake: encryption prevents data being read if intercepted, but does NOT prevent an attack happening in the first place - it is not the same as a firewall.

Physical security (locks, biometrics) also matters alongside software defences.

Key facts

Flashcards

What does LAN stand for and what does it cover?
Local Area Network - covers one site, such as a school or office.
tap to reveal
What does WAN stand for and what does it cover?
Wide Area Network - covers a large geographical area, linking multiple LANs.
tap to reveal
What addresses does a switch use to direct data?
MAC addresses.
tap to reveal
What addresses does a router use to direct data?
IP addresses, to connect different networks together.
tap to reveal
How many bits does an IPv4 address use, and how many addresses does that give?
32 bits, giving about 4.3 billion addresses.
tap to reveal
Why was IPv6 introduced?
To solve IPv4 address exhaustion, using 128-bit addresses instead of 32-bit.
tap to reveal
What does DNS do?
Translates human-readable domain names into IP addresses.
tap to reveal
What is the key difference between HTTP and HTTPS?
HTTPS encrypts data using TLS/SSL; HTTP sends data in plain, unencrypted text.
tap to reveal
What is the main weakness of a star topology?
If the central switch fails, the whole network goes down.
tap to reveal
What is the main advantage of a mesh topology?
No single point of failure, since devices connect directly to many others.
tap to reveal
What is the difference between a virus and a worm?
A virus attaches to a host file and self-replicates; a worm self-replicates across networks without needing a host file.
tap to reveal
What is phishing?
A social engineering attack using fake emails or messages to trick users into giving up data.
tap to reveal
What is a denial-of-service (DoS) attack?
An attack that floods a server with traffic to take it offline.
tap to reveal
What is SQL injection?
Inserting malicious code into a database via an input box on a form or website.
tap to reveal
What is the purpose of penetration testing?
To simulate an attack and find security weaknesses before criminals can exploit them.
tap to reveal
Practice questions

Networks & security: 5 practice questions

Q1. What is the main purpose of a network protocol?
  • A.  A set of rules that governs how devices communicate on a network
  • B.  A program that removes viruses from a network
  • C.  A physical cable used to connect devices
  • D.  A device that boosts wireless signal strength
Show answer & explanation
✓ Answer: A. A set of rules that governs how devices communicate on a network
A protocol is an agreed set of rules that defines how data is formatted, transmitted and received so different devices can understand each other. It is not a physical component or piece of anti-malware software.
Q2. Which of these best describes a LAN (Local Area Network)?
  • A.  A network of servers hosting websites on the internet
  • B.  A network confined to a single site such as one building or campus
  • C.  A network that spans multiple countries using satellite links
  • D.  A temporary connection between two phones via Bluetooth
Show answer & explanation
✓ Answer: B. A network confined to a single site such as one building or campus
A LAN covers a small geographical area like a school or office, usually owned by one organisation. A network spanning countries would be a WAN, not a LAN.
Q3. What does WAN stand for in networking?
  • A.  Web Application Network
  • B.  Wireless Access Node
  • C.  Wired Area Node
  • D.  Wide Area Network
Show answer & explanation
✓ Answer: D. Wide Area Network
WAN stands for Wide Area Network, a network that spans a large geographical area such as multiple cities or countries, often connecting several LANs together. The internet is the largest example of a WAN.
Q4. Which network topology connects every device directly to a central switch or hub?
  • A.  Bus topology
  • B.  Ring topology
  • C.  Star topology
  • D.  Mesh topology
Show answer & explanation
✓ Answer: C. Star topology
In a star topology, each device has its own cable running to a central switch, so a single cable fault only affects that one device. A ring topology instead connects devices in a closed loop.
Q5. What is a key disadvantage of a bus topology compared to a star topology?
  • A.  It requires a separate cable for every pair of devices
  • B.  A single break in the main cable can bring down the entire network
  • C.  It cannot be used with wired connections at all
  • D.  Every device must contain its own central switch
Show answer & explanation
✓ Answer: B. A single break in the main cable can bring down the entire network
In a bus topology all devices share one central cable (the backbone), so if that cable breaks the whole network can fail. A star topology avoids this because each device has its own independent connection to the switch.
Test yourself
See the GCSE Computer Science (OCR) page

More GCSE Computer Science (OCR) topics