← Back to subjects
⭐ 0
AQA A-level Computer Science (7517) Β· Fundamentals of communication & networking
Mini-Lesson

Communication & networking

This mini-lesson covers AQA 4.9 β€” Fundamentals of communication and networking: how bits actually get from one machine to another, and the layered protocol stack that makes the internet possible.

  • Serial vs parallel, bandwidth, bit rate and latency
  • Topologies; client-server vs peer-to-peer
  • The TCP/IP stack and packet switching
  • DNS, IP addressing and subnet masks
  • NAT, firewalls and encryption in transit

Work through each screen, answer the questions as you go (some are recall, some are calculations you must actually work out) and collect ⭐ stars. Press Start when you're ready.

4.9 Β· Transmission

Serial, parallel, bandwidth and bit rate

Serial transmission sends bits one after another down a single wire. Parallel sends several bits simultaneously down several wires.

Parallel sounds obviously faster β€” and for short distances at low speeds it was. But over distance it fails badly:

  • Skew β€” the wires are never quite identical, so bits sent together arrive at slightly different times. The longer the cable and the higher the clock, the worse it gets.
  • Crosstalk β€” adjacent wires induce interference in each other.
  • Parallel needs many more conductors, so cables are bulkier and dearer.

That is why USB, SATA and Ethernet are all serial: one clean, very fast channel beats many mediocre ones.

TermMeaning
BandwidthThe range of frequencies a channel can carry β€” and, loosely, its maximum capacity.
Bit rateBits per second actually transmitted. Bit rate rises with bandwidth.
Baud rateSignal changes per second. Bit rate = baud rate Γ— bits per signal change β€” so bit rate can exceed baud rate.
LatencyThe delay before transfer begins. A satellite link can have huge bandwidth and dreadful latency.

Synchronous vs asynchronous: synchronous transmission is governed by a shared clock signal. Asynchronous wraps each byte in a start bit and a stop bit (often with a parity bit), so the receiver can re-synchronise on every byte β€” simpler, but with more overhead.

Calculate

Your turn β€” transfer time

1A 5 MB file is transferred over a link with a bit rate of 10 Mbps. Taking 1 MB = 8 Mbit and ignoring overheads, how many seconds does the transfer take?
seconds
Hint: First convert 5 megabytes into megabits, then divide by the bit rate in megabits per second.
4.9 Β· Networks

Topologies and network models

Physical star: every device has its own cable to a central switch.

  • A single cable failure isolates one device only;
  • no collisions β€” the switch sends each frame only to its destination;
  • easy to add devices, but it needs a lot of cable and the switch is a single point of failure.

Physical bus: all devices share one backbone cable with terminators at each end. Cheap and cable-light, but every device sees every transmission, collisions rise with traffic, and a break in the backbone downs the whole network.

Physical vs logical: the two can differ. Classic Ethernet was wired as a physical star to a hub but behaved as a logical bus β€” every device still saw everything. Topology is about how data flows, not just how the cables run.

Client-serverPeer-to-peer
Clients request; a dedicated server providesEvery peer is both client and server
Central control: backups, security, updates in one placeNo central control; no single point of failure
The server is a bottleneck and a single point of failure; costlyScales with users β€” more peers means more capacity
Schools, businesses, the webFile sharing, blockchain, some video streaming

Wireless (CSMA/CA): a wireless station cannot detect collisions while transmitting, so it avoids them instead: listen, wait a random back-off, and optionally use RTS/CTS to reserve the channel β€” which also solves the hidden node problem, where two stations can each hear the access point but not each other.

4.9 Β· TCP/IP

The TCP/IP stack

Four layers. Each layer only talks to the layer above and below, and adds its own header on the way down. That separation is what lets Wi-Fi be swapped for fibre without changing a single web browser.

LayerJobExamples
ApplicationProvides protocols the user's program speaksHTTP, HTTPS, FTP, SMTP, POP3, IMAP
TransportSplits data into packets, numbers them, adds port numbers, handles acknowledgements and retransmissionTCP (reliable), UDP (fast, unreliable)
Network (Internet)Adds source and destination IP addresses; routers forward packets between networksIP
LinkAdds the MAC addresses of the physical hop; puts bits on the wireEthernet, Wi-Fi

Packet switching: data is split into packets, each stamped with source, destination and a sequence number. Each packet is routed independently and may take a different route; the receiving TCP layer reassembles them in order and requests any that are missing.

Why this beats circuit switching: no dedicated line sits idle, the network routes round congestion and failure automatically, and capacity is shared efficiently. The cost is variable delay (jitter) and out-of-order arrival β€” which is exactly why live video often uses UDP: a late packet is worse than a lost one.

Quick check

The TCP/IP stack

?Which layer of the TCP/IP stack adds port numbers and is responsible for retransmitting packets that were lost?
4.9 Β· The internet

DNS, IP addressing and subnetting

