| |
GeekInterview.com > Placement Papers > TCS > Aptitude
| Print | |
Question: File transfer Question
Answer: A file is transferred from one location to another in ,buckets,. The size of the bucket is 10 kilobytes. The bucket gets filled at the rate of 0.0001 kilobytes per millisecond. The transmission time from sender to receiver is 10 milliseconds per bucket. After the receipt of the bucket the receiver sends an acknowledgement that reaches sender in 100 milliseconds. Assuming no error during transmission, write a formula to calculate the time taken in seconds to successfully complete the transfer of a file of size N kilobytes. |
| August 08, 2008 11:05:07 |
#3 |
| amitsha |
Member Since: August 2008 Total Comments: 1 |
RE: File transfer Question |
rate=1 ms -> .0001kb or 1 kb -> 10000ms N kb -> N*10000ms 10ms(to reciver)+N*10000ms(to fill)+100ms(for recipent)=(110+N*10000)ms |
| |
Back To Question | |