← 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")
- A.0.3 Mbps
- B.1.2 Mbps
- C.3.0 Mbps
- 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 →