Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can someone please explain to me

If a 10 MB file is transferred over a 2 megabits per second connection, how many seconds it would take to transfer. using the nearest 0.1 second. Thank you

share|improve this question

closed as too broad by Ignacio Vazquez-Abrams, Dave, Tog, Mokubai, Simon Sheehan Oct 16 '13 at 2:04

There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
hmm - phrased exactly like a homework question. hmmm. – Ecnerwal Oct 14 '13 at 13:10

The only thing you'll need to know is that 8 bit is one byte.

It's not common to calculate file sizes using bits, but it is possible: a 10MB file is 80megabits.

You could also calculate the connection in bytes: 2 megabit is 2/8 = 0.25 megabyte/s.

Using bits

80megabits at 2megabits/s

80/2 = 40s

Using bytes

10megabytes at 0.25megabytes/s

10/.25 = 40s
share|improve this answer
1  
Of course this is only the theoretical speed, it will probably be slower due to the network conditions. – Henrik Karlsson Oct 14 '13 at 11:36
    
Unless you need to factor start and stop bits into the transmission. – Ignacio Vazquez-Abrams Oct 14 '13 at 11:36
    
True, but since the protocol isn't specified and the extra data negligible I left them out. – Henrik Karlsson Oct 14 '13 at 11:39