GCSE Revision Aid: This resource is designed to support your revision and may contain errors. If you find a discrepancy with your class teaching, your teacher is correct — please let us know at gcserevise@scott.scottrix.co.uk.

CS30: Network Protocols

Foundation Higher AQAEdexcelOCREduqas Networks

What protocols are, why they are needed, and the key protocols: TCP, IP, HTTP/HTTPS, SMTP, IMAP.

Fastmail

📋 What is a Protocol?

Definition: A protocol is a set of rules that governs how data is transmitted between devices on a network. Protocols define the format, timing, sequencing, and error checking of data transmission.

Without protocols, devices would have no common language to communicate. Imagine two people trying to have a conversation - one speaking only French and the other only Japanese. Without a shared language (protocol), no meaningful communication can occur. Network protocols provide the common "language" that all networked devices understand.

Analogy

Think of protocols like the rules of sending a letter: you write the sender's address in one corner, the recipient's address in another, you put a stamp on, and the postal service follows its own rules for sorting and delivery. If everyone follows these rules, letters get delivered correctly. Network protocols work the same way for data.

❓ Why Protocols Are Needed

Key Concept: Protocols are needed so that different devices and systems can communicate with each other. Without agreed rules, there would be no way to ensure data arrives correctly, completely, and in the right order.
What Happens Without Protocols

If Device A sends data in one format but Device B expects a different format, Device B cannot understand the data. If Device A sends data too fast for Device B to process, data is lost. If there is no error checking, corrupted data goes undetected. Protocols prevent all these problems by establishing common rules.

🔗 Key Network Protocols

TCP (Transmission Control Protocol)

Purpose: TCP ensures reliable delivery of data between devices. It breaks data into packets, numbers them, checks they all arrive, and reassembles them in the correct order.
How TCP Works

When you download a file, TCP splits it into numbered packets. Each packet is sent and the receiver sends back an acknowledgement. If packet 3 is lost, the receiver notices the gap and asks for it to be resent. Once all packets arrive, TCP reassembles them in order to recreate the complete file.

IP (Internet Protocol)

Purpose: IP handles addressing and routing of data packets across networks. It adds source and destination IP addresses to each packet so it can be routed to the correct destination.
TCP and IP Work Together:
IP handles addressing and routing (WHERE data goes)
TCP handles reliability and ordering (HOW data arrives)
Together they form TCP/IP, the foundation of internet communication

HTTP (Hypertext Transfer Protocol)

Purpose: HTTP is the protocol used to transfer web pages from a web server to a web browser. It defines how requests and responses are formatted.

HTTPS (HTTP Secure)

Purpose: HTTPS is the secure version of HTTP. It encrypts all data between the browser and the server, preventing interception and tampering.
Property HTTP HTTPS
Encryption None (plain text) SSL/TLS encryption
Security Not secure Secure
Port 80 443
Certificate Not required SSL/TLS certificate required
Use case Non-sensitive browsing Banking, shopping, login pages

SMTP (Simple Mail Transfer Protocol)

Purpose: SMTP is the protocol used for SENDING email from a client to a mail server, and between mail servers.

IMAP (Internet Message Access Protocol)

Purpose: IMAP is the protocol used for RECEIVING and managing email on a mail server. It allows the client to view and organise emails while keeping them stored on the server.
Email Protocol Summary:
SMTP = Sending email (client to server, server to server)
IMAP = Receiving/reading email (client reads from server)
Remember: SMTP = Send Mail; IMAP = I Manage And Read

📊 Protocol Layers

Key Concept: Protocols are organised in layers, where each layer handles a specific aspect of communication. Higher layers handle user-facing functions; lower layers handle data transport. Each layer only communicates with the layer directly above and below it.

⚠️ Common Mistakes to Avoid

Mistake Why It's Wrong How to Fix It
Saying "SMTP receives email" SMTP only sends; IMAP receives SMTP = sending; IMAP = receiving
Confusing HTTP and HTTPS HTTPS adds encryption; HTTP doesn't HTTPS = HTTP + SSL/TLS encryption
Saying "IP guarantees delivery" IP does NOT guarantee delivery; TCP does IP = addressing/routing; TCP = reliability
Saying "protocols are optional" Without protocols, communication is impossible Protocols are essential - they are the rules of communication

❓ Practice Questions

Q1: What is a network protocol and why are protocols needed?

Q2: Explain the roles of TCP and IP and how they work together.

Q3: What is the difference between HTTP and HTTPS?

