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?

Phone (maker A)→Laptop (maker B)
Phone follows=the shared rules

Output

 

Step 1: Run 1, send: the phone gets the message ready and sends it, following the shared rules.

1 / 6

Press Next to move through both runs, then compare the last step of Run 1 with the last step of Run 2.

Step 1 of 6: Run 1, send: the phone gets the message ready and sends it, following the shared rules..

Computer Science · Secure protocols

What does a secure protocol actually do?

Jo and three friends are arguing about secure protocols. Each has a different idea.

Which idea is closest to what you think?
How sure are you?

Computer Science · Protocols and their jobs

Which job does each protocol do?

Tick every set each protocol belongs to. HTTPS does two jobs, and some protocols belong in none of the three sets.

  • A Opening websites
  • B Email
  • C Protecting data
  1. HTTP
  2. HTTPS
  3. TLS
  4. SMTP
  5. POP
  6. IMAP
  7. FTP
  8. IP
  9. TCP
  10. UDP

Computer Science · Sending data

TCPvsUDP

Reveal the insight on each row to see why it matters.

Focus

Full name

TCP

Transmission Control Protocol

UDP

User Datagram Protocol

The insight

Two different protocols, so don't mix the letters up.

What it does with data

TCP

Breaks data into packets, sends them, and reassembles them at the destination.

UDP

Similar to TCP.

Delivery

TCP

Guarantees delivery.

UDP

Does not guarantee delivery.

Order

TCP

Guarantees order.

UDP

Does not guarantee order.

Computer Science · Your turn

Write it, then mark it

Explain why devices need protocols in order to communicate. [4 marks]

0 words · your answer stays on this page and is not sent anywhere.

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

1A protocol is a set of rules that lets devices communicate, telling computers how to send, receive and understand messages.
2Devices that need to communicate use the same protocols. Without agreed protocols, different devices could not communicate or exchange information.
3Secure protocols protect data: unauthorised users cannot easily read it, it has not been tampered with, and its source can be verified as genuine.
4Each protocol has a job: HTTP and HTTPS for the web, TLS to encrypt, IP for addressing, TCP and UDP for sending data, FTP for files, and SMTP, POP and IMAP for email.

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?
A set of rules used to allow devices to communicate with each other. The rules tell computers how to send, receive and understand messages.
Why can billions of devices communicate, whoever makes them?
Protocols are shared rules. Computers that need to communicate use the same protocols, which ensures they can send and receive data correctly.
What happens without agreed protocols?
Different devices would not be able to communicate or exchange information.
What is a secure protocol, and what does it ensure?
A set of rules that protects data. Data cannot easily be read by unauthorised users, has not been tampered with, and its source can be verified as genuine.
What is encryption?
Converting data into a secure format so that only the intended recipient can decode it.
What is HTTP used for?
Retrieving information from remote servers across the worldwide web.
What is HTTPS used for?
Secure web browsing. The S is for Secure.
What is TLS?
A protocol used to encrypt and protect data during transfer.
What does IP do?
It controls how data is sent over the internet, governing how data is addressed.
What does TCP do?
It breaks data into packets, sends them, and reassembles them at the destination.
How is UDP different from TCP?
UDP is similar to TCP but does not guarantee delivery or order.
What is FTP used for?
Transferring and sharing files across the internet.
What is SMTP used for?
Sending an email to an email server.
What is POP used for?
Requesting any new emails for a specific email account.
How does IMAP differ from POP?
IMAP is another email protocol, but unlike POP it synchronises emails across multiple devices.

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 posted

More OCR GCSE Computer Science topics

See the full OCR Computer Science curriculum →

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.