Recall & Review
beginner
What does UDP stand for and what is its main characteristic?
UDP stands for User Datagram Protocol. It is a communication method that sends data without checking if it arrives correctly, making it faster but less reliable than TCP.
Click to reveal answer
beginner
Why is UDP commonly used for DNS (Domain Name System)?
UDP is used for DNS because DNS queries are small and need quick responses. UDP's fast, connectionless nature helps resolve domain names quickly without the overhead of establishing a connection.
Click to reveal answer
beginner
How does UDP benefit streaming services like video or music?
UDP allows streaming services to send data continuously without waiting for confirmation. This reduces delays and buffering, so users get smooth playback even if some data packets are lost.
Click to reveal answer
beginner
Why do many online games use UDP instead of TCP?
Online games use UDP because it sends data quickly without waiting for lost packets to be resent. This keeps the game responsive and fast, which is important for real-time actions.
Click to reveal answer
beginner
What is a common trade-off when using UDP for communication?
The trade-off is speed versus reliability. UDP is faster because it doesn't check if data arrives, but this means some data can be lost or arrive out of order.
Click to reveal answer
Why is UDP preferred for DNS queries?
✗ Incorrect
UDP is fast and connectionless, making it ideal for small, quick DNS queries.
What is a key benefit of using UDP for streaming video?
✗ Incorrect
UDP reduces delay and buffering by sending data continuously without waiting for acknowledgments.
Why do online games often use UDP?
✗ Incorrect
UDP keeps gameplay fast and responsive by sending data quickly without waiting for lost packets to be resent.
What is a downside of using UDP?
✗ Incorrect
UDP does not guarantee delivery, so data can be lost or arrive out of order.
Which of these is NOT a typical use case for UDP?
✗ Incorrect
File transfers usually require guaranteed delivery, so TCP is preferred over UDP.
Explain why UDP is chosen for DNS, streaming, and gaming applications.
Think about speed and reliability trade-offs.
You got /4 concepts.
Describe the main trade-off when using UDP instead of TCP.
Consider what UDP skips to gain speed.
You got /4 concepts.