Skip to content
Official PYQ · 2015

GATE CS 2015 Set 3 Q36 — Packet, Circuit and Virtual Circuit Switching

Explain with AI
Two hosts are connected via a packet switch with 10710^7 bits per second links. Each link has a propagation delay of 2020 microseconds. The switch begins forwarding a packet 3535 microseconds after it receives the same. If 1000010000 bits of data are to be transmitted between the two hosts using a packet size of 50005000 bits, the time elapsed between the transmission of the first bit of data and the reception of the last bit of the data in microseconds is ______.
View worked solution

Answer: 1575

To find the total time elapsed, we first calculate the transmission delay (TtT_t) for a single packet of size 50005000 bits:

Tt=Packet sizeBandwidth=5000 bits107 bps=5×10−4 s=500 μsT_t = \frac{\text{Packet size}}{\text{Bandwidth}} = \frac{5000 \text{ bits}}{10^7 \text{ bps}} = 5 \times 10^{-4} \text{ s} = 500\ \mu\text{s}

We are given:

  • Propagation delay per link (TpT_p) = 20 μs20\ \mu\text{s}
  • Switch forwarding delay (TsT_s) = 35 μs35\ \mu\text{s}
  • Total data to transmit = 1000010000 bits, which corresponds to 22 packets (P1P_1 and P2P_2) of 50005000 bits each.

Let's trace the timeline of transmission starting at t=0t = 0:

  1. t=0 μst = 0\ \mu\text{s}: Host H1H_1 starts transmitting packet P1P_1.
  2. t=500 μst = 500\ \mu\text{s}: H1H_1 finishes transmitting P1P_1 and immediately starts transmitting P2P_2.
  3. t=520 μst = 520\ \mu\text{s}: P1P_1 is completely received at the switch SS (500+Tp500 + T_p).
  4. t=555 μst = 555\ \mu\text{s}: Switch SS begins forwarding P1P_1 (after the 35 μs35\ \mu\text{s} processing delay).
  5. t=1000 μst = 1000\ \mu\text{s}: H1H_1 finishes transmitting P2P_2.
  6. t=1020 μst = 1020\ \mu\text{s}: P2P_2 is completely received at the switch SS.
  7. t=1055 μst = 1055\ \mu\text{s}: Switch SS finishes transmitting P1P_1 (555+500555 + 500). At this exact moment, the switch is also ready to forward P2P_2 (since 1020+35=1055 μs1020 + 35 = 1055\ \mu\text{s}), so it immediately starts transmitting P2P_2.
  8. t=1555 μst = 1555\ \mu\text{s}: Switch SS finishes transmitting P2P_2 (1055+5001055 + 500).
  9. t=1575 μst = 1575\ \mu\text{s}: P2P_2 is completely received at the destination host H2H_2 (1555+Tp1555 + T_p).

Thus, the total time elapsed is 1575 microseconds.

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

Published
Report a correction
Keep exploringMore Packet, Circuit and Virtual Circuit Switching questions