Midterm 1 Flashcards

(7 cards)

1
Q

The OSI model consists of the following layers: Application, Presentation,
Session, Transport, Network, Data Link, and Physical. In your own words,
what does the Transport layer do? Explain your answer.

A

The transport layer of the OSI model handles the process to process channels

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

The OSI model is sometimes called the 7 layer internet model. When
describing the layers of this model, the layers are sometimes referred to by
just their numbers. Which number is the Network layer?

A

Network would be the third layer.

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

Explain the significance of the delay bandwidth product.

A

It’s the number of bits that can be in transit in a given instant and how many bits the sender must transmit before the first bit arrives at the receiver

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

Give an example of an application which prefers to use UDP instead of TCP. Why does this application prefer to use UDP instead of TCP. Explain your answer.

A

Gaming would be where UDP would be more preferred compared to TCP. Gaming needs a fast connection, there is no delay from ACKs or retransmissions. Since UDP also runs the risk of packet loss, it’s acceptable for gaming. UDP has no congestion so UDP will send packets regardless of what happen.

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

TCP is more complex that UDP. Identify 2 capabilities that TCP offers which UDP does not.

A

TCP is more reliable because it ensures that all packets are received correctly by using ACKs and retransmitting if packets are lost. UDP doesn’t guarantee delivery. TCP has congestion control to prevent packet loss and the overloading of data, UDP doesn’t have this and just sends the packets regardless.

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

In TCP, how can a slow or overwhelmed receiver slow down or stop a fast sender?

A

TCP can stop a fast sender using the sliding window to manage how much data can be sent before needing an acknowledgement. Receiver advertises a window size. Sender adjusts transmission rate to not overwhelm the receiver. When the receiver sets the window size to 0, the sender stop until there’s more.

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

Once a web server accepts a connection, what must it do to handle the web request while still being able to listen for additional connection requests?

A

Once a web server accepts a connection, to handle additional connection requests it must handle the request separately while continuing to listen for new connections using multithreading.

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