Flow Control Flashcards

1
Q

what is the function of the link layer in the OSI stack

A

to move frames from one node to another

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

why does the link layer expect a header in front of the data

A

to interpret what it is receiving

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

what does flow control do

A

speed matching mechanism

co ordinates the amount that can be sent before receiving an acknowledgement

flow control ensures the sender is not overwhelming the receiver

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

if there is a fast sender and a slow receiver does this cause problems

A

yes

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

if there is a slow sender and a fast receiver does this cause problems

A

no

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

what are the protocol(s) for a noiseless channel

A

stop and wait

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

what are the protocols for a noisy channel

A

Stop and Wait ARQ
Go Back N ARQ
Selective Repeat ARQ

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

what does ARQ stand for

A

automatic repeat request

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

what is a timeout

A

a specific period within which the acknowledgement has to be sent by the receiver to the sender

if not sent within the period, it is assumed that the frame has been corrupt or lost during transmission

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

what does ack stand for

A

acknowledgement

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

what does NACK stand for

A

negative acknowlegement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
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
13
Q

how many frames can the stop and wait arq protocol send at one time

A

1

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

when does the sender in the stop and wait arq protocol send another frame

A

after ack received
or after timeout

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

what does unidirectional mean in relation to stop and wait arq protocol

A

a frame is either being sent or received at any one time

only ever one frame in transmit

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

how does stop and wait work without timeout

A

same but no solution for lost data -> receiver or sender will wait an infinite amount of time

17
Q

how does stop and wait arq differ from stop and wait in a noiseless channel

A

it has timeouts

18
Q

what is the window size in go back N ARQ

A

N

19
Q

What does the window size mean in go back ARQ

A

N frames can be sent before the sender expects an ack back from the receiver

20
Q

what concept does go back n ARQ use

A

pipelining

21
Q

what concept does go back n ARQ use

A

pipelining

22
Q

if a frame is not received in the current window, which frames are sent back (Go back N)

A

all the frames in the current window

23
Q

why is go back n more efficient than stop and wait

A

no waiting time

24
Q

what is selective repeat ARQ

A

both the sender and receiver have a window

if an error occurs, it is corrected and then the sender and receiver go back to where the process left off

25
Q

when does the sender progress the window in go back ARQ

A

when an ack is received

26
Q

can receiver side take in frames that are not in its window in selective repeat ARQ

A

no

27
Q

how can you use binary to tell when different frames end and begin

A

flag bytes

28
Q

what is piggybacking

A

when data and acknowledgements are sent out together