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 | |
|---|---|---|
| 1SYN, SYN-ACK, ACK | ATCP always sets up a connection first with the three-way handshake (SYN, SYN-ACK, ACK) before sending data. | |
| 2ACK 5 | BHTTP -> TCP, SMTP -> TCP | |
| 3TCP numbers each packet so the receiver can put the data back in the correct order | Cseq = 1, 2, 3, 4 | |
| 4TCP is used by web pages and email because they need all the data to arrive complete | DTCP notices the missing packet because no ACK comes back, then the sender resends it so the data is complete. | |
| 5TCP sends data straight away without any handshake | EThe three-way handshake: the two devices agree to connect before any data is sent | |
| 6A packet is lost, so TCP ignores it and carries on | FAn acknowledgement telling the sender that the data up to packet 4 arrived and packet 5 is expected next |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
TCP — Transmission Control Protocol. It sets up a connection, numbers packets, checks each one arrived and resends any missing, so data arrives complete and in order. Web pages and email use it.client -> server: SYN
server -> client: SYN-ACK
client -> server: ACKsend(packet, seq=1)
send(packet, seq=2)
send(packet, seq=3)if noAck:
resend(packet)webPage.protocol = TCP
email.protocol = TCPseq = 5
ack = seq + 1