Question

Consider two hosts XX and YY, connected by a single direct link of rate 10610^6 bits/sec. The distance between the two hosts is 10,00010,000 km and the propagation speed along the link is 2×1082 \times 10^8 m/sec. Host XX sends a file of 50,00050,000 bytes as one large message to host YY continuously. Let the transmission and propagation delays be pp milliseconds and qq milliseconds, respectively.

Then the values of pp and qq are

Choose one option
Official answer and solution
Official answer
D
From
Official GATE 2017 answer key

Solution

Compute transmission delay using p=LRp = \frac{L}{R} and propagation delay using q=dvq = \frac{d}{v}.

Calculate transmission delay pp:

  • Message length L=50,000 bytes=50,000×8 bits=400,000 bits=4×105 bitsL = 50,000 \text{ bytes} = 50,000 \times 8 \text{ bits} = 400,000 \text{ bits} = 4 \times 10^5 \text{ bits}.
  • Link transmission rate R=106 bits/secR = 10^6 \text{ bits/sec}.
p=LR=4×105 bits106 bits/sec=0.4 sec=400 millisecondsp = \frac{L}{R} = \frac{4 \times 10^5 \text{ bits}}{10^6 \text{ bits/sec}} = 0.4 \text{ sec} = 400 \text{ milliseconds}

Calculate propagation delay qq:

  • Distance d=10,000 km=10,000×103 m=107 md = 10,000 \text{ km} = 10,000 \times 10^3 \text{ m} = 10^7 \text{ m}.
  • Propagation speed v=2×108 m/secv = 2 \times 10^8 \text{ m/sec}.
q=dv=107 m2×108 m/sec=120 sec=0.05 sec=50 millisecondsq = \frac{d}{v} = \frac{10^7 \text{ m}}{2 \times 10^8 \text{ m/sec}} = \frac{1}{20} \text{ sec} = 0.05 \text{ sec} = 50 \text{ milliseconds}

Thus, p=400p = 400 and q=50q = 50, which matches option D.

Final answer

D

Common trap

Forgetting to convert bytes to bits when computing transmission delay (50,000/106=5050,000 / 10^6 = 50 ms), leading to option B.

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2017 Computer Science and Information Technology (CS) Session 2
Question
35 of 65, printed as CS Q.35
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.