wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Transport Protocols and TCP/UDP Concepts - Worksheet Extraction

Total questions: 32

Worksheet time: 16mins

Name
Class
Date
1.

Hey there, tech whizzes! Imagine you're building a super cool video streaming app that needs to deliver content with lightning speed. But here's the twist: it can handle a little bit of data loss. Which transport protocol should our friend Ishaan choose to make this happen?

a)

TCP

b)

UDP

c)

FTP

d)

HTTP

2.

Imagine you're playing an exciting networked game with your friends Ananya, Aashi, and Aditi, and the game sends 60 updates every second to keep the action fast-paced! Sometimes, packets might arrive out of order, but speed is the name of the game. What special property of UDP makes it the perfect choice for this thrilling experience?

a)

Flow control

b)

Connection establishment

c)

No retransmission or ordering

d)

Congestion avoidance

3.

Hey there, tech whizzes! Imagine Arjun, Aashi, and Viaan are on a quest to uncover the secrets of the internet. They stumble upon a mysterious DNS query where the client sends a request to the server and receives a reply without any connection setup. Can you help them figure out which protocol they should use to solve this puzzle?

a)

TCP

b)

UDP

c)

ICMP

d)

ARP

4.

During a lively discussion in class, Shreya and Eshaan are debating about the reliability of UDP packets. Eshaan mentions that he has noticed some packets getting lost occasionally. Now, they wonder, which layer of the network should step in to handle retransmission if it becomes necessary?

a)

Network layer

b)

Transport layer

c)

Application layer

d)

Data link layer

5.

Imagine Kabir is a developer who wants to send out exciting updates to all his friends on the LAN at the same time. Which protocol should he use to make sure everyone gets the message?

a)

TCP

b)

UDP

c)

FTP

d)

SMTP

6.

Imagine Riyaan is trying to upload an important document through a web form. Which protocol will ensure that all the packets of his document arrive correctly and in the right order, just like a well-organized delivery?

a)

UDP

b)

TCP

c)

HTTP

d)

ICMP

7.

Imagine Mira is trying to connect to a server for the first time. She sends a SYN packet to the server, and in response, the server sends back a SYN-ACK. What is this exciting process called that helps them establish a connection?

a)

Flow control

b)

Three-way handshake

c)

Congestion control

d)

Slow start

8.

Imagine Divya is sending a treasure map over a TCP session, and suddenly, the sender’s window size shrinks unexpectedly. What could this mysterious change indicate?

a)

Oh no! Congestion detected

b)

Looks like Aisha stopped sending the map

c)

Shreya's device crashed!

d)

Uh-oh, a timeout expired

9.

Imagine Aashi and Tisha are having a friendly competition to see who can send the fastest messages over the network. But oh no! If a TCP segment gets lost during their race, how does TCP help them recover?

a)

Requests a new connection to start over

b)

Retransmits the lost segment after a timeout, keeping the race fair

c)

Ignores the loss and keeps going

d)

Sends an ACK for the next packet only, leaving the lost one behind

10.

Imagine Sneha is working on her network project and she successfully closes a TCP connection. However, to her surprise, she still receives some data! Which TCP flag do you think she might have used incorrectly?

a)

SYN

b)

ACK

c)

FIN

d)

RST

11.

Hey there, tech wizards! Imagine Aanya and Rahul are having a race to send data over TCP. But wait! What mechanism ensures that our speedy sender, Rahul, doesn't leave our slower receiver, Aanya, in the dust?

a)

Congestion control

b)

Flow control (using sliding window)

c)

Checksum

d)

Retransmission

12.

Hey there, tech whiz! Imagine Aarav is sending a TCP segment with a sequence number of 400 and packing in 600 bytes of data. Can you help him figure out what the next expected acknowledgment number will be?

a)

600

b)

400

c)

1000

d)

401

13.

Imagine Viaan is browsing the web and types https://www.example.com into his browser. Can you guess which protocol is used for secure transmission of his data?

a)

HTTP

b)

HTTPS

c)

FTP

d)

TCP

14.

Hey there, tech whizzes! Imagine you're in a lively debate with your friends Rahul, Avni, and Aisha about how websites can speed things up. They mention that a certain HTTP version introduced persistent connections by default to reduce delays. Can you guess which version they are talking about?

a)

HTTP/0.9

b)

HTTP/1.0

c)

HTTP/1.1

d)

HTTP/2

15.

Imagine Vanya and Aashi are having a friendly debate about web requests. Aashi claims that when a client requests a webpage using GET, it has a special feature compared to POST. Can you help them settle the argument? What is the key property of GET compared to POST?

a)

Sends data in body

b)

Modifies server data

c)

Parameters appear in URL

d)

Uses encryption

16.

