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 | |
|---|---|---|
| 1header: dest=192.168.1.20 | Aheader = [dest, from, packet_no] | |
| 2header: packet_no=4 | Bheader: from=10.0.0.5 | |
| 3The header holds the originator's address so the receiver knows which device sent the packet | CThe packet number field, which lets the receiving device put packets back in the correct order | |
| 4A packet header contains control information (destination, originator and packet number), not the data itself | DThe destination address field, which tells routers where the packet must be delivered | |
| 5packet = [payload, header, trailer] | EThe header is in the wrong place. It is the first part of a packet, so it must come before the payload. | |
| 6header = [email text, dest, from] | FThe header does not hold the data being sent. The message content belongs in the payload, and the header should include the packet number. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
packet header — The first part of a packet. It holds control information: the destination address, the originator's address and the packet number, used to deliver and reassemble the packet.packet = header + payload + trailerheader = [destination, originator, number]header = [destination, originator, number]header = [destination, originator, number]SORT packets BY packet.header.number