Monday, October 5, 2009

Math

Convert the following binary numbers to both hexadecimal (base-16) and decimal (base-10)
1.
a. 1011 Hexadecimal-B Decimal-11
b. 10101 Hexadecimal-15 Decimal-21
c. 10010110 Hexadecimal-96 Decimal-150
d. 1111111 Hexadecimal-7f Decimal-27

Convert the following decimal numbers to both binary (base-2) and hexadecimal (base-16)
2.
a. Decimal-8 Hexadecimal-8 Binary-1000
b. Decimal-63 Hexadecimal-3F Binary-111111
c. Decimal-113 Hexadecimal-71 Binary-1110001
d. Decimal-97 Hexadecimal-61 Binary-1100001

3.
Suppose that we want to download a 200 MB file. How long will it take on each of the following connections?
a.56 kilobits/s
1638400 bits/56 bits per second
=
29257.14 seconds
8 hours, 7 minutes, 31 minutes

b.5 megabits/s
8*200mb=1600megabits/s
1600/5=320 seconds
5min and 20 seconds

c.10 megabits/s
1600megabits per second/10megabits per second=160 seconds
2 minutes and 40 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? In a month (given a reliable connection)?
.375 megabytes per second*60 megabytes=22.5 seconds for mp3 to be uploaded
3600/22.5=160 songs in an hour
2629743.83/22.5=
116,877.5 songs in a month


0 comments:

Post a Comment