Skip to main content

Network protocols for QCE Digital Solutions Unit 4

Syllabus dot point

“Explain how network protocols, including TCP/IP and HTTP/HTTPS, package, address, route and reassemble data so that it is transmitted reliably between digital systems”

QCEDigital SolutionsUnit 4: Digital impacts6 min read

Quick answer

A network protocol is an agreed set of rules for transmitting data; TCP/IP splits data into addressed packets, routes them across networks and reassembles them in order with error checking, while HTTP (secured as HTTPS) is the application protocol that carries web and API requests on top of TCP/IP, so reliable exchange requires both endpoints to use the same protocols.

Jump to a section
  1. What this dot point is asking
  2. What a protocol is and why it matters
  3. The TCP/IP model
  4. Packets, addressing and routing
  5. HTTP and HTTPS
  6. How the layers combine in one request
  7. How this appears in assessment
  8. Exam-style questions

What this dot point is asking

Data exchange depends on agreed rules for transmission, and those rules are protocols. The data exchange methods dot point introduces formats like JSON; this dot point goes a layer deeper into how the bytes actually travel. QCAA wants you to explain how TCP/IP and HTTP work together to package data into packets, address and route them across networks, and reassemble them reliably at the destination. This is the transport foundation under every API call and prototype data exchange in Unit 4.

What a protocol is and why it matters

A protocol is a shared standard that defines the format, order and error handling of transmitted data. Both ends must follow the same protocol or the exchange fails before any data is interpreted. Protocols are layered: a high-level protocol like HTTP relies on lower-level ones like TCP and IP, each handling one concern. This separation lets a web API request travel over any underlying network without the application caring about the physical path.

The TCP/IP model

QCAA frames internet communication around the TCP/IP model, which groups protocols into layers:

  • Application layer: protocols the program uses directly, such as HTTP, HTTPS and FTP.
  • Transport layer: TCP (reliable, ordered, connection-based) or UDP (fast, connectionless). TCP guarantees delivery and order, which is what most data exchange needs.
  • Internet layer: IP, which addresses and routes packets between networks using IP addresses.
  • Network access layer: the physical and link technologies that move bits across a medium.

Each layer adds its own header to the data as it goes down the stack, and strips it off on the way up, a process called encapsulation.

Packets, addressing and routing

TCP splits a message into packets, each carrying a slice of the data plus headers. IP attaches source and destination addresses so routers can forward each packet, possibly along different paths, toward the destination. Because packets can arrive out of order or be lost, TCP numbers them, acknowledges receipt, requests retransmission of missing packets, and reassembles them in the correct order. This is what makes TCP reliable, in contrast to UDP, which sends and forgets.

TCP versus UDP

TCP is connection-based and reliable: it numbers packets, acknowledges them, retransmits losses and delivers data in order, which suits data exchange where correctness matters. UDP is connectionless and faster but does not guarantee delivery or order, which suits streaming or gaming where a lost packet matters less than speed. Choosing TCP for a data exchange prototype is almost always the right justification.

HTTP and HTTPS

HTTP (Hypertext Transfer Protocol) is the application-layer protocol for the web and most APIs. A client sends a request (a method such as GET or POST, a URL, headers and optionally a body) and the server returns a response (a status code, headers and a body). HTTPS is HTTP carried inside TLS encryption, so the data is confidential and tamper-evident in transit. Because APIs in your prototype run over HTTP, the status codes (200 OK, 404 not found, 401 unauthorised, 500 server error) are part of how you handle the exchange reliably.

How the layers combine in one request

When your program calls an API, the JSON body is handed to HTTP, which adds request headers; TCP splits it into numbered packets and opens a reliable connection; IP addresses and routes the packets; the network access layer moves the bits. At the server the layers unwind in reverse, the JSON is reassembled, and the application reads it. Understanding this stack lets you reason about where an exchange can fail: a format error is at the application layer, a dropped connection at the transport layer, an unreachable host at the internet layer.

How this appears in assessment

The external exam can ask you to explain how a protocol delivers data reliably, to compare TCP and UDP, or to justify a protocol choice for a scenario. In IA3 you justify the protocols your prototype uses and explain how they support reliable, secure exchange. Be ready to trace a message down and back up the TCP/IP stack and to name what each layer contributes.

Common traps
  • Confusing protocol with format. HTTP and TCP are protocols that carry data; JSON and XML are formats. They are different layers.
  • Saying HTTPS is a different protocol. HTTPS is HTTP inside TLS encryption, not a separate application protocol.
  • Forgetting why TCP is reliable. Reliability comes from numbering, acknowledgement, retransmission and reordering, not magic.
  • Choosing UDP for data exchange. UDP does not guarantee delivery or order, so it rarely suits exchanges where correctness matters.
  • Ignoring status codes. An HTTP exchange that does not check the status code treats errors as valid data.

Exam-style questions

Questions in the style of QCAA exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.

Practice2 marks
Explain the features of two network transmission protocols for transferring data between websites.
Show worked answer →

One mark is awarded for explaining the features of each valid protocol, so name two and describe what each does.

HTTP (Hypertext Transfer Protocol) [1 mark]: the application-layer protocol that transfers data between websites as plain text. It offers no encryption and no authentication, so data sent over HTTP can be intercepted and read, which is why it should not be used for transferring sensitive data between sites.

HTTPS (HTTP Secure) [1 mark]: HTTP carried inside TLS. It uses encryption protocols such as the TLS standard, and certificates to confirm the identity of the server, so the connection is confidential and tamper-evident. This makes it the more secure option for transferring data between websites.

Other valid pairs (e.g. describing TCP and IP, or FTP) also earn the marks provided the distinguishing features of each are explained. Markers reward a clear feature for each protocol, not just naming them.

Practise this

Sources & how we know this

ExamExplained