A protocol is a set of rules that govern how data is transmitted between devices. Without agreed protocols, different devices couldn't communicate — like trying to have a conversation in different languages.
Protocols define: data format, speed of transmission, error checking methods, and how connections are established.
TCP/IP is the foundation of the internet. It uses a layered model where each layer has a specific role. Cambridge requires you to know 4 layers:
| Layer | Name | Role | Protocols |
|---|---|---|---|
| 4 | Application | Provides services directly to users (email, web browsing) | HTTP, HTTPS, FTP, SMTP, DNS |
| 3 | Transport | Breaks data into packets; reassembles; error checking | TCP, UDP |
| 2 | Internet | Logical addressing (IP addresses); routing between networks | IP |
| 1 | Link (Network Access) | Physical transmission of data over hardware | Ethernet, Wi-Fi |
When you send data, it travels down the layers (adding headers at each step — called encapsulation). When received, it travels up the layers (stripping headers — decapsulation). This ensures each layer only needs to worry about its own job.
When large amounts of data are sent over the internet, they are broken into small units called packets. Each packet travels independently and may take a different route to the destination.
Each packet contains:
| Protocol | Full name | Use |
|---|---|---|
| HTTP | HyperText Transfer Protocol | Web pages (unsecured) |
| HTTPS | HTTP Secure | Web pages (encrypted with SSL/TLS) |
| FTP | File Transfer Protocol | Transferring files between computers |
| SMTP | Simple Mail Transfer Protocol | Sending email |
| DNS | Domain Name System | Converts domain names to IP addresses |
5 questions · 12 marks
| Term | Definition |
|---|
10 minutes · mixed questions