Computer Network (Flow Control and Its Protocol) (ET: 2.5 Hours)
Flow Control and Its Protocol
Topic Wise Question Bank
All Topics
Q1. Flow Control

What is Flow Control? Explain its purpose in computer networks and discuss why flow control is necessary between a fast sender and a slow receiver.

Q2. Flow Control Protocols

What are the different flow control protocols used for noiseless and noisy channels? Explain the basic characteristics of each protocol.

Q3. Stop-and-Wait Protocol

Explain the working principle of the Stop-and-Wait Protocol with a suitable example. Discuss its advantages and limitations.

Practical Scenario

A high-speed network has a long propagation delay. Explain why Stop-and-Wait Protocol may result in poor bandwidth utilization and why a Sliding Window Protocol would be more suitable.

Q4. Stop-and-Wait ARQ

What is Stop-and-Wait ARQ? Explain how ACK, timer, sequence number, and retransmission are used to provide reliable communication over a noisy channel.

Q5. Stop-and-Wait vs Stop-and-Wait ARQ

Differentiate between Stop-and-Wait Protocol and Stop-and-Wait ARQ based on flow control, error control, timer, sequence number, and retransmission.

Q6. Sliding Window Protocol

What is the Sliding Window Protocol? Explain its working principle and discuss how it improves bandwidth utilization compared with Stop-and-Wait ARQ.

Q7. Sliding Window Components

Explain the three states of frames in a Sliding Window Protocol:

  • Sent and acknowledged

  • Sent but not acknowledged

  • Not yet sent

Q8. Optimal Window Size

Station A uses 32-byte packets to transmit data to Station B. The RTT between A and B is 80 ms, and the bottleneck bandwidth is 128 kbps. Calculate the optimal window size.

Q9. Sequence Number Field

Two stations M and N are separated by L km. Each frame contains K bits, the propagation time per kilometer is t seconds, and the channel capacity is R bits/second.

Derive the minimum number of bits required in the sequence number field for maximum channel utilization using the Sliding Window Protocol.

Q10. Stop-and-Wait Link Utilization

A communication line has a bandwidth of 1.5 Mbps, RTT is 45 ms, and packet size is 1 KB. Calculate the link utilization using the Stop-and-Wait Protocol.

Q11. Minimum Frame Size

A channel has a bit rate of 4 Kbps and a one-way propagation delay of 20 ms. The channel uses Stop-and-Wait Protocol, and the transmission time of the ACK is negligible.

What should be the minimum frame size to achieve a channel efficiency of at least 50%?

Q12. Stop-and-Wait Throughput

What is the throughput achievable in a Stop-and-Wait Protocol for a maximum packet size of 1000 bytes and a network span of 10 km? Assume the propagation speed in the cable is 70% of the speed of light in vacuum.

Q13. Transmission Time and Sender Utilization

A packet size is 1 KB, the propagation time is 15 ms, and the channel bandwidth is 10⁹ bits/sec.

Calculate:
a) Transmission time
b) Sender utilization using Stop-and-Wait Protocol.

Q14. Required Data Rate

A MAN has an average source-to-destination distance of 20 km and a one-way propagation delay of 100 μs. At what data rate will the round-trip delay equal the transmission delay for a 1 KB packet?

Q15. Transmission and Propagation Delay

Two hosts X and Y are connected by a direct link with a data rate of 10⁶ bits/sec. The distance between them is 10,000 km, and the propagation speed is 2 × 10⁸ m/sec. Host X sends a file of 50,000 bytes as one large message.

Calculate:
a) Transmission delay
b) Propagation delay

Q16 Numerical Problem — Sliding Window

A sender transmits 1000-bit frames over a 1 Mbps link. The RTT is 40 ms.

Calculate the minimum window size required to keep the link fully utilized.

Q17. Numerical Problem — Stop-and-Wait

A packet is 2000 bits long and the transmission rate is 500 Kbps. The one-way propagation delay is 20 ms.

Calculate the Stop-and-Wait efficiency, assuming the ACK transmission time is negligible.

📘 Flow Control and Its Protocol
1. In the sliding window method of flow control, the receiver window size ______ when frames are received.
2. In the sliding window method of flow control, the receiver window size ______ when an ACK is sent.
3. A sender has a sliding window of size 15. The first 15 frames are sent. The first ACK received is ACK 15. What frames has the receiver accepted?
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?
5. A sender has a sliding window of size 15. The first 15 frames are sent. How many frames are in the window now?
6. A sender has a sliding window of size 15. The first 10 frames are sent. How many frames can still be sent before the window is full?
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?
8. A sender has a sliding window of size 15. The first 15 frames are sent. The receiver sends ACK 10. How many spaces does the receiver window expand?
9. A sender has a sliding window of size 15. The first 15 frames are sent. The receiver sends ACK 10 and expands its window. What is the size of the receiver window now?
10. The receiver's window in a sliding window protocol expands when ______.
11. The sender's window in a sliding window protocol expands when ______.
12. The stop-and-wait flow control method is the same as the sliding window method with a window size of ______.
13. Flow control is mainly a function of the ______ layer.
14. ______ is the regulation of the amount of data that can be sent.
15. Which Data Link Layer function answers the question: How much data may be sent?
16. Stop-and-wait is a ______ technique.
17. Sliding window is a ______ technique.
18. In the stop-and-wait method of flow control, the sender sends ______ at a time.
19. In the sliding window method of flow control, the sender may send ______ at a time.
20. In the stop-and-wait method of flow control, after the receiver receives a data frame, ______ frame can be sent.
21. What is the main disadvantage of stop-and-wait flow control?
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?
23. In the sliding window method of flow control, if 100 good data frames are sent and received, how many ACK frames may be sent by the receiver?
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.
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.
26. In the sliding window method of flow control, the sender window ______ size when frames are sent.
27. In the sliding window method of flow control, the sender window ______ size when an ACK is received.

Leave a Comment

WhatsApp Telegram Messenger