A protocol is a **shared set of rules** that govern how data is formatted, transmitted and interpreted between two or more devices. Every protocol defines three fundamental aspects:
According to the Cambridge 9618 syllabus, a protocol enables reliable, interpretable data exchange by providing:
| Representation | Typical Use | Example |
|---|---|---|
| Binary (base‑2) | All low‑level data | 1010 ₂ = 10 ₁₀ |
| BCD (Binary‑Coded Decimal) | Decimal display in embedded systems | 0101 0011 ₂ = 53₁₀ |
| Hexadecimal (base‑16) | Memory addresses, colour codes | 0x3F = 0011 1111₂ |
| ASCII (7‑bit) | Basic English characters | ‘A’ = 0100 0001₂ |
| Unicode (UTF‑8) | World‑wide character set | ‘€’ = 1110 0010 1000 0010 1010 1100₂ |
Network communication is built as a **stack of protocols**, each layer adding a distinct service. The OSI model (7 layers) is used for teaching; the TCP/IP suite implements a simplified 4‑layer version that maps onto the OSI model.
| OSI Layer | TCP/IP Layer | Primary Function | Typical Protocols |
|---|---|---|---|
| Application (7) | Application | Network‑wide services for end‑users | HTTP, HTTPS, SMTP, FTP, DNS |
| Presentation (6) | — (handled by application protocols) | Data representation, encryption, compression | — |
| Session (5) | — (handled by application protocols) | Dialogue control, session management | — |
| Transport (4) | Transport | End‑to‑end reliability and flow control | TCP, UDP |
| Network (3) | Internet | Routing of packets between networks | IP, ICMP, IPv6 |
| Data‑link (2) | Network Access | Framing, MAC addressing, error detection on a link | Ethernet, PPP, Wi‑Fi (IEEE 802.11) |
| Physical (1) | Physical | Transmission of raw bits over a medium | Twisted‑pair, fibre, wireless, coaxial |
Diagram suggestion: a vertical stack showing the five layers used in the Cambridge syllabus (Application, Transport, Network, Data‑link, Physical) with example protocols (HTTP, TCP, IP, Ethernet, Wi‑Fi) placed on the appropriate layers.
At the receiver the process is reversed: each layer strips its own header, checks its own error‑control fields, and passes the payload upward.
where \(P_{\text{loss}}\) is the probability that a single packet is lost and \(n\) is the maximum number of retransmission attempts permitted by TCP.
Protocols are the backbone of digital communication. They provide a **structured, reliable, secure and interoperable framework** that lets heterogeneous computers exchange information accurately and efficiently. By organising functionality into a layered stack, each protocol contributes a specific service, making networks manageable, scalable and adaptable to future technologies such as IPv6, cloud services and the Internet of Things.
Create an account or Login to take a Quiz
Log in to suggest improvements to this note.
Your generous donation helps us continue providing free Cambridge IGCSE & A-Level resources, past papers, syllabus notes, revision questions, and high-quality online tutoring to students across Kenya.