Quiz 6 Flashcards

1
Q

That the transport layer provides a reliable data transfer service means

The data sent by a sender is equal to the data received by the receiver and the order is preserved

The data sent by a sender equal the data received by the receiver

The receiver may only receive some of the data sent by the sender

A

The data sent by a sender is equal to the data received by the receiver and the order is preserved

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

Delivering the data contained in a transport-segment to the correct socket is called

encapsulation

demultiplexing

multiplexing

A

demultiplexing

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

It is possible for two processes running on different hosts to send UDP segments to the same port on another host?

True

False

A

True

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

What kind of packets are exchanges between protocol entities at the transport level?

Segments

Datagrams

Frames

A

Segments

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

Assume that a host receives a UDP segment and finds that the checksum is correct. What does the receiver know

The segment received is identifical to the segment sent with 100 % certainty

The segment received is equal to the segment sent with a very high probability

A

The segment received is equal to the segment sent with a very high probability

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

Suppose you are given the following three 8-bit bytes: 01010011, 01100110, 00110100. What is the 1complement of the sum?

00010010

10000100

00000000

A

00010010

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

Suppose we have a network that may duplicate datagrams, but where there are no transmissions errors, loss or overtaking. What protocol mechanism would you use to ensure reliable data transfer

Acknowledgements

Retransmission

Checksums

Sequence numbers

A

Sequence numbers

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

It is possible to deal with transmission errors on ACK/NAK segments in the RDT2.0 protocol by simply retransmitting the current data segment in case a corrupt ACK or NAK is received by the sender?

True

False

A

False

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

It is possible to avoid using NAK-segments in the RDT2.1 protocol by instead having sequence numbers in the acknowledgement - and still obtain a correct protocol.

True

False

A

True

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

If the sender transport protocol entity in the RDT2.0 receives a corrupt ACK/NAK segment – what does the sender know for sure?

Some segment was received by the receiver

A corrupt data segment was received by the receiver

No data segment was received by the receiver

A

Some segment was received by the receiver

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

How is a TCP socket / connection identified

By a tuple consisting of destination IP address and destination port number

By a tuple consisting of source port and destination port

By a tuple consisting of source port, source IP address, destination port, and destination IP address

A

By a tuple consisting of source port, source IP address, destination port, and destination IP address

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

For which of the following transport protocols are acknowledgements cumulative?

Go-back N

Stop-and-wait

Selective-repeat

A

Go-back N

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

What is the purpose of flow control

To reduce segment loss in the network

Ensure reliable transmission of transport segments

To avoid that the sender overflows the receiver with data

A

To avoid that the sender overflows the receiver with data

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

Loss of transport segments is always an indication of network congestion?

True

False

A

False

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

What is the required relationship between the sequence number range and the windows size in the selective repeat protocol

There is no required relationship

The sequence number range must be equals to the window size

The sequence number range must be at least twice the window size

A

The sequence number range must be at least twice the window size

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