2.1 TCP Vs. UDP Flashcards

1
Q

What does TCP stand for?

A

Transmission Control Protocol.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does UDP stand for?

A

User Datagram Protocol.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What type of connection does TCP use?

A

Connection-oriented (establishes a reliable connection before transmitting data).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What type of connection does UDP use?

A

Connectionless (transmits data without establishing a connection).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How does TCP ensure reliable delivery of data?

A

Uses a three-way handshake (SYN, SYN-ACK, ACK) and retransmits lost packets.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Does UDP retransmit lost packets?

A

No, UDP does not guarantee packet delivery or retransmission.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the main advantage of TCP?

A

Reliable and ordered delivery of data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the main advantage of UDP?

A

Faster, lower overhead, and efficient for real-time applications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which protocol is better for online banking and secure transactions?

A

TCP, because it ensures reliable data transmission.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which protocol is better for video streaming and gaming?

A

UDP, because it minimizes latency and overhead.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Does TCP guarantee the order of packet delivery?

A

Yes, TCP ensures data packets arrive in sequence.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Does UDP guarantee the order of packet delivery?

A

No, UDP packets may arrive out of order.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are some common applications that use TCP?

A

HTTPS, SSH, FTP, SMTP, IMAP.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are some common applications that use UDP?

A

VoIP, DNS, DHCP, online gaming, video streaming.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which protocol does DNS primarily use?

A

UDP (Port 53), but TCP is used for large queries.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Why does DHCP use UDP instead of TCP?

A

UDP allows faster and more efficient communication without a connection setup.

17
Q

What is the key difference in speed between TCP and UDP?

A

UDP is faster because it has less overhead and no error-checking.

18
Q

What is a major security advantage of TCP over UDP?

A

TCP provides reliable data delivery with acknowledgment and error correction.

19
Q

What protocol should be used for transferring large files securely?

A

TCP (e.g., FTP, SFTP).

20
Q

What protocol should be used for live voice and video communication?

A

UDP (e.g., VoIP, Zoom, Skype).