TopMyGrade

GCSE/Computer Science/OCR

1.3.3Protocols: TCP/IP, HTTP/HTTPS, FTP, SMTP, IMAP, the 4-layer TCP/IP model and why layers are used

Notes

Network protocols and layers

OCR J277 Paper 1 frequently asks for the role of named protocols and a justification for layering. You need to know each protocol's purpose, the four-layer TCP/IP model, and why layering is helpful.

What is a protocol?

A protocol is a set of rules governing how data is transmitted between devices. Both ends must use the same protocol to communicate.

Key protocols

ProtocolPurpose
TCP (Transmission Control Protocol)Splits data into packets, ensures reliable delivery, reassembles in order at the destination.
IP (Internet Protocol)Routes packets across networks using IP addresses.
HTTP (HyperText Transfer Protocol)Transfers web pages between a web server and a browser. Plain text, not encrypted.
HTTPSSecure version of HTTP — uses TLS/SSL encryption. Protects logins, banking, etc.
FTP (File Transfer Protocol)Uploading and downloading files between a client and a server.
SMTP (Simple Mail Transfer Protocol)Sending email from a client to a mail server, and between mail servers.
IMAP (Internet Message Access Protocol)Receiving email — keeps messages on the server so they can be accessed from multiple devices.

(POP3 is also receiving — downloads then deletes from server. OCR may mention it but it is not on the J277 named-protocols list.)

The 4-layer TCP/IP model

Data is built up at the sender (with each layer adding its own header) and stripped down at the receiver.

LayerRoleExample protocols
ApplicationUser-facing protocols that produce/consume the data.HTTP, HTTPS, FTP, SMTP, IMAP
TransportSplits data into packets, reassembles, error checks, port numbers.TCP, UDP
Internet (Network)Routes packets between networks using IP addresses.IP
Link (Data link / Network access)Physical transmission over the medium — cables, Wi-Fi.Ethernet, Wi-Fi

Why use layers?

  • Self-contained — each layer does its own job and can be changed independently (e.g. replace Wi-Fi with Ethernet without affecting HTTP).
  • Standardisation — different vendors' equipment interoperates.
  • Easier to develop and debug — a problem can be isolated to a single layer.
  • Reusability — TCP can be used by any application-layer protocol; the same Ethernet chip works for HTTP, FTP, SMTP.

Common OCR exam mistakes

  • Mixing up SMTP (send) and IMAP (receive). Memory hook: "SMTP for Sending".
  • Forgetting that HTTP is not encrypted — HTTPS adds the encryption layer (TLS).
  • Listing layers but not explaining the role of each.
  • Saying "layers make networks faster" — they do not; they make networks easier to develop and maintain.

AI-generated · claude-opus-4-7 · v3-ocr-computer-science-leaves

Practice questions

Try each before peeking at the worked solution.

  1. Question 15 marks

    Match protocol to purpose

    State the protocol used for each of the following:
    (a) Transferring an unencrypted web page from a server to a browser. [1]
    (b) Sending an email to a mail server. [1]
    (c) Reading email from a mail server while leaving the messages on the server. [1]
    (d) Uploading a file to a web host. [1]
    (e) Splitting data into packets and ensuring reliable delivery. [1]

    Ask AI about this

    AI-generated · claude-opus-4-7 · v3-ocr-computer-science-leaves

  2. Question 24 marks

    HTTPS vs HTTP

    Explain two differences between HTTP and HTTPS, and give one situation in which HTTPS should be used. [4 marks]

    Ask AI about this

    AI-generated · claude-opus-4-7 · v3-ocr-computer-science-leaves

  3. Question 38 marks

    Layered model — explain and justify

    Describe the four layers of the TCP/IP model in order from top to bottom, giving the role of each. Then state two advantages of using a layered model. [8 marks]

    Ask AI about this

    AI-generated · claude-opus-4-7 · v3-ocr-computer-science-leaves

Flashcards

1.3.3 — Network protocols (TCP/IP, HTTP/HTTPS, FTP, SMTP, IMAP) and the 4-layer TCP/IP model

7-card SR deck for OCR Computer Science (J277) — leaves batch 1 topic 1.3.3

7 cards · spaced repetition (SM-2)