The Domain Name System is the internet's phone book: it resolves a human-readable domain name into an IP address. It is a distributed, hierarchical database β€” a resolver asks a root server, which points to the top-level domain (.uk), which points to the authoritative name server for the domain. Answers are cached at every step.

An IPv4 address is 32 bits, written as four dotted decimal octets. It has two parts, and the subnet mask is what says where the boundary falls:

192.168.10.37 / 26the first 26 bits are the network; the remaining 6 bits identify the host

The mask for /26 is 255.255.255.192 β€” because 26 ones followed by 6 zeros makes the last octet 11000000 = 192.

Counting hosts

Host bits = 32 βˆ’ 26 = 6

Total addresses = 2⁢ = 64

Usable hosts = 64 βˆ’ 2 = 62 β€” one address is the network address (all host bits 0) and one is the broadcast address (all host bits 1).

Why subnet at all? It splits one large network into smaller ones, cutting broadcast traffic, isolating faults, and letting you apply different security rules to different departments. Routers only need to know how to reach the network, not every individual host β€” which is what stops the global routing table from exploding.

Calculate

Your turn β€” usable hosts

2How many usable host addresses does the subnet 192.168.10.0/26 provide?
hosts
Hint: 32 βˆ’ 26 = 6 host bits, so 2⁢ addresses in total. Then subtract the network address and the broadcast address.
Calculate

Your turn β€” the subnet mask

3Write the subnet mask for a /26 network in dotted decimal notation (e.g. 255.255.0.0).
Hint: 26 network bits = three full octets (24 bits) plus 2 more. The last octet is 11000000 in binary.
Calculate

Your turn β€” counting subnets

4A /24 network is divided into /27 subnets. How many subnets does this create?
subnets
Hint: You have borrowed 27 βˆ’ 24 = 3 bits from the host portion. Each borrowed bit doubles the number of subnets.
4.9 Β· Security

NAT, firewalls and encryption in transit

Network Address Translation (NAT) lets an entire private network share one public IP address. The router rewrites the source address (and port) of every outgoing packet and keeps a translation table so replies find their way back.

  • It conserves the badly depleted IPv4 address space;
  • it incidentally hides the internal network β€” an unsolicited inbound packet has nowhere to go;
  • port forwarding is needed to deliberately expose an internal server.

Private ranges (never routed on the public internet): 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16.

A firewall controls traffic between networks:

  • Packet filtering β€” accept or drop based on source/destination IP, port and protocol. Fast, but it judges each packet in isolation.
  • Stateful inspection β€” tracks whole connections, so it can tell a legitimate reply to your request from an unsolicited packet pretending to be one.
  • Proxy server β€” makes the request on your behalf, hiding the client, caching content and filtering at the application level.

Encryption in transit: HTTPS uses asymmetric encryption to authenticate the server (via a certificate signed by a trusted CA) and to agree a symmetric session key. The bulk data is then encrypted symmetrically, because symmetric ciphers are far faster. You need both β€” asymmetric to solve key exchange, symmetric to go fast.

Quick check

NAT

?A home network has 12 devices but the ISP has issued a single public IP address. How do all 12 devices reach the internet?
Quick check

Packet switching

?Two packets from the same file arrive at the destination out of order and by different routes. Is the network broken?
Sort it

Which layer of the stack?

Tap an item, then tap the TCP/IP layer it belongs to.

πŸ“¨ Application

🚚 Transport

πŸ—ΊοΈ Network

Match it

Match the technology to its job

Tap an item on the left, then its partner on the right.

Job
Technology
Recap

The big ideas to know

Transmission: serial beats parallel over distance (skew, crosstalk) Β· bit rate = baud Γ— bits per signal change Β· latency β‰  bandwidth

Networks: star = resilient, no collisions Β· bus = cheap, collides, single point of failure Β· client-server vs peer-to-peer

TCP/IP: application Β· transport (TCP, ports, retransmission) Β· network (IP, routing) Β· link (MAC)

Packet switching: independent routes + sequence numbers + reassembly β€” routes round failure and congestion

Addressing: /26 mask = 255.255.255.192 Β· 6 host bits β†’ 64 addresses β†’ 62 usable Β· borrowing 3 bits gives 8 subnets

Security: NAT hides and conserves Β· packet filter vs stateful inspection vs proxy Β· HTTPS = asymmetric key exchange, then symmetric bulk encryption

That is the whole of AQA 4.9. Press Finish to see your score.

πŸ†

Mini-lesson complete!

⭐⭐⭐

You've worked through Communication & networking for AQA A-level Computer Science (7517). πŸŽ‰

Your stars: 0 / 0

Next: test yourself in the Evaluate stage Confidence Quiz, then lock it in with Verify.

πŸ“£ Smashed it? Share your score

Challenge a mate to beat your stars, or show a parent how you got on.

β†’ Back to all subjects