All exams← All GCSE Computer Science (Edexcel) notes

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

Revision notes

Networks: what and why

A network links devices to share data, hardware and internet access. Key types: LAN (Local Area Network, one site, owned by the organisation, eg a school) and WAN (Wide Area Network, spans multiple sites, uses third-party infrastructure like telecoms lines, eg the internet itself).

Network hardware

  • A NIC (Network Interface Controller) lets a device connect to a network, wired or wireless, each with a unique MAC address.
  • A switch connects devices within a LAN and sends data only to the intended recipient using MAC addresses.
  • A router connects different networks together and directs data using IP addresses; it is what connects a LAN to the internet.
  • WAPs (Wireless Access Points) let wireless devices join a wired network.

Network topologies

  • Star topology: every device connects to a central switch. Fast, reliable, one cable failure does not take down the network, but the switch is a single point of failure and it costs more cabling.
  • Mesh topology: devices connect to several others, so no central point of failure; used for the internet's backbone but expensive to set up.

Wired vs wireless

Wired (Ethernet, uses copper or fibre cables) gives faster, more reliable, more secure connections but limits mobility. Wireless (WiFi, radio waves) gives mobility and easy setup but can suffer interference, signal range issues and is inherently less secure.

The internet, DNS and protocols

  • The internet is a WAN made of interconnected networks; the World Wide Web (pages and content) is just one service that runs on it, alongside email, VoIP, etc.
  • DNS (Domain Name System) translates human-readable domain names into IP addresses.
  • A protocol is an agreed set of rules for communication. Know: TCP/IP (breaks data into packets and reassembles them), HTTP/HTTPS (web pages, HTTPS is encrypted), FTP (file transfer), and the layers idea: each protocol has a job.

Network security threats

  • Malware: viruses (attach to files, self-replicate), worms (spread without a host file), trojans (disguised as legitimate software), spyware, ransomware (encrypts files for payment).
  • Social engineering: phishing (fake emails/sites tricking users into giving data), pretexting, shouldering.
  • Brute-force attacks: trying many password combinations automatically.
  • Denial of Service (DoS) attacks: flooding a server with requests to take it offline.
  • SQL injection: entering malicious SQL code into input boxes to access or damage a database.

Defences

  • Firewalls filter incoming and outgoing traffic against rules.
  • Encryption scrambles data so it is unreadable without a key.
  • User access levels restrict what different users can see or do.
  • Strong passwords, biometrics and physical security (locks, ID badges) protect access.
  • Anti-malware software scans and removes threats; keep software patched and updated.

Common mistakes

  • Muddling LAN and WAN, or switch and router, is the most common slip: switch = within one network by MAC address, router = between networks by IP address.
  • Confusing the internet (the infrastructure) with the World Wide Web (a service on it).
  • Forgetting HTTPS is HTTP plus encryption, not a separate unrelated protocol.

Key facts

Flashcards

What is the difference between a LAN and a WAN?
A LAN covers one site (eg a school); a WAN spans multiple sites and uses third-party infrastructure, like the internet.
tap to reveal
What does a switch do?
Connects devices within a LAN and sends data only to the intended device using MAC addresses.
tap to reveal
What does a router do?
Connects different networks together and directs data between them using IP addresses.
tap to reveal
What is a NIC?
Network Interface Controller: hardware that lets a device connect to a network, with a unique MAC address.
tap to reveal
What is a WAP?
Wireless Access Point: lets wireless devices connect to a wired network.
tap to reveal
Describe a star topology.
All devices connect to a central switch; fast and reliable, but the switch is a single point of failure.
tap to reveal
Describe a mesh topology.
Devices connect to several other devices with no central point, giving high reliability but higher cost.
tap to reveal
What does DNS do?
Translates human-readable domain names into IP addresses so devices can find servers.
tap to reveal
What is the role of TCP/IP?
It breaks data into packets for transmission and reassembles them correctly at the destination.
tap to reveal
What is the difference between HTTP and HTTPS?
HTTPS is HTTP with encryption added, making data transfer between browser and server secure.
tap to reveal
What is phishing?
A social engineering attack using fake emails or websites to trick users into revealing personal data.
tap to reveal
What is a Denial of Service (DoS) attack?
Flooding a server with excessive traffic or requests so it cannot serve legitimate users.
tap to reveal
What is SQL injection?
Entering malicious SQL code into an input field to access, change or damage a database.
tap to reveal
What does a firewall do?
Filters incoming and outgoing network traffic according to a set of security rules.
tap to reveal
Name three types of malware.
Viruses (self-replicate by attaching to files), worms (spread without a host file), trojans (disguised as legitimate software).
tap to reveal
Practice questions

Networks & security: 5 practice questions

Q1. A Local Area Network (LAN) is best described as a network that:
  • A.  Only connects two computers directly with no other devices
  • B.  Covers a large geographical area spanning multiple countries
  • C.  Covers a small geographical area, such as one building or site
  • D.  Always uses satellite links to connect devices
Show answer & explanation
✓ Answer: C. Covers a small geographical area, such as one building or site
A LAN spans a small geographical area like a single school or office building, usually owned by one organisation. A WAN covers a wide area such as multiple cities or countries, often using third-party infrastructure like telephone lines or satellites.
Q2. Which device is primarily used to connect a LAN to the internet by translating between different network protocols and providing the connection to an ISP?
  • A.  Hub
  • B.  Router
  • C.  Network Interface Card
  • D.  Switch
Show answer & explanation
✓ Answer: B. Router
A router directs data packets between networks and connects a LAN to a WAN such as the internet, usually via an ISP. A switch only directs traffic within a single LAN, and a hub broadcasts data to all connected devices rather than routing intelligently.
Q3. What is the main advantage of a star network topology compared to a bus topology?
  • A.  It uses less cable than any other topology
  • B.  If one cable fails, only that device loses connection rather than the whole network
  • C.  Data collisions between more than two devices are impossible even on a busy network
  • D.  It requires no central device to operate
Show answer & explanation
✓ Answer: B. If one cable fails, only that device loses connection rather than the whole network
In a star topology, each device has its own cable to a central switch or hub, so a single cable fault only isolates one device rather than bringing down the entire network, unlike a bus topology. Star networks do need a central device and generally use more cable than a bus, since every device needs its own run back to the centre.
Q4. In a client-server network model, what is the main role of the server?
  • A.  To store files exclusively on each client machine instead of centrally
  • B.  To provide internet access only, with no other network functions
  • C.  To act as a backup device that is only switched on during power cuts
  • D.  To centrally manage resources, security and services for the connected clients
Show answer & explanation
✓ Answer: D. To centrally manage resources, security and services for the connected clients
A server is a powerful central computer that manages shared resources such as files, printers, user accounts and security for client machines on the network. Client-server networks are common in schools and businesses because they allow centralised control, unlike peer-to-peer networks where devices share resources directly.
Q5. Which of these is a key characteristic of a peer-to-peer network compared to a client-server network?
  • A.  There is always a dedicated central server managing all resources
  • B.  It is easier to enforce centralised security policies across all devices
  • C.  It requires specialist network management staff to administer it
  • D.  All computers have equal status and can share files directly with each other
Show answer & explanation
✓ Answer: D. All computers have equal status and can share files directly with each other
In a peer-to-peer network, every computer has equal status and can share resources such as files directly with other computers, with no dedicated server. This makes it cheaper and simpler for small networks, but harder to manage security centrally compared with a client-server setup.
Test yourself
See the GCSE Computer Science (Edexcel) page

More GCSE Computer Science (Edexcel) topics