Computer Science · A2

Networks

How data travels around the world and how it is protected along the way. In 7Quest it is Network Hub: 8 stages, 98 quick questions and 26 exam-style ones.

What the stages cover

Codes follow the 2027 guide (A1–A4 and B1–B4). HL-only stages are marked. Each stage is a short lesson, quick questions, a minigame and an exam-style question.

  1. Types of network and devices
    Distinguish between LAN, WLAN, WAN, PAN and VPN, explain what each network device does and where it goes, and place each device in a layer of the TCP/IP model.
    Syllabus A2.1.1, A2.1.3
  2. The internet, the cloud and network models
    Evaluate the internet, the cloud, distributed systems, edge computing and mobile networks, and compare client–server with P2P.
    Syllabus A2.1.2, A2.2.3
  3. Protocols and the TCP/IP model
    Explain what each transport and application protocol does and compare TCP with UDP (HL extension: describe the role of each layer of the TCP/IP model, encapsulation and how the layers work together for reliable delivery).
    Syllabus A2.1.4, A2.1.5
  4. Topologies, servers and segmentation
    Evaluate star, mesh and hybrid topologies and justify segmentation using subnets, VLANs and a DMZ (HL extension: explain the function of each type of server).
    Syllabus A2.2.1, A2.2.2, A2.2.4
  5. IP addresses, media and packets
    Distinguish IPv4/IPv6, public/private and static/dynamic addresses, explain NAT, choose a transmission medium and describe packet switching.
    Syllabus A2.3.1, A2.3.2, A2.3.3
  6. Static and dynamic routingHL
    Explain how routers forward packets with static and dynamic routing, and predict what happens when a link fails.
    Syllabus A2.3.4
  7. Threats, firewalls and countermeasures
    Explain how a firewall applies its rules and evaluate its effectiveness (HL extension: recognise the typical vulnerabilities of a network and propose the right countermeasure for each one).
    Syllabus A2.4.1, A2.4.2, A2.4.3
  8. Encryption, signatures and certificates
    Compare symmetric and asymmetric encryption, explain digital signatures and certificates, and describe how HTTPS/TLS combines both types of encryption.
    Syllabus A2.4.4

Two questions to try

Written for 7Quest in the style of the exam, not taken from past papers. Answer first, then open the markscheme.

Distinguish3 marksTypes of network and devices

Distinguish between a local area network (LAN) and a wide area network (WAN).

Show the markscheme

Markscheme (3 marks)

  1. A LAN covers a small geographical area (a building/campus), whereas a WAN covers a large area (cities/countries).
  2. The infrastructure of a LAN is usually owned by the organisation, whereas a WAN uses links leased from third parties (operators/ISPs).
  3. A LAN usually has a higher transmission speed and a lower error rate than a WAN.
  4. A WAN usually interconnects several LANs (the internet is a WAN).

A full-marks answer

A LAN covers a small area, such as a school, whereas a WAN covers a large geographical area, such as a bank’s branches in several countries. The infrastructure of a LAN (cables, switches) normally belongs to the organisation, whereas a WAN uses links leased from telecommunications operators. As a result, a LAN usually offers higher speed and fewer errors than a WAN, which normally interconnects several LANs.

Explain8 marksPaper 1 styleHLChallengeProtocols and the TCP/IP model

A student downloads a large video file from a web server to a laptop connected to the school Wi-Fi.

(a) Describe the function of the internet layer in this transfer. [2]

(b) Some packets are lost and some frames are corrupted on the way. Explain how the layers of the TCP/IP model still ensure that the complete file arrives without errors. [4]

(c) Outline why the school could replace its Wi-Fi with Ethernet cables without changing the browser or the web server software. [2]

Show the markscheme

Markscheme (8 marks)

  1. (a) It adds an IP header with the source and destination IP addresses (logical addressing) to each segment, forming packets…
  2. (a) …and routes each packet between networks, router by router (next hop), towards the destination; best effort.
  3. (b) The network interface layer checks each frame’s error-checking code (CRC) and discards corrupted frames.
  4. (b) TCP numbers every segment and the receiver acknowledges the data it receives.
  5. (b) Data that is lost or discarded is not acknowledged, so the sender’s TCP retransmits it after a timeout.
  6. (b) The receiving TCP reorders the segments by sequence number and passes the complete, correct file to the application.
  7. (c) Each layer only uses the service of the layer below through a defined interface / layers are independent.
  8. (c) Only the network interface layer changes (Wi-Fi to Ethernet); the transport and application layers (TCP, HTTP) are unaffected.

A full-marks answer

(a) The internet layer adds an IP header containing the source and destination IP addresses to each segment, turning it into a packet, and each router uses this address to forward the packet to the next hop until it reaches the network of the laptop. It does this on a best-effort basis, without guaranteeing delivery.

(b) At the network interface layer, every frame carries an error-checking code in its trailer, so a frame damaged by interference is detected and discarded. At the transport layer, TCP gives each segment a sequence number and the laptop acknowledges the data it receives. Any segment that is lost by a router or discarded because it was corrupted is never acknowledged, so the server’s TCP retransmits it when its timer expires. The laptop’s TCP puts the segments back in order and only then passes the complete, correct file to the browser.

(c) The layers are independent: each layer uses the service of the layer below through a defined interface, without depending on how that layer does its job. Changing from Wi-Fi to Ethernet only changes the network interface layer, so IP, TCP and HTTP, and therefore the browser and the server, work exactly as before.

The other 24 questions in this topic are in the app, marked point by point, and anything you miss comes back in your review. If this is the topic you find hardest, you can make it your free topic and do all of it, with short practice tests on it, without paying or giving a card.

Start Computer Science free