Wednesday, September 30, 2009

Blog Assignment 3: Maths

Hah, computer maths, easy stuff! I could be all snooty and designate Hex values with $ and binary with % but I'll just use labels DECimal BINary and HEXadecimal.
For any outside readers this is a homework assignment, I'm not showing off here.
  1. Convert the following binary numbers to both hexadecimal (base-16) and decimal (base-10)
    a. Bin: 1011 Hex: B Dec: 11
    b. Bin: 10101 Hex: 15 Dec: 21
    c. Bin: 10010110 Hex: 96 Dec: 150
    d. Bin: 1111111 Hex:7F Dec: 27

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


  3. Suppose that we want to download a 200 MB file. How long will it take on each of the following connections?

    a. A modem that can download at 56 kilobits/second
    (1638400 bits, so ~29257.14 seconds) 8 hours, 7 minutes, 31 seconds
    b. A DSL connection that can download at 5 Megabits/second
    (320 Seconds) 5 minutes 20 seconds
    c. A high-speed connection that can download 10 Megabits/second
    2 minutes 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)?
    (491520 bits, 24576 bits/second, 88473600 bits/hour, divides evenly to:) 180 MP3s

No comments:

Post a Comment