GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Placement Papers  >  TCS  >  Aptitude
Go To First  |  Previous Question  |  
 Aptitude  |  Question 147 of 147    Print  
File transfer Question
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.


  
Total Answers and Comments: 4 Last Update: August 18, 2008     Asked by: abhijit_de2000 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: amitsha
 
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

Above answer was rated as good by the following members:
hydsarema
July 18, 2008 02:33:26   #1  
wasim.madiwale Member Since: July 2008   Contribution: 1    

RE: File transfer Question
T = N * 1000.011 seconds
 
Is this answer useful? Yes | No
July 25, 2008 08:55:26   #2  
ajaycjoseph Member Since: July 2008   Contribution: 1    

RE: File transfer Question
100.11*n
 
Is this answer useful? Yes | No
August 07, 2008 11:05:07   #3  
amitsha Member Since: August 2008   Contribution: 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

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
August 17, 2008 08:04:03   #4  
arsi_mars Member Since: August 2008   Contribution: 1    

RE: File transfer Question
(i) total time to fill Nkb=10000N 
10 kb=>1bkt
 N kb=> N/10 bucket
(ii)To send 10 ms per bucket so for N/10 bucket it is =N ms
 (iii) Now acknowledge for 1 bkt= 100ms
Acknowledge for N/10 bkt= (N/10)*100=10N
Total time-== 10000N+N+10N=10011N answer

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape