...
Arrays
April 19, 2024
Graphs-and-Tree
April 19, 2024
Arrays
April 19, 2024
Graphs-and-Tree
April 19, 2024

Switching

Question 1

Consider a source computer (S) transmitting a file of size 106 bits to a destination computer (D) over a network of two routers (R1 and R2) and three links (L1, L2 and L3). L1 connects S to R1; L2 connects R1 to R2; and L3 connects R2 to D. Let each link be of length 100 km. Assume signals travel over each link at a speed of 108 meters per second. Assume that the link bandwidth on each link is 1Mbps. Let the file be broken down into 1000 packets each of size 1000 bits. Find the total sum of transmission and propagation delays in transmitting the file from S to D?

A
1005 ms
B
1010 ms
C
3000 ms
D
3003 ms
Question 1 Explanation: 

Propagation delay = (Distance) / (Velocity) = 3*105/108 = 3ms
Total transmission delay for 1 packet = 3 * L / B = 3*(1000/106) = 3ms. Because at source and 2 routers, we need to transmit the bits.
The first packet will reach destination = Tt + Tp = 6ms.
While the first packet was reaching to D, other packets must have been processing in parallel. So D will receive remaining packets 1 packet per 1 ms from R2. So remaining 999 packets will take 999 ms.
And total time will be 999 + 6 = 1005 ms
Correct Answer: A
Question 1 Explanation: 

Propagation delay = (Distance) / (Velocity) = 3*105/108 = 3ms
Total transmission delay for 1 packet = 3 * L / B = 3*(1000/106) = 3ms. Because at source and 2 routers, we need to transmit the bits.
The first packet will reach destination = Tt + Tp = 6ms.
While the first packet was reaching to D, other packets must have been processing in parallel. So D will receive remaining packets 1 packet per 1 ms from R2. So remaining 999 packets will take 999 ms.
And total time will be 999 + 6 = 1005 ms

Leave a Reply

Your email address will not be published. Required fields are marked *