CS FundamentalsHardProduct-company MCQ pattern

A web page consists of a base HTML file and 10 small images on the same server. Using persistent HTTP without pipelining and ignoring transmission times, how many RTTs does it take to fetch everything?

  1. A. 22 RTTs
  2. B. 12 RTTs
  3. C. 3 RTTs
  4. D. 11 RTTs

Correct answer: B. 12 RTTs

One RTT for the TCP handshake and one for the base file = 2 RTT; then each image needs one request-response RTT on the same connection = 10. Total 12. Non-persistent HTTP would need 2 per object = 22; pipelining would need 2 + 1 = 3.

More Computer Networks questions

Exams that ask this topic