2.1 TCP Vs. UDP Flashcards
What does TCP stand for?
Transmission Control Protocol.
What does UDP stand for?
User Datagram Protocol.
What type of connection does TCP use?
Connection-oriented (establishes a reliable connection before transmitting data).
What type of connection does UDP use?
Connectionless (transmits data without establishing a connection).
How does TCP ensure reliable delivery of data?
Uses a three-way handshake (SYN, SYN-ACK, ACK) and retransmits lost packets.
Does UDP retransmit lost packets?
No, UDP does not guarantee packet delivery or retransmission.
What is the main advantage of TCP?
Reliable and ordered delivery of data.
What is the main advantage of UDP?
Faster, lower overhead, and efficient for real-time applications.
Which protocol is better for online banking and secure transactions?
TCP, because it ensures reliable data transmission.
Which protocol is better for video streaming and gaming?
UDP, because it minimizes latency and overhead.
Does TCP guarantee the order of packet delivery?
Yes, TCP ensures data packets arrive in sequence.
Does UDP guarantee the order of packet delivery?
No, UDP packets may arrive out of order.
What are some common applications that use TCP?
HTTPS, SSH, FTP, SMTP, IMAP.
What are some common applications that use UDP?
VoIP, DNS, DHCP, online gaming, video streaming.
Which protocol does DNS primarily use?
UDP (Port 53), but TCP is used for large queries.
Why does DHCP use UDP instead of TCP?
UDP allows faster and more efficient communication without a connection setup.
What is the key difference in speed between TCP and UDP?
UDP is faster because it has less overhead and no error-checking.
What is a major security advantage of TCP over UDP?
TCP provides reliable data delivery with acknowledgment and error correction.
What protocol should be used for transferring large files securely?
TCP (e.g., FTP, SFTP).
What protocol should be used for live voice and video communication?
UDP (e.g., VoIP, Zoom, Skype).