CS FundamentalsHardIBM · Deloitte pattern

A token bucket has capacity 1 MB and fills at 2 MB/s; the output line can run at 10 MB/s. Starting with a full bucket, for how long can the host send at the full 10 MB/s?

  1. A. 0.1 s
  2. B. 0.5 s
  3. C. 0.083 s
  4. D. 0.125 s

Correct answer: D. 0.125 s

Burst length S satisfies C + ρS = MS, so S = C/(M − ρ) = 1/(10 − 2) = 0.125 s. 0.1 s (= C/M) ignores the tokens that keep arriving during the burst.

More Computer Networks questions

Exams that ask this topic