GCSE · Computer Science · OCR · Spec J277
Concept of protocols
A phone and a laptop from different makers can swap messages and understand each other. That isn't magic. They just follow the same rules.
Computer Science · Protocols
Same rules, or no deal
Follow one message from a phone to a laptop, twice.
Run 1: both devices follow the shared rules. Run 2: the laptop does not. What changes?
Message: Hi, are you free later?
Output
Step 1: Run 1, send: the phone gets the message ready and sends it, following the shared rules.
Press Next to move through both runs, then compare the last step of Run 1 with the last step of Run 2.
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
The shared rules that let a phone and a laptop from different makers understand each other.
What you need to know
- A protocol is a set of rules that lets devices communicate. The rules tell computers how to send, receive and understand messages.
- Protocols are shared rules, so billions of devices around the world can communicate, no matter who makes them.
Have a goYour cousin swears a phone and a laptop from rival companies can't possibly understand each other. What do both devices need to be following?
The same protocols, which are shared rules.
Protocols are shared rules, so devices can communicate no matter who makes them.
- Computers that need to communicate use the same protocols, which ensures they can send and receive data correctly.
- Without agreed protocols, different devices would not be able to communicate or exchange information.
- Many network activities rely on protocols: planning routes, establishing communication, sending and receiving data, opening websites and communicating securely.
- A secure protocol protects data: it is not easily read by unauthorised users, not tampered with, and comes from a verified source.
Have a goFinish the sentence: a secure protocol doesn't only stop people reading data. It also helps show the data hasn't been ___, and that its source is ___.
Tampered with (changed); genuine (verified).
Secrecy is one protection. The other two are checking the data is unchanged and checking where it came from.
- Secure protocols often use encryption, which converts data into a secure format so only the intended recipient can decode it.
- HTTP retrieves information from remote servers on the web. HTTPS is for secure web browsing. TLS encrypts and protects data during transfer.
- IP governs how data is addressed. TCP breaks data into packets and reassembles them. UDP is similar to TCP but guarantees neither delivery nor order.
- FTP transfers and shares files. SMTP sends email to an email server. POP requests new emails. IMAP synchronises email across multiple devices.
Have a goYou've written an email and you're about to send it to the email server. FTP or SMTP: which one is for that job?
SMTP.
SMTP is used to send an email to an email server. FTP is for transferring and sharing files.
The big picture
A protocol is a set of rules that lets devices communicate with each other. The rules tell computers how to send, receive and understand messages. Because protocols are shared, billions of devices around the world can communicate, no matter who makes them, and without agreed protocols they could not exchange information. Secure protocols protect data: it cannot easily be read by unauthorised users, it has not been tampered with, and its source can be verified as genuine. Each protocol has its own job, such as HTTP, HTTPS, TLS, IP, TCP, UDP, FTP, SMTP, POP and IMAP.
Key points
Worked example
Problem
Leila has three jobs to do online. (a) She is buying a ticket on a website, and her card details must stay protected. (b) She wants to upload her coursework file so her group can share it. (c) She is sending her teacher an email. Name the protocol that suits each job, and say why.
⚠ Watch out
Thinking a secure protocol only keeps data secret. Secrecy is one protection. Secure protocols also ensure the data has not been tampered with and that its source can be verified as genuine.
Memory hook
A protocol is a shared rulebook. Same rulebook, and the game works. Different rulebooks, and nobody can play. And the S in HTTPS is for Secure.
Check yourself
Your friend says: 'TCP and UDP are the same thing.' Say what is similar about them, and what UDP does not guarantee that TCP does.
Flashcards
(15)What is a protocol?
Why can billions of devices communicate, whoever makes them?
What happens without agreed protocols?
What is a secure protocol, and what does it ensure?
What is encryption?
What is HTTP used for?
What is HTTPS used for?
What is TLS?
What does IP do?
What does TCP do?
How is UDP different from TCP?
What is FTP used for?
What is SMTP used for?
What is POP used for?
How does IMAP differ from POP?
Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.
Learning with Lightbulb is opening soon
You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.
Keep me postedMore OCR GCSE Computer Science topics
How this lesson was checked. This OCR GCSE Computer Science (specification J277)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 14 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.