CS FundamentalsVery hardGATE CS (PYQ pattern)

A WFQ scheduler (bit-by-bit round robin approximation) serves three flows backlogged at time 0 with weights A = 2, B = 1, C = 1. Packet sizes: A: 100, 100; B: 150, 50; C: 60, 60, 60. Each packet's finish number is the previous finish of its flow plus size/weight. In what order are the first four packets served?

  1. A. A1, C1, A2, C2
  2. B. A1, B1, C1, A2
  3. C. A1, C1, C2, A2
  4. D. C1, A1, A2, B1

Correct answer: A. A1, C1, A2, C2

Finish numbers: A1 = 50, A2 = 100; B1 = 150, B2 = 200; C1 = 60, C2 = 120, C3 = 180. Ascending order: A1 (50), C1 (60), A2 (100), C2 (120), B1 (150), C3 (180), B2 (200).

More Computer Networks questions

Exams that ask this topic