NEW
Font size
WorksheetsTransport Protocols and TCP/UDP Concepts - Worksheet Extraction
Total questions: 32
Worksheet time: 16mins
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?
TCP
UDP
FTP
HTTP
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?
Flow control
Connection establishment
No retransmission or ordering
Congestion avoidance
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?
TCP
UDP
ICMP
ARP
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?
Network layer
Transport layer
Application layer
Data link layer
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?
TCP
UDP
FTP
SMTP
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?
UDP
TCP
HTTP
ICMP
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?
Flow control
Three-way handshake
Congestion control
Slow start
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?
Oh no! Congestion detected
Looks like Aisha stopped sending the map
Shreya's device crashed!
Uh-oh, a timeout expired
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?
Requests a new connection to start over
Retransmits the lost segment after a timeout, keeping the race fair
Ignores the loss and keeps going
Sends an ACK for the next packet only, leaving the lost one behind
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?
SYN
ACK
FIN
RST
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?
Congestion control
Flow control (using sliding window)
Checksum
Retransmission
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?
600
400
1000
401
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?
HTTP
HTTPS
FTP
TCP
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?
HTTP/0.9
HTTP/1.0
HTTP/1.1
HTTP/2
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?
Sends data in body
Modifies server data
Parameters appear in URL
Uses encryption
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?
Resource deleted
Client request failed
Resource unchanged; use cached copy
Authentication required
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?
Cookie
Pipelining
Keep-Alive header
DNS caching
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:
301
302
404
500
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?
DNS lookup delays
TCP congestion
Connection reuse
Packet fragmentation
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?
Encrypts content to keep it a secret 🤫
Compresses content to reduce size and load faster 🚀
Increases bandwidth for more data flow 📈
Adds cookies for a sweet touch 🍪
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?
Amazing! A new resource has been successfully created!
Oops! That request was invalid.
Hold on! A redirection is needed.
Yikes! Unauthorized access detected!
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?
Data transfer
Command control
File storage
Encryption
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?
Server
Client
Proxy
Firewall
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?
Port 20
Port 21
Random port specified by server
Same as control port
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?
The data channel took a vacation!
The control channel decided to drop out!
Both connections went MIA!
The server threw in the towel!
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?
RETR
STOR
LIST
QUIT
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?
Both use UDP
Both maintain persistent control connections
FTP uses two TCP connections, HTTP uses one
HTTP needs login credentials always
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?
File not found
Login authentication failed
Command not understood
Directory unavailable
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?
Encrypted connections by default
Easier firewall traversal
Reliable retransmission via UDP
Directory listing support
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?
HTTP
TFTP
SFTP
SMTP
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?
Treasure found!
Treasure moved permanently to another location!
Treasure not found!
Oops! Server error!
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?
POP3
HTTPS
IMAP
SMTP
