CS 473 - Base Conversion Review

I want to give you a chance to brush up on your base-conversion and non-decimal manipulation skills, but this is really stuff from prior classes so there isn't much point in demanding it as a homework assignment. It's up to you whether you do this; just be able to manipulate the numbers!

  • Number conversions from decimal
    Convert each of the following decimal numbers into eight-bit, 2's complement binary.
    a) 107 b) -39 c) 58 d) -109
    Convert each of the following decimal numbers into 16-bit, 16's complement hexadecimal
    e) 1342 f) -11234 g) 8695 h) -1234
  • Number base conversions to decimal
    Convert each of the following eight-bit, 2's complement, binary numbers into decimal
    i) 10010101 j) 01010101 k) 11001100 l) 00000110
    Convert each of the following 16-bit, 16's complement, hexadecimal numbers into decimal
    m) abcd n) 1234 o) af12 p) 0a1b
  • Binary arithmetic
    The following problems are expressed in eight bit, 2's complement, binary. In the multiplication problem, your answer should be a sixteen bit number. In the division, your answer should have a quotient and a remainder.
    1. 01100101 + 00010011
    2. 01101100 - 01110110
    3. 11101100 * 00100111
    4. 00101011 / 00001011


    Last modified: Wed Aug 21 09:07:40 MDT 2002