Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
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 | |
|---|---|---|
| 1[ HEADER | PAYLOAD | TRAILER ] | AThe middle part of the packet that carries the actual data being sent | |
| 2PAYLOAD = "Hello Sam" | BThe trailer is placed in the middle, but it must be at the end after the payload | |
| 3The header is the first part of a packet and holds the destination address, the originator's address and the packet number | CHEADER = [dest, source, packet_no] | |
| 4The trailer is the last part of a packet and marks where the packet ends | DThe parts are in the wrong order: the header must come first, then the payload, then the trailer | |
| 5[ PAYLOAD | HEADER | TRAILER ] | ETRAILER = "END" | |
| 6[ HEADER | TRAILER | PAYLOAD ] | FA packet drawn as three blocks in the correct order: header first, payload in the middle, trailer last |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
header, payload, trailer — The three parts of a packet, in order: the header (start) holds addresses and packet number, the payload (middle) holds the data, the trailer (end) marks the packet's end.packet ← header + payload + trailerpacket ← header + payload + trailerpacket ← header + payload + trailerblocks ← 3start ← header
middle ← payload
end ← trailer