🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: TCP Congestion Control: all 10 questions

Quiz: TCP Congestion Control · Question 8 of 10

What does this print? (code)

What does this print?

cwnd_mss, mss_bytes, rtt_s = 10, 1500, 0.05
print(cwnd_mss * mss_bytes * 8 / rtt_s / 1e6, "Mbps")
  1. A.0.3 Mbps
  2. B.1.2 Mbps
  3. C.3.0 Mbps
  4. D.2.4 Mbps
Answer & explanation

Correct answer: 2.4 Mbps

10 × 1,500 bytes = 120,000 bits per 0.05 s = 2,400,000 bits/s.

Can you get the rest right without peeking?

Take the timed Quiz: TCP Congestion Control quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →