Networking Flashcards

(20 cards)

1
Q

Define TCP.

A

A connection-oriented protocol that ensures reliable data transmission over a network.

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

True or false: UDP guarantees data delivery.

A

FALSE

UDP is connectionless and does not guarantee delivery or order.

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

What does HTTPS stand for?

A

HyperText Transfer Protocol Secure, a secure version of HTTP.

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

Fill in the blank: WebSockets provide _______ communication between client and server.

A

full-duplex

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

What is the main purpose of TCP?

A

To provide reliable, ordered, and error-checked delivery of data.

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

Define UDP.

A

A connectionless protocol that allows for fast data transmission without error correction.

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

True or false: WebSockets are only used for HTTP traffic.

A

FALSE

WebSockets can be used for various types of data, not just HTTP.

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

What is a key feature of HTTPS?

A

It encrypts data to secure communications over a computer network.

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

Fill in the blank: TCP uses _______ to ensure data integrity.

A

checksums

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

What is the main advantage of UDP?

A

Lower latency due to its connectionless nature, suitable for real-time applications.

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

Define WebSockets.

A

A protocol for full-duplex communication channels over a single TCP connection.

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

True or false: TCP is faster than UDP.

A

FALSE

TCP is slower due to its error-checking and connection management.

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

What is the role of TLS in HTTPS?

A

TLS provides encryption and secure communication for HTTPS.

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

Fill in the blank: WebSockets are initiated by a _______ request.

A

HTTP

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

What type of applications benefit most from UDP?

A

Real-time applications like gaming and video streaming.

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

Define HTTP.

A

HyperText Transfer Protocol, the foundation of data communication on the web.

17
Q

True or false: TCP can be used for streaming audio and video.

A

TRUE

TCP is used for applications where data integrity is crucial.

18
Q

What is a disadvantage of using UDP?

A

It does not guarantee delivery or order of packets.

19
Q

Fill in the blank: HTTPS uses _______ for secure communication.

20
Q

What is a common use case for WebSockets?

A

Real-time applications like chat applications and live notifications.