Sunday, February 24, 2008

1. Convert the following numbers from base 2 to base 10.
1. 1011 – 11
2. 101010 - 42
3. 11111 - 31
4. 10010 - 18

2. Convert the following numbers from base 10 to base 2.
1. 31 - 11111
2. 51 - 110011
3. 7 - 111
4. 103 - 1100111

1. A modem that can download at 56 kilobits/second –
56kilobits/8 = 7 kilobytes/s
100Megabytes = 100000kilobytes
100000kb/7kb= 14285.7 seconds = 238.1 mins

2. A DSL connection that can download at 5 Megabits/second –
5 Megabits = 5/8 = 0.625 Megabytes/s
100/0.625 = 160 s = 2 min 40 seconds

3. A high-speed connection that can download 10 Megabits/second
10 Megabits/s = 10/8 = 1.25 Megabytes/s
100/1.25 = 80 seconds = 1 minute 20 seconds

4. If we have an Internet connection that can upload 3 Megabits/second, and an MP3 is 60 Megabytes, how many MP3s can we upload in an hour?
3 Megabits/s = 0.375 Megabytes/s
60MB/ 0.375 = 160 seconds
60*60/160 = 22.5 MP3s