Revision Notes
AQA A-Level Computer Science (7517): The Internet – Revision Notes
Condensed AQA 7517 section 4.9.3 recall: packet switching, routing, URLs, DNS, registries, firewalls, encryption, certificates, signatures and malware.
- Subject
- Computer Science
- Level
- A LEVELS
- Topic
- Fundamentals of communication and networking
- Author
- Marlbridge Academic Team
- Updated
- Reviewed by
- Harris Khan (what this means)
Aligned to AQA A Level Computer Science (7517), 2015-onwards. Official specification .
Syllabus page (what it covers and how it is assessed): AQA A Level Computer Science.
Syllabus points this page covers
7517
- 4.9.3 The Internet
Found an error? Report a correction.
Need help with this topic? Request a free trial class for A Level Computer Science (7517).
Condensed recall for 4.9.3 The Internet, AQA A-Level Computer Science (7517): how the Internet works (packet switching, routers, gateways, routing, URL, FQDN, domain names, IP addresses, DNS, registries) and Internet security (firewalls, symmetric and asymmetric encryption, key exchange, certificates, signatures, worms, trojans and viruses). The longer explanations are in the Internet study guide; questions are in the Internet practice questions.
How the Internet works
- Structure: a network of networks; ISPs connect homes and organisations; ISPs connect to each other and to high-capacity backbone links.
- Packet switching: a message is split into packets; each is sent separately, possibly by a different route; they are reassembled at the destination.
- Packet parts: header (destination IP, source IP, sequence number, hop count, protocol), payload, check data.
- Router: connects networks and forwards packets using the destination IP address and a routing table.
- Gateway: connects networks that may use different protocols; the exit point from one network to another.
Packet count check: 12,000 bytes with 1,500 byte payloads = 8 packets. Always round up.
Routing across the Internet
- Router reads the destination IP address.
- It looks up the next hop in its routing table.
- It decrements the hop count; at 0 the packet is discarded.
- It forwards the packet.
- Repeat at each router until the destination network is reached.
Names and addresses
| Term | Meaning | Example |
|---|---|---|
| URL | Protocol, host name and path to a resource | https://www.example.org/news/index.html |
| FQDN | Complete host name | www.example.org |
| Domain name | Registered name of an organisation or area | example.org |
| IP address | Numerical address of a device on a network | used by routers to deliver packets |
Hierarchy: top-level domain (.org), second-level domain (example), subdomain (www), read right to left.
DNS
Translates a domain name into an IP address. A distributed hierarchy of servers.
- Check browser and operating system caches.
- Ask the configured DNS server.
- If unknown, ask a root server, which points to the top-level domain server.
- That points to the authoritative server for the domain.
- The IP address is returned and cached.
Internet registries
Allocate IP address blocks and record domain name ownership. Needed so that addresses and names are unique worldwide, and so owners can be identified.
Firewalls
| Type | What it examines |
|---|---|
| Packet filtering | Packet headers (IP addresses, ports, protocol) against rules |
| Proxy server | Acts on behalf of internal clients; hides internal addresses; can inspect content |
| Stateful inspection | Tracks the state of connections; allows replies to connections started inside; blocks unsolicited packets |
Encryption
| Symmetric | Asymmetric | |
|---|---|---|
| Keys | One shared key | Public and private key pair |
| Speed | Fast | Slower |
| Problem | Sharing the key securely | None with key sharing, but slow |
- Key exchange: encrypt a symmetric session key with the receiver’s public key; both use the session key afterwards.
- To send a secret message: encrypt with the receiver’s public key.
- To sign: encrypt the hash with the sender’s private key.
Toy check: public key (33, 3), private key (33, 7). Message 4 encrypts to 4³ mod 33 = 31; 31⁷ mod 33 = 4. Signing hash 5: 5⁷ mod 33 = 14; 14³ mod 33 = 5.
Digital signatures and certificates
- Signature: hash the message; encrypt the hash with the sender’s private key; the receiver decrypts with the public key and compares hashes. Gives authenticity and integrity.
- Certificate: links a public key to an identity. Obtained from a certificate authority after identity checks; the CA signs it. Used when a browser checks the CA’s signature to trust a site’s public key.
Malware
| Virus | Worm | Trojan | |
|---|---|---|---|
| Spreads by | Attaching to files and programs | Copying itself across networks | User installing disguised software |
| Needs user action | Usually | No | Yes |
| Replicates | Yes | Yes | No |
| Exploits | User running infected files | Software flaws | User trust |
Countermeasures: better code quality (validation, bounds checks, testing); monitoring (logs, intrusion detection); protection (patches, anti-malware, firewalls, least privilege, user training).
Key terms
| Term | Definition |
|---|---|
| Packet | A small unit of data sent across a network with a header |
| Hop count | A count reduced at each router; the packet is discarded at zero |
| Routing table | A list in a router of networks and the next hop to reach them |
| ISP | Internet service provider: supplies Internet access |
| Hash | A short fixed-size value calculated from a message |
| Certificate authority | A trusted organisation that issues and signs digital certificates |
| Session key | A temporary symmetric key used for one conversation |
| Authoritative name server | The DNS server that holds the records for a domain |
| Backbone | High-capacity links that carry Internet traffic between regions |
Exam traps
- Packets can take different routes and arrive out of order.
- Routers forward; DNS translates names.
- Encrypt with the receiver’s public key; sign with your private key.
- A signature does not hide the message.
- A trojan does not replicate; worms and viruses do.
- Round up when counting packets.
- A gateway links different networks or protocols.
Self-test
- What is packet switching?
- Name three items in a packet header.
- What does a router use to decide where to send a packet?
- Why does a packet have a hop count?
- Split
https://www.example.org/news/index.htmlinto protocol, FQDN and path. - What does DNS do?
- Why are Internet registries needed?
- What does stateful inspection add to packet filtering?
- Which key encrypts a message to a receiver in asymmetric encryption?
- Why are symmetric and asymmetric encryption combined?
- What does a digital certificate prove?
- Name one difference between a worm and a trojan.
Answers
- Dividing a message into packets that are sent separately and reassembled at the destination.
- Any three of: destination IP, source IP, sequence number, hop count, protocol.
- The destination IP address and its routing table.
- To discard packets that have travelled too far, stopping them circulating forever.
- Protocol
https; FQDNwww.example.org; path/news/index.html. - It translates domain names into IP addresses.
- To keep addresses and domain names unique and to record who owns them.
- It tracks the state of connections, so unsolicited packets can be blocked.
- The receiver’s public key.
- Symmetric is fast but needs a shared key; asymmetric sends the key securely.
- That a public key belongs to a named owner, verified by a certificate authority.
- A worm copies itself across networks; a trojan is disguised software that the user installs and does not copy itself.
More resources on this topic
Related resources
-
Study guides
AQA A-Level Computer Science (7517): Communication
Deeper guide to AQA 7517 section 4.9.1 Communication: serial and parallel transmission, synchronous and asynchronous data, start and stop bits, baud rate, bit rate, bandwidth, latency and protocols.
Computer Science · AQA · A Level
Read guide -
Practice questions
AQA A-Level Computer Science (7517): Communication – Practice Questions
Original AQA 7517 section 4.9.1 questions with answers: serial and parallel transmission, asynchronous framing, baud rate, bit rate, bandwidth and latency calculations.
Computer Science · AQA · A Level
Try questions -
Revision notes
AQA A-Level Computer Science (7517): Communication – Revision Notes
Condensed AQA 7517 section 4.9.1 recall: serial versus parallel, synchronous versus asynchronous, start and stop bits, baud rate, bit rate, bandwidth, latency and protocols.
Computer Science · AQA · A Level
Revise topic
Get free revision emails (optional)
Occasional emails with practice questions, worked explanations and links to free resources for the qualification and subjects you choose. No spam, and you can unsubscribe from any email. The free tools on this site never need an email.