Menu
Coddy logo textTech

The Layering Idea

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

Sending data across a network involves dozens of jobs: turning text into bits, addressing, routing, retransmitting lost pieces, encrypting. No single program could own all of that, so networking is built as a stack of layers, each doing one job and handing the result to the next.

It works like mailing a letter: you write the message, an envelope adds the address, the postal system routes the truck. The writer never thinks about trucks, and the driver never reads letters.

Each layer wrapping the data it receives from the layer above has a name you will use constantly: encapsulation.

challenge icon

Challenge

Beginner

Print the term for the process of each layer wrapping the data handed down from the layer above, in lowercase.

Expected output:

encapsulation

Try it yourself

Terminal

All lessons in The OSI Model

Practice on your own: Terminal playground