SLIDE 1
CSZone.co.uk
Click to reveal · Arrow keys also work
OCR J277 · Component 1 · Topic 1.3.2b

Protocols & Layers

What Is a Protocol? · TCP/IP · HTTP & HTTPS · FTP · Email Protocols · Concept of Layers

CSZone OCR GCSE Computer Science J277
Learning Objectives

By the end of this video you will be able to...

Explain the principle of a communication protocol as a set of rules for transferring data, and why protocols are needed
State the purpose of TCP/IP, HTTP, HTTPS and FTP, and describe the key feature of each
State the purpose of the three email protocols — SMTP, POP and IMAP — and explain the difference between POP and IMAP
Explain how layers are used in protocol models and describe the benefits of a layered approach
Apply knowledge of protocols to a given scenario — e.g. identifying which protocol is being used, or recommending the correct protocol for a task
⚡ This is 1.3.2b — part 2 of 2 for topic 1.3.2. This completes the Networks section.
Protocols

What is a communication protocol?

DEFINITION
A communication protocol is a set of agreed rules that governs how data is transmitted between devices on a network. Both sides of the communication must follow the same protocol for data to be understood.
Why protocols are needed: without agreed rules, devices from different manufacturers using different software could not communicate. Protocols ensure any device can talk to any other device, regardless of make or operating system.
Different protocols for different purposes: one protocol handles web pages; another handles email; another handles file transfer. Each protocol defines the rules for its specific type of communication — format, order of messages, error handling.
⚡ Spec key phrase: "a set of rules for transferring data." Learn these exact words. Protocols you need to know: TCP/IP, HTTP, HTTPS, FTP, POP, IMAP, SMTP.
Protocol

TCP/IP — the foundation of the internet

TCP/IP Transmission Control Protocol / Internet Protocol
TCP/IP is the fundamental protocol suite that underpins all internet communication. It is a combination of two related protocols that work together to send data reliably across networks.
TCP — TRANSMISSION CONTROL PROTOCOL
Breaks data into smaller packets for transmission
Ensures all packets arrive at the destination and are reassembled in order
Handles error checking and requests retransmission of lost packets
IP — INTERNET PROTOCOL
Addresses each packet with the source and destination IP addresses
Routes packets across networks, choosing the best path to the destination
⚡ They work as a team: IP handles addressing and routing (getting packets to the right place); TCP handles reliable delivery (making sure all packets arrive and are reassembled correctly).
Protocols

HTTP & HTTPS — web browsing protocols

HTTP Hyper Text Transfer Protocol
HTTP is the protocol used to transfer web pages from a web server to a browser. When you visit a website, your browser sends an HTTP request; the web server sends back the web page using HTTP.
HTTPS Hyper Text Transfer Protocol Secure
HTTPS is HTTP with encryption added. The connection between browser and server is encrypted, so data transmitted — such as passwords or credit card numbers — cannot be read by anyone intercepting it.
HTTP
Transfers web pages between server and browser
Data is unencrypted — not secure for sensitive information
http://example.com
HTTPS
Same as HTTP but with encryption (SSL/TLS)
Used for banking, shopping, login pages — anything sensitive
https://example.com 🔒
⚡ Both transfer web pages — the difference is security. Always use HTTPS when entering passwords, card details or any sensitive data. Look for the padlock icon in the browser address bar.
Protocol

FTP — file transfer protocol

FTP File Transfer Protocol
FTP is the protocol used to transfer files between computers over a network. It allows users to upload files to a server or download files from a server.
Upload: FTP is used by web developers to upload website files (HTML, images, scripts) from their local computer to a web hosting server, making the website accessible on the internet.
Download: FTP can also be used to download large files from a server to a local computer — for example, downloading software from a company's FTP server.
FTP TYPICAL USE
Uploading website files to a host
Downloading large files from a server
Transferring files between networked computers
FTP vs HTTP
HTTP transfers web pages to be displayed in a browser. FTP transfers files between computers for storage or use — not for displaying in a browser.
⚡ Key distinction: HTTP sends web pages to be displayed in a browser. FTP transfers files between computers. A web developer uploads via FTP; a visitor views the site via HTTP/HTTPS.
Protocols

Email protocols — SMTP, POP & IMAP

SMTP Simple Mail Transfer Protocol — SENDING
SMTP is the protocol used to send email — from a client to a mail server, and between mail servers. When you press "Send," SMTP handles delivery to the recipient's mail server.
POP Post Office Protocol — RECEIVING (downloads)
POP is used to download emails from a mail server to the local device. Once downloaded, emails are typically deleted from the server. Best suited to accessing email from one device only.
IMAP Internet Message Access Protocol — RECEIVING (synced)
IMAP keeps emails on the server and synchronises them across multiple devices. Reading an email on your phone also marks it as read on your laptop. Better for accessing email from multiple devices.
⚡ Memory hook: SMTP = Send. POP = downloads to one device. IMAP = syncs across many devices. The difference between POP and IMAP is a common exam question — the key is whether emails stay on the server.
Protocol Summary

All seven protocols — at a glance

Protocol Full Name Purpose / Key Feature
TCP/IP Transmission Control Protocol / Internet Protocol Fundamental internet protocol. TCP: splits data into packets, ensures all arrive and are reassembled. IP: addresses and routes packets.
HTTP
HTTPS
Hyper Text Transfer Protocol
HTTP Secure
Transfer web pages from server to browser. HTTPS adds encryption — used for secure sites (banking, shopping, logins).
FTP
SMTP
File Transfer Protocol
Simple Mail Transfer Protocol
FTP: transfer files between computers (upload/download). SMTP: send email from client to mail server.
POP
IMAP
Post Office Protocol
Internet Message Access Protocol
Both receive email. POP downloads to one device (deleted from server). IMAP keeps on server — syncs across multiple devices.
Protocol Layers

