GATE CS 2023 | Question 52

Computer Networks › Application Layer · MSQ · 2 marks · Answer: C, D

  1. Question 52Computer Networksmsq2 marks
    Clicking www.gate-2023.in triggers an iterative DNS lookup over a 3-tier hierarchy (nothing cached). RTT is the same to DNS servers and to the web server. The HTML has negligible transmission/rendering time and references 10 small objects on the same server. Which are CORRECT about the minimum elapsed time to fully render?
    • A.
      7 RTTs, non-persistent HTTP with 5 parallel TCP connections.
    • B.
      5 RTTs, persistent HTTP with pipelining.
    • C.
      9 RTTs, non-persistent HTTP with 5 parallel TCP connections.
      ✓
    • D.
      6 RTTs, persistent HTTP with pipelining.
      ✓

    Answer: C, D

    Solution

    Answer: (C) and (D) DNS (iterative, 3-tier) takes 3 RTTs (local server queries root, TLD, authoritative). Then: - Persistent HTTP with pipelining: 1 RTT for TCP handshake + 1 RTT to fetch the HTML + 1 RTT to pipeline all 10 objects more RTTs. Total RTTs -> (D). - Non-persistent with 5 parallel connections: 1 RTT (connect) + 1 RTT (HTML), then 10 objects in 2 rounds of 5 parallel connections, each round costing 2 RTTs (connect + fetch) RTTs. Total RTTs -> (C).

More GATE PYQ on Application Layer

All GATE CS Computer Networks PYQ →

Attempt GATE CS 2023 in real GATE exam mode

Full paper with a timer, the GATE interface and a topic-wise analysis — free.

Create free account →