Hey there, tech wizards! Imagine Krish and Ria are working on a web project when they encounter a caching proxy that responds with “304 Not Modified.” What do you think this means for their project?

a)

Resource deleted

b)

Client request failed

c)

Resource unchanged; use cached copy

d)

Authentication required

17.

Hey there, tech wizards! Imagine our friend Arjun is a developer who notices that every time he loads his favorite small files, they come over new connections. What HTTP magic trick can he use to make this process smoother and faster?

a)

Cookie

b)

Pipelining

c)

Keep-Alive header

d)

DNS caching

18.

Hey there, Eesha and Anika! Imagine you're web developers for a day. Which HTTP status code would you use to tell your users that they've been temporarily redirected to another page? Is it:

a)

301

b)

302

c)

404

d)

500

19.

Neha was excited to create a vibrant web page filled with stunning images from various servers. However, she noticed that her page was loading slower than expected. Can you help her figure out what might be causing this?

a)

DNS lookup delays

b)

TCP congestion

c)

Connection reuse

d)

Packet fragmentation

20.

Hey there, web wizards! 🌐 Imagine Aashi is working on her latest project and she decides to use Content-Encoding: gzip in her HTTP headers. Can you guess what magical benefit this brings to her website?

a)

Encrypts content to keep it a secret 🤫

b)

Compresses content to reduce size and load faster 🚀

c)

Increases bandwidth for more data flow 📈

d)

Adds cookies for a sweet touch 🍪

21.

Hey there, tech whiz! Imagine Arnav just sent a request to a REST API and got a shiny status 201 Created in return. What do you think this means?

a)

Amazing! A new resource has been successfully created!

b)

Oops! That request was invalid.

c)

Hold on! A redirection is needed.

d)

Yikes! Unauthorized access detected!

22.

Hey there, tech whiz! Imagine Nikita is using an FTP client to connect to port 21. Can you guess what this connection is all about?

a)

Data transfer

b)

Command control

c)

File storage

d)

Encryption

23.

Hey there, tech whizzes! Imagine Arjun and Aanya are diving into the world of FTP. In active mode FTP, who do you think takes the lead in initiating the data connection?

a)

Server

b)

Client

c)

Proxy

d)

Firewall

24.

Hey there, tech whizzes! Eshaan, Aanya, and Advait are diving into the world of FTP. Can you help them out? In passive mode FTP, which port does the client connect to for data transfer?

a)

Port 20

b)

Port 21

c)

Random port specified by server

d)

Same as control port

25.

Imagine Arnav is trying to upload a file for his project, but suddenly, the upload fails halfway through! However, the control connection is still active. What could this mean for Arnav's upload adventure?

a)

The data channel took a vacation!

b)

The control channel decided to drop out!

c)

Both connections went MIA!

d)

The server threw in the towel!

26.

Hey there, tech wizards! Imagine our friend Eshaan, the network administrator, is on a mission to configure FTP. However, he wants to keep the treasure of directory listings hidden from pesky external users. Can you help him figure out which command permission he should restrict to achieve this?

a)

RETR

b)

STOR

c)

LIST

d)

QUIT

27.

Hey there, tech wizards! Riyaan, Aarav, and Eesha are having a debate about web protocols. Can you help them settle the score? Which of the following statements is true for FTP and HTTP?

a)

Both use UDP

b)

Both maintain persistent control connections

c)

FTP uses two TCP connections, HTTP uses one

d)

HTTP needs login credentials always

28.

Hey Avani, imagine you're trying to connect to an FTP server, but it throws a curveball at you with a code 530! What could that possibly mean?

a)

File not found

b)

Login authentication failed

c)

Command not understood

d)

Directory unavailable

29.

Hey there, tech-savvy friends! Imagine Arjun, Kabir, and Mira are working on a file transfer application that decides to switch from FTP to HTTP for downloads. What awesome benefit might this change bring to their project?

a)

Encrypted connections by default

b)

Easier firewall traversal

c)

Reliable retransmission via UDP

d)

Directory listing support

30.

Aanya and Shaan are on a mission to help their company automate secure file transfers. They need to decide which protocol should replace the outdated FTP. Can you help them choose the right one?

a)

HTTP

b)

TFTP

c)

SFTP

d)

SMTP

31.

Hey Eshaan, Aanya, and Vanya! Imagine you're on a treasure hunt in the vast world of the internet. What do you think the HTTP status code 404 means when you stumble upon a missing treasure?

a)

Treasure found!

b)

Treasure moved permanently to another location!

c)

Treasure not found!

d)

Oops! Server error!

32.

Hey there, tech whizzes! 🌟 If Arjun, Mira, and Kiara were to send each other secret messages via email, which protocol would they need to ensure their messages are safe and sound?

a)

POP3

b)

HTTPS

c)

IMAP

d)

SMTP