This set of Data communication and Networking Multiple Choice Questions and Answers (MCQs) focuses on “Data Link Layer – Data Link Control – Flow Control ”.
1. In the sliding window method of flow control, the receiver window _______ size when frames are received
- increases in
- decreases in
- doubles in
- remains its original
2. In the sliding window method of flow control, the receiver window _______ size when an ACK is sent
- increases in
- decreases in
- doubles in
- remains its original
3. A sender has a sliding window of size 15. The first 15 frames are sent. The first ACK received is ACK 15. What frame(s) has the receiver accepted?
- frame 15
- frame 14
- frames 0 to 15
- frames 0 to 14
4. A sender has a sliding window of size 15. The first 15 frames are sent. The first ACK received is ACK 15. What frame is the receiver expecting?
- frame 14
- frame 15
- frame 16
- frame 0
5. A sender has a sliding window of size 15. The first 15 frames are sent. How many frames are in the window now?
- 0
- 1
- 14
- 15
6. A sender has a sliding window of size 15. The first 10 frames are sent. How many frames are in the window now?
- 4
- 5
- 6
- 10
7. A sender has a sliding window of size 15. The first 15 frames are sent. The receiver receives 10 frames. How many frames can the receiver still receive?
- 1
- 5
- 6
- 15
8. A sender has a sliding window of size 15. The first 15 frames are sent. The receiver sends an ACK 10. How many spaces does the receiver window expand?
- 5
- 9
- 10
- 15
9. A sender has a sliding window of size 15. The first 15 frames are sent. The receiver sends an ACK 10 and expands its window. What is the size of the receiver window now?
- 5
- 9
- 10
- 15
10. The receiver's window in a sliding window protocol expands when _______.
- an ACK is received
- an ACK is sent
- a frame is sent
- a frame is received
11. The sender's window in a sliding window protocol expands when _______.
- an ACK is received
- an ACK is sent
- a frame is sent
- a frame is received
12. The stop-and-wait flow control method is the same as the sliding window method with a window size of _______.
- 0
- 1
- 2
- none of the above
13. Flow control is mainly a function of the _______ layer
- application
- presentation
- session
- data link
14. _______ is the regulation of the amount of data that can be sent.
- Line discipline
- Flow control
- Error control
- All of the above
15. Which data link layer function answers the question: How much data may be sent?
- line discipline
- flow control
- error control
- session management
16. Stop-and-wait is a _______ technique
- line discipline
- flow control
- error control
- session management
17. Sliding window is a _______ technique
- line discipline
- flow control
- error control
- session management
18. In the stop-and-wait method of flow control, the sender sends _______ at a time
- a variable number of frames
- only one frame
- a set number of frames
- two frames
19. In the sliding window method of flow control, the sender may send _______ at a time.
- several frames
- only one frame
- a set number of frames
- two frames
20. In the stop-and-wait method of flow control, after the receiver receives a data frame, _______ frame can be sent
- an ACK
- a NAK
- an EOT
- a or b
21. What is the main disadvantage of stop-and-wait flow control?
- unreliable
- inefficient
- attenuation
- dropped packets
22. In the stop-and-wait method of flow control, if 100 good data frames are sent and received, how many ACK frames have been sent by the receiver?
- 99
- 100
- 101
- 200
23. In the sliding window method of flow control, if 100 good data frames are sent and received, how many ACK frames have been sent by the receiver?
- 99
- 100
- 101
- some number less than or equal to 100
24. In the sliding window method of flow control, if the frame numbers range from 0 to 31, the size of the window is _______ frames.
- 16
- 31
- 32
- 33
25. In the sliding window method of flow control, if the frame numbers range from 0 to 63, the size of the window is _______ frames.
- 32
- 63
- 64
- 65
26. In the sliding window method of flow control, the sender window _______ size when frames are sent.
- increases in
- decreases in
- expands in
- remains its original
27. In the sliding window method of flow control, the sender window _______ size when an ACK is received.
- increases in
- decreases in
- doubles in
- remains its original