Why use layers in protocol models?

THE PROBLEM: network communication is complex
Sending data across a network involves many separate tasks: converting data into packets, addressing them, routing them, encrypting them, checking for errors, physically transmitting the electrical signals... If one protocol had to handle all of this, it would be enormously complex.
THE SOLUTION: divide into layers
A layered protocol model divides network communication into separate layers, each responsible for one specific job. Each layer handles its task, then passes data to the layer above or below it.
Each layer only communicates with the layers directly above and below it. A layer doesn't need to know how other layers work — only what data to pass up or down.
BENEFITS OF LAYERS
Each layer can be developed, updated or replaced independently without affecting other layers
Hardware and software from different manufacturers can work together at each layer
Complex communication is broken into manageable, simpler tasks
Protocol Layers

The 4-layer TCP/IP model

Layers build on each other — data passes down on sending, up on receiving

4
Application Layer
Provides network services to applications — handles high-level protocols
HTTP · HTTPS · FTP · SMTP · POP · IMAP
3
Transport Layer
Breaks data into packets; ensures reliable, ordered delivery; error checking
TCP · UDP
2
Internet Layer
Addresses packets with source/destination IP; routes packets across networks
IP
1
Network Access Layer
Handles physical transmission — converting data to electrical/light/radio signals
Ethernet · Wi-Fi
⚡ You are not required to memorise the names or functions of each layer. Focus on the concept: communication is divided into layers, each with a specific job, so complexity is managed and different systems can work together.
Putting It Together

Protocols & Layers — the big picture

WHAT IS A PROTOCOL?
A set of rules for transferring data. Protocols allow devices from any manufacturer to communicate, because both sides follow the same rules.
WEB & FILE PROTOCOLS
HTTP web pages  HTTPS secure web
FTP file transfer  TCP/IP internet core
EMAIL PROTOCOLS
SMTP send email
POP receive — downloads to one device
IMAP receive — stays on server, multi-device
PROTOCOL LAYERS
Communication is split into layers, each handling one task. Data passes down through layers on sending, and up through layers on receiving.
BENEFITS OF LAYERS
Each layer can be updated independently. Hardware and software from different manufacturers can work together. Complexity is broken into manageable tasks.
Exam-Style Questions

Protocols & Layers

Question 1
State the purpose of HTTPS and explain how it differs from HTTP.
2 marks
1
HTTPS is used to transfer web pages securely between a web server and a browser. (purpose — 1 mark)
1
Unlike HTTP, HTTPS encrypts the data being transmitted, so that even if it is intercepted it cannot be read. (difference — 1 mark)
Question 2
State one benefit of using a layered protocol model.
1 mark
1
Accept any one of: each layer can be updated or changed without affecting other layers; hardware/software from different manufacturers can work together; complex communication is broken into simpler manageable tasks. (1 mark)
Question 3
A user wants to access their emails from their phone, their laptop, and a school computer. Which email protocol should they use to receive their emails, and why? Give one reason why the other receiving protocol would be less suitable.
3 marks
Common Mistakes

Four mistakes that cost marks in the exam

1
Confusing POP and IMAP. POP downloads emails to one device and typically deletes them from the server — so they're only accessible on that one device. IMAP keeps emails on the server and syncs them across all devices. If someone uses multiple devices, IMAP is the answer.
2
Saying HTTP is used for email or FTP. HTTP and HTTPS are specifically for web page transfer — they move web content to a browser. Email uses SMTP/POP/IMAP; file transfer uses FTP. Don't use HTTP as a generic answer for "sending data."
3
Saying HTTPS encrypts the web page itself. HTTPS encrypts the connection — the data in transit between browser and server. The web page stored on the server is not encrypted by HTTPS. It's the transmission that is secured.
4
Not explaining layers correctly. A common error is describing layers as "separate protocols." Layers are different aspects of one communication process — each layer handles a different part of the same data journey. Say "each layer handles one specific job" and "each layer can be changed without affecting others."
Summary

1.3.2b — Protocols & Layers

PROTOCOL
A set of rules for transferring data. Allows devices from different manufacturers to communicate. Different protocols for different purposes.
WEB & FILE PROTOCOLS
TCP/IP — internet data delivery (packets, routing)
HTTP — web pages  |  HTTPS — secure web pages
FTP — file transfer between computers
EMAIL PROTOCOLS
SMTP — send email
POP — receive; downloads to one device
IMAP — receive; stays on server; multi-device
LAYERS
Network communication is divided into layers, each handling one job. The 4-layer TCP/IP model is the teaching example. Data passes down through layers on sending, up on receiving.
EXAM TIP
SMTP = Send. POP = downloads to one device. IMAP = stays on server across devices. HTTP = web pages. HTTPS = secure. FTP = files. TCP/IP = internet foundation. Know the purpose of each — not the technical internals.
1.3.2 Complete

That's 1.3.2 — Networks — complete!

Next up: 1.4.1 — Threats to Computer Systems

📝
MARKED WORKSHEET
CSZone.co.uk
🎯
QUIZ
CSZone.co.uk
📊
SLIDES
CSZone.co.uk