All exams← All GCSE Computer Science (AQA) notes

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

Revision notes

Networks: types and hardware

A LAN (Local Area Network) covers one site, like a school or office, and is owned by one organisation.

A WAN (Wide Area Network) covers a large geographical area and links multiple LANs, often using infrastructure owned by third parties (the internet is the biggest WAN).

Key hardware: a switch connects devices within a LAN and sends data only to the correct device using MAC addresses; a router connects different networks together and directs data between them using IP addresses; a wireless access point (WAP) lets devices connect without cables; a network interface card (NIC) lets a device connect to a network at all, wired or wireless.

Network topologies

Star topology: every device connects to a central switch. If one cable fails only that device drops off, but if the switch fails the whole network goes down. This is the standard setup in schools and offices.

Mesh topology: devices connect directly to many other devices, giving strong reliability with no single point of failure, but it is expensive and complex to set up.

Wired vs wireless and protocols

Ethernet is the standard for wired connections; Wi-Fi is the standard for wireless. Wired is generally faster and more secure but less flexible.

TCP/IP is the protocol suite that governs how data is split into packets, addressed and reassembled across the internet.

Common application protocols: HTTP (unencrypted web browsing), HTTPS (encrypted web browsing, uses TLS), FTP (file transfer), SMTP/IMAP/POP3 (email sending and receiving).

The key common mistake is mixing up HTTP and HTTPS, or forgetting that HTTPS uses encryption via TLS, not just 's' for 'secure' with no mechanism behind it.

Network security threats

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

Social engineering exploits human weakness rather than technical flaws: phishing (fake emails/links to steal data) and shoulder surfing are the classic exam examples.

Brute-force attacks try every possible password combination; SQL injection inserts malicious SQL code into input fields to access or damage a database; DoS (Denial of Service) attacks flood a server with traffic to take it offline.

Prevention methods

Firewalls monitor and filter incoming and outgoing traffic based on rules.

Encryption scrambles data so it is unreadable without a key, protecting data in transit.

Strong passwords, user access levels and biometric authentication reduce unauthorised access.

Physical security (locked server rooms) and regular software updates/patches close known vulnerabilities.

A common exam mistake is calling a firewall 'anti-virus' -- they are different: anti-virus detects and removes malware already on a device, a firewall controls network traffic.

Key facts

Flashcards

What is the difference between a LAN and a WAN?
A LAN covers one site and is owned by one organisation; a WAN spans a wide geographical area and links multiple LANs.
tap to reveal
What does a switch do and how?
Connects devices within a LAN and sends data to the correct device using MAC addresses.
tap to reveal
What does a router do and how?
Connects different networks together and directs data between them using IP addresses.
tap to reveal
Star topology: what happens if the central switch fails?
The whole network goes down, because every device relies on that single switch.
tap to reveal
Star topology: what happens if one device's cable fails?
Only that device drops off; the rest of the network keeps working.
tap to reveal
What is the main advantage and disadvantage of a mesh topology?
Advantage: no single point of failure, very reliable. Disadvantage: expensive and complex to set up.
tap to reveal
What does TCP/IP do?
It is the protocol suite that splits data into packets, addresses them, and reassembles them correctly across a network.
tap to reveal
What is the difference between HTTP and HTTPS?
HTTPS encrypts data using TLS; HTTP sends data unencrypted.
tap to reveal
What is the difference between a virus and a worm?
A virus needs a host file to spread; a worm self-replicates across a network without needing a host file.
tap to reveal
What is phishing?
A social engineering attack using fake emails or links to trick users into revealing personal data.
tap to reveal
What is a DoS attack?
Flooding a server with traffic to overwhelm it and take it offline for legitimate users.
tap to reveal
What is SQL injection?
Inserting malicious SQL code into an input field to access, change or damage a database.
tap to reveal
What is the difference between a firewall and anti-virus software?
A firewall filters incoming and outgoing network traffic by rules; anti-virus detects and removes malware already on a device.
tap to reveal
What does encryption do?
Scrambles data so it is unreadable to anyone without the correct decryption key, protecting it in transit.
tap to reveal
Name three common prevention methods against network attacks.
Firewalls, encryption, strong passwords/user access levels (also biometric authentication and regular software patches).
tap to reveal
Practice questions

Networks & security: 5 practice questions

Q1. What is the main purpose of a network's 'star' topology compared to a 'bus' topology?
  • A.  Each device connects to a central switch, so a single cable fault does not bring down the whole network
  • B.  Devices are connected in a closed loop so data always travels in one direction
  • C.  Every device connects directly to every other device without any central hardware
  • D.  All devices share one central cable, reducing the amount of cabling needed
Show answer & explanation
✓ Answer: A. Each device connects to a central switch, so a single cable fault does not bring down the whole network
In a star topology each device has its own cable to a central switch or hub, so if one cable fails only that device loses connection, not the whole network. A bus topology shares a single backbone cable, so a break can disrupt the whole network. This resilience is why star topology is standard in most modern LANs.
Q2. Which device is primarily used to connect a local area network (LAN) to the internet, translating between the LAN's internal addressing and the outside network?
  • A.  Switch
  • B.  Hub
  • C.  Router
  • D.  Network interface card
Show answer & explanation
✓ Answer: C. Router
A router directs data packets between different networks, including connecting a home or school LAN to the internet, and can perform functions like NAT. A switch only forwards data between devices within the same LAN using MAC addresses, and a hub simply broadcasts data to all connected devices without any intelligence.
Q3. A Wide Area Network (WAN) differs from a Local Area Network (LAN) mainly because a WAN:
  • A.  Always uses wireless connections instead of cables
  • B.  Covers a large geographical area and often uses third-party infrastructure
  • C.  Cannot connect to the internet
  • D.  Only ever connects two computers together
Show answer & explanation
✓ Answer: B. Covers a large geographical area and often uses third-party infrastructure
A WAN spans a large geographical area, such as connecting offices in different cities or countries, and typically relies on telecommunications infrastructure owned by other companies. A LAN, by contrast, covers a small area like one building or site and is usually owned by the organisation using it.
Q4. What does bandwidth measure in a computer network?
  • A.  The physical distance data can travel before it degrades
  • B.  The time delay between sending and receiving a signal
  • C.  The number of devices that can connect to a network at once
  • D.  The maximum amount of data that can be transferred in a given time period
Show answer & explanation
✓ Answer: D. The maximum amount of data that can be transferred in a given time period
Bandwidth is the maximum rate of data transfer across a network connection, usually measured in bits per second (e.g. Mbps). Higher bandwidth means more data can be sent or received per second, which affects things like video streaming quality. It is not the same as latency, which measures delay.
Q5. Which of these best describes the term 'latency' in networking?
  • A.  The physical length of the network cable
  • B.  The delay between a data request being sent and a response being received
  • C.  The total amount of data sent over a connection in one session
  • D.  The maximum number of devices a router can support
Show answer & explanation
✓ Answer: B. The delay between a data request being sent and a response being received
Latency is the time delay between a signal being sent and received, often measured in milliseconds, and is critical for real-time applications like online gaming or video calls. High latency causes noticeable lag even if bandwidth is high, because latency and bandwidth measure different things.
Test yourself
See the GCSE Computer Science (AQA) page

More GCSE Computer Science (AQA) topics