Menu
Coddy logo textTech

Numbers and Names

Lesson 3 of 32 in Coddy's The OSI Model course.

Engineers usually say the number, not the name: "that's a layer 3 problem" or "an L7 load balancer". Translating instantly between numbers and names is the actual skill.

A classic mnemonic works bottom-up, one word per layer from 1 to 7: Please Do Not Throw Sausage Pizza Away (Physical, Data Link, Network, Transport, Session, Presentation, Application).

The three you will name most often in real work: 3 is Network (IP), 4 is Transport (TCP/UDP), 7 is Application (HTTP).

challenge icon

Challenge

Beginner

Print the layer number of each of these layers, one per line, in this order: Network, Transport, Application.

Expected output:

3
4
7

Try it yourself

Terminal

All lessons in The OSI Model

Practice on your own: Terminal playground