22-Elec-B4 Information Technology Networks · Undated paper
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Paper format. National Examinations, May 2019 — 16-Elec-B4 Information Technology Networks. Three hours, closed book (one approved Casio or Sharp calculator). Five questions of 25 marks; any four constitute a complete paper worth 100 marks. Marks are printed in the left margin. All five questions are solved below, because the set is a study resource rather than an exam script.
Reference texts.
Check: one edge of the Question 4 graph. The printed drawing carries a weight label “1” centred on the A–B chord, but the line itself is not drawn. Every other weight label sits on a drawn edge, and eleven labels are printed against ten surviving lines. The edge A–B = 1 is therefore taken as present. Reading A–B as absent instead would leave A a leaf reachable only through C, changing d(A) from 4 to 9 and leaving the printed “1” orphaned.
Question text not reproduced: the examination questions are © Engineers and Geoscientists BC. Open the official past paper (linked at the top of this page) to read the question, then follow the worked solution below.
Part (a) — the seven layers, one sentence each. The question explicitly penalises verbosity, so each layer gets exactly what it is asked for: a name and a sentence.
Part (b) — where each item lives.
| Item | Layer(s) | Why |
|---|---|---|
| i. End-to-end error correction and in-order packet delivery | 4 — Transport | These are end-to-end (host-to-host) guarantees, which is precisely what distinguishes the transport layer from the per-link reliability of layer 2; in TCP/IP they are TCP's sequence numbers, acknowledgements and retransmissions. |
| ii. The SMTP protocol | 7 — Application | Simple Mail Transfer Protocol is a user-facing service protocol carried over TCP. |
| iii. TCP/IP | 4 and 3 — Transport and Network | The name is a pair: TCP is a transport protocol (layer 4) and IP is the internetwork protocol (layer 3). Answering with a single layer misses half the mark. |
| iv. Ethernet | 2 and 1 — Data link and Physical | IEEE 802.3 specifies both the MAC sublayer (framing, addressing, CSMA/CD) at layer 2 and the physical signalling and cabling at layer 1. |
| v. Signal voltages | 1 — Physical | The electrical representation of a bit on the medium is the defining concern of the physical layer. |
| vi. Encryption and decryption | 6 — Presentation | In the OSI reference model, transforming the representation of data for privacy is a presentation-layer function. (In the TCP/IP stack as deployed, TLS sits between the application and transport layers and is often described as occupying layers 5–6.) |
| vii. Character display, such as ASCII | 6 — Presentation | Character-set and data-representation conversion is the other classic presentation-layer function. |
| viii. The HTTP protocol | 7 — Application | The Hypertext Transfer Protocol is a user-facing service protocol, again carried over TCP. |
A useful cross-check on the whole list: exactly one item lands in each of layers 1, 3 and 5–7 or spans a pair, and no item lands in layer 5. That is expected — the session layer has no distinct counterpart in the TCP/IP protocol suite, its functions having been absorbed into application protocols, which is one of the standard criticisms of the OSI model as a description of the real internet.
Part (c) — why layer at all. Layering is how a system too large for any one design team, standards body or vendor to specify is decomposed into pieces that can be specified, built and replaced independently. Each layer offers a service to the layer above through a defined interface and hides how that service is achieved; a layer may therefore be re-implemented freely provided the interface is honoured.
Five consequences make this decisive for a network the size of the internet. Modularity and independent evolution: IP runs unchanged over Ethernet, Wi-Fi, fibre and satellite, and HTTP runs unchanged over TCP or QUIC, because neither knows anything of the other's internals — the layers below and above IP were each replaced wholesale over the internet's lifetime without the other being rewritten. Interoperability through standards: equipment from independent manufacturers interworks if each conforms to the interface, which is what allows a competitive multi-vendor market rather than a single vendor's closed system. Tractable design and reasoning: a designer solves reliable delivery once, at the transport layer, rather than re-solving it in every application, and a protocol can be specified and verified against its neighbours alone. Reuse: one transport implementation in the operating system serves every application above it. Diagnosis and teaching: faults localise to a layer — no link light is layer 1, no route is layer 3, a refused port is layer 4 — which is the structure every troubleshooting procedure follows.
The cost is worth stating, because it is what keeps the layer count small: each boundary adds a header, a copy and some loss of information (a transport layer that cannot see why a packet was lost is exactly the limitation of Question 3(d)), and cross-layer optimisation is often forbidden by the very abstraction that makes the system buildable. The engineering judgement is that the modularity is worth the overhead — a judgement the internet's forty-year evolution has repeatedly confirmed.
Final results.
| Item | Layer |
|---|---|
| i. End-to-end error correction, in-order delivery | 4 — Transport |
| ii. SMTP | 7 — Application |
| iii. TCP/IP | 4 — Transport (TCP) and 3 — Network (IP) |
| iv. Ethernet | 2 — Data link and 1 — Physical |
| v. Signal voltages | 1 — Physical |
| vi. Encryption and decryption | 6 — Presentation |
| vii. Character display, ASCII | 6 — Presentation |
| viii. HTTP | 7 — Application |