AQA GCSE Computer Science (8525), section 3.5 (Fundamentals of computer networks)
What is a protocol?
A network protocol is a set of rules that devices follow so they can communicate. It covers things like the format of the data and the order messages are sent. Without agreed protocols, computers from different makers could not understand each other.
Common protocols
| Protocol | Full name | Purpose |
|---|---|---|
| TCP | Transmission Control Protocol | breaks data into packets, makes sure they all arrive and are put in order, and re-sends lost ones |
| IP | Internet Protocol | addresses packets with the sender's and receiver's IP addresses and routes them across networks |
| HTTP | Hypertext Transfer Protocol | requests and sends web pages between a browser and a web server |
| HTTPS | Hypertext Transfer Protocol Secure | an encrypted version of HTTP, for secure web transactions such as banking and shopping |
| SMTP | Simple Mail Transfer Protocol | sends email (from a user to a server, and between servers) |
| IMAP | Internet Message Access Protocol | lets a user read email stored on a mail server, from any device |
TCP/IP together
TCP and IP work together: IP gets the packets to the right address and TCP makes sure they arrive complete and in order. This pair is used for most of the internet.
Examples
- Typing
https://www.example.comin a browser uses HTTPS to get the page, and TCP/IP to carry the data. - Sending an email uses SMTP. Reading it on your phone and laptop at the same time uses IMAP.
HTTP and HTTPS
HTTP sends data as plain text, so anyone who intercepts it can read it. HTTPS encrypts the data, so it is safe to use for passwords and payments. Look for the padlock in the browser.
Common mistake: swapping SMTP and IMAP. SMTP sends email; IMAP lets you read (access) it. Also, HTTPS is not a different kind of website: it is the same protocol with encryption added.
Exam tip: for each protocol, give its full name if asked and a specific purpose (what it is used for), not just "it is a protocol".
Check yourself
What is a network protocol?
A set of rules that devices follow in order to communicate.
Which protocol would a browser use to access a bank securely?
HTTPS.
What does TCP do?
It splits data into packets, makes sure they arrive and are put in order, and re-sends any that are lost.