Lecture 4. Transport Layer. B1Chapters 14 Flashcards

(15 cards)

1
Q

What is the main function of the transport layer?

A

A: The transport layer ensures that data is delivered to the correct destination application and manages logical communication between applications on different hosts.

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

Q: What responsibilities does the transport layer have?

A

A:
- Tracking individual conversations
- Segmenting data and reassembling segments
- Adding header information
- Identifying, separating, and managing multiple conversations
- Using segmentation and multiplexing to let multiple communications share a network

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

Q: How does TCP differ from UDP?

A

A:
- Connection establishment: TCP–Yes, UDP–No
- Acknowledges received segments: TCP–Yes, UDP–No
- Overhead: TCP–20 bytes, UDP–8 bytes
- Faster delivery: TCP–No, UDP–Yes
- Flow control: TCP–Yes, UDP–No
- Ordered delivery: TCP–Yes, UDP–No

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

Q: What are the applications of TCP?

A

A:
World Wide Web (HTTP)
E-mail (SMTP with TCP)
File Transfer Protocol (FTP)
Secure Shell (SSH)

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

Q: What are the applications of UDP?

A

A:
- Domain Name System (DNS)
- Streaming media applications
- Online multiplayer games
- Voice over IP (VoIP)
- Trivial File Transfer Protocol (TFTP)

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

Q: What is the purpose of port numbers at the transport layer?

A

A: Port numbers allow the transport layer to direct data to the correct application process on a device.

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

Q: What is flow control in TCP?

A

A: Flow control is a mechanism to manage the amount of data that the destination can receive and process reliably, helping to maintain reliable transmission.

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

Q: What is segmentation and why is it used at the transport layer?

A

A: Segmentation is dividing large data into smaller pieces (segments) for easier and more reliable transmission. Each segment can be tracked and managed separately.

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

Q: What is multiplexing in networking?

A

A: Multiplexing allows multiple communication streams (conversations) to be combined over a single network channel, so multiple users can share the same network.

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

Q: What is the Maximum Segment Size (MSS) in TCP?

A

A: The largest amount of data in a TCP segment that a device can receive; commonly 1460 bytes for IPv4.

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

Q: What is the Maximum Transmission Unit (MTU) for Ethernet by default?

A

A: 1500 bytes.

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

Q: What happens during network congestion and how does TCP manage it?

A

A: Congestion leads to packet loss; TCP uses various congestion control mechanisms (like timers and algorithms) to detect and recover from congestion.

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

Q: How does a TCP connection get established?

A

A: By the “three-way handshake” process (synchronize, acknowledge, establish connection).

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