Q4: Which protocol is used for sending email and which for receiving it?

Q5: Explain why protocols are organised in layers.

✅ Answers

  1. A network protocol is a set of rules that governs how data is transmitted between devices. Protocols are needed to ensure different devices can communicate, data arrives correctly and completely, errors are handled, and communication is standardised across different manufacturers and systems.
  2. TCP ensures reliable delivery by breaking data into packets, numbering them, checking they all arrive, and reassembling them in order. IP handles addressing and routing, adding source and destination addresses to packets so they can be delivered across networks. They work together: IP routes packets to the destination, and TCP ensures they all arrive correctly and in order.
  3. HTTP transfers web pages in plain text (no encryption) and is not secure. HTTPS is the same as HTTP but adds SSL/TLS encryption, making the data unreadable to anyone intercepting it. HTTPS also uses digital certificates to verify the server's identity. HTTP uses port 80; HTTPS uses port 443.
  4. SMTP (Simple Mail Transfer Protocol) is used for sending email. IMAP (Internet Message Access Protocol) is used for receiving and reading email.
  5. Protocols are layered so each layer handles one specific aspect of communication. Layers can be changed independently (e.g. switching from Wi-Fi to Ethernet doesn't affect the application layer). Each layer only needs to communicate with the layers directly above and below it, making the system modular and easier to develop and maintain.

🎯 Exam Tips

⚠️ Common Errors

✗ Confusing HTTP and HTTPS — thinking they are different protocols entirely ✓ HTTPS is HTTP with encryption (SSL/TLS). They serve the same purpose (web page transfer) but HTTPS encrypts data, making it secure for sensitive information like passwords.

✗ Thinking TCP and UDP serve the same purpose ✓ TCP is reliable (checks delivery, resends lost packets, orders data); UDP is fast but unreliable (no delivery check, no ordering). TCP for web/email; UDP for streaming/gaming.

✗ Forgetting what each layer of the TCP/IP model does ✓ Application: user-facing protocols (HTTP, FTP, SMTP). Transport: end-to-end delivery (TCP, UDP). Internet: routing packets (IP). Link: physical transmission (Ethernet, WiFi).

✗ Believing a protocol and a port number are the same thing ✓ A protocol is a set of rules for communication (e.g. HTTP). A port number identifies the specific service on a device (e.g. HTTP uses port 80). They work together but are different concepts.

✍️ Model Answer

Full-Mark Response

Explain the difference between TCP and UDP, giving one example of when each would be used and justifying your choice. [4 marks]

TCP (Transmission Control Protocol) is a reliable, connection-oriented protocol. It establishes a connection before sending, checks all packets arrive, resends any lost packets, and reassembles data in the correct order. UDP (User Datagram Protocol) is an unreliable, connectionless protocol. It sends packets without checking delivery or order, making it faster but with no guarantee of arrival. Example for TCP: Email (SMTP) — emails must arrive completely and in order; reliability matters more than speed. Lost or reordered email content would be unacceptable. Example for UDP: Live video streaming — speed matters more than reliability; a few lost frames are acceptable but delayed packets cause buffering. TCP's retransmission delays would make the stream lag and buffer.

📊 AO Deep Dive

Assessment Objective Analysis

AO1 (Computational Thinking — 40%): Demonstrate knowledge and understanding of the principles and concepts of computer science, including network protocols: HTTP, FTP, SMTP, TCP and UDP for AQA 8525, OCR J277 & Edexcel 1CP2.

AO2 (Application — 40%): Apply knowledge and understanding of computer science, including network protocols: HTTP, FTP, SMTP, TCP and UDP to analyse problems in computational terms and to design, write and evaluate solutions.

AO3 (Evaluation — 20%): Evaluate the effectiveness, correctness and efficiency of computational solutions, including network protocols: HTTP, FTP, SMTP, TCP and UDP, and make reasoned judgements about trade-offs.

📝 Exam Technique

GCSE Computer Science Exam Tips:
Know key protocols: HTTP/HTTPS (web, port 80/443), FTP (file transfer, 21), SMTP (send email, 25), POP3/IMAP (receive email, 110/143), TCP (reliable delivery), UDP (fast, unreliable), IP (addressing/routing). TCP = reliable, UDP = fast. HTTPS = HTTP + encryption. Know the 4 TCP/IP layers and their purposes. Port numbers identify services.

📝 Exam Questions by Topic

🎬 Video Resources

Share this page

Ready to ace your GCSE Computer Science exams?

Get the best revision books and guides to boost your grades.