CS FundamentalsHardGATE CS
Which statement correctly contrasts a leaky bucket with a token bucket shaper?
- A. A token bucket outputs at a constant rate, while a leaky bucket allows bursts
- B. Both allow unlimited bursts as long as the average rate is met
- C. A leaky bucket outputs at a constant rate, while a token bucket allows bursts up to the bucket size and then the token rate
- D. A leaky bucket drops tokens, while a token bucket drops packets only when tokens remain
Correct answer: C. A leaky bucket outputs at a constant rate, while a token bucket allows bursts up to the bucket size and then the token rate
The leaky bucket smooths any input into a fixed output rate (excess packets wait or are dropped). The token bucket saves up credit while idle, so a source can send a burst of up to C bytes at line rate, then continues at ρ.
More Computer Networks questions
- In an 802.11 WLAN, stations A and C are both in range of the access point B but cannot hear each other. Which problem does this create…
- Station B is sending to A. Station C, in range of B but not of A, wants to send to D, which is out of B's range. C senses B's transmission…
- A noiseless 3 kHz channel carries 64-QAM symbols at the Nyquist rate. What is the maximum bit rate?
- What minimum signal-to-noise ratio (in dB) does a 200 kHz channel need to carry 1 Mbps according to Shannon?
- A UDP server and a TCP server are written with BSD sockets. Which statement is correct?
- What is the maximum size of the options area in a TCP header?