Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
This Encapsulation and decapsulation through the layers worksheet is part of the WA Computer Science ATAR Year 11 — Network Communications journey. Print it as a booklet?
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1Application data -> Segment -> Packet -> Frame | ASegment = TCP header + Data | |
| 2Frame -> Packet -> Segment -> Application data | BThe order data is encapsulated as it moves down the layers on the sender | |
| 3The transport layer adds a TCP header containing port numbers to the data, creating a segment | CFrame = Frame header + Packet + Frame trailer | |
| 4The network interface layer adds a header and a trailer around the packet, creating a frame | DDecapsulation happens in reverse order, so the frame header is removed first, not last. | |
| 5Receiver removes the frame header last, after the TCP header | EThe order data is decapsulated as it moves up the layers on the receiver | |
| 6Sender: Frame -> Packet -> Segment -> Data | FThis shows the wrong direction. Encapsulation starts with the data and adds headers on the way down, so the frame is made last. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
encapsulation — Each layer on the sender adds its own header (and sometimes a trailer) as data moves down the layers. The receiver removes them in reverse order, which is called decapsulation.Transport layer: data + header = segmentNetwork layer: segment + header = packetframe = header + packet + trailerReceiver removes headers in reverse orderReceiver: frame -> packet -> segment -> data