Skip to content

GATE CS 2017 Set 2 Q35 — Transport Layer: Flow Control, Congestion Control, UDP, TCP, Sockets

Explain with AI

Consider two hosts XX and YY, connected by a single direct link of rate 106  bits/sec10^6\; \text{bits/sec}. The distance between the two hosts is 10,000  km10,000\;\text{km} and the propagation speed along the link is 2×108  m/sec2 \times 10^8 \;\text{m/sec}. Host XX sends a file of 50,000  bytes50,000\;\text{bytes} as one large message to host YY continuously. Let the transmission and propagation delays be p  millisecondsp\; \text{milliseconds} and q  millisecondsq \; \text{milliseconds} respectively. Then the value of pp and qq are

Choose one option
View worked solution

Answer: D

To find the transmission delay (pp) and propagation delay (qq), we use their standard definitions:

1. Transmission Delay (pp)

Transmission delay is the time taken to push all the packet's bits into the link.

Transmission Delay (p)=Message Size (in bits)Transmission Rate (Bandwidth)\text{Transmission Delay } (p) = \frac{\text{Message Size (in bits)}}{\text{Transmission Rate (Bandwidth)}}

Given:

  • Message Size = 50,000 bytes=50,000×8 bits=400,000 bits50,000 \text{ bytes} = 50,000 \times 8 \text{ bits} = 400,000 \text{ bits}
  • Transmission Rate = 106 bits/sec10^6 \text{ bits/sec}

p=400,000 bits106 bits/sec=0.4 seconds=400 millisecondsp = \frac{400,000 \text{ bits}}{10^6 \text{ bits/sec}} = 0.4 \text{ seconds} = 400 \text{ milliseconds}

2. Propagation Delay (qq)

Propagation delay is the time taken for the first bit of the message to travel from the sender to the receiver.

Propagation Delay (q)=DistancePropagation Speed\text{Propagation Delay } (q) = \frac{\text{Distance}}{\text{Propagation Speed}}

Given:

  • Distance = 10,000 km=107 meters10,000 \text{ km} = 10^7 \text{ meters}
  • Propagation Speed = 2×108 meters/sec2 \times 10^8 \text{ meters/sec}

q=107 m2×108 m/sec=0.05 seconds=50 millisecondsq = \frac{10^7 \text{ m}}{2 \times 10^8 \text{ m/sec}} = 0.05 \text{ seconds} = 50 \text{ milliseconds}

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

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Transport Layer: Flow Control, Congestion Control, UDP, TCP, Sockets questions