A-level Computing 2009/AQA/Processing and Programming Techniques/Data Representation in Computers/Answers

Hexadecimal

edit

Help is available here

  1. Convert the following bases to their equivalent hexadecimal values
    1.  
    2.  
    3.  
    4.  
    5.  
    6.  
    7.  
    8.  
    9.  
    10.  
  2. Convert the following hexadecimal values to the given base
    1.  
    2.  
    3.  
    4.  
    5.  
  3.  
  4. Hexadecimal numbers are easier for humans to read, understand and remember.

Negative Binary Numbers

edit

Help is available here

  1. What are the denary values of the following twos complement numbers?
    1.  
    2.  
    3.  
    4.  
    5.  
  2. Convert the following numbers into negative numbers written in binary
    1.  
    2.  
    3.  
    4.  
    5.  
    6.  
    7.  
  3. Convert the following hexadecimal values to the given base
    1.  
    2.  
  4. Find the answers to the following sums in binary, show your working - not yet finished beyond here (YR 12 please complete!!)
    1. 0110 1100 - 0000 0111 = 01100101
    2. 0001 1111 - 0001 0011
    3. 0111 0111 - 0101 1011
    4. 23 (hex) - 1F (hex)
    5. 0001 0010 - 1111 1101

Binary Fractions

edit

Help is available here

  1. What are the values of the following numbers where there are 4 numbers before the decimal point?
    1. 0011.1000
    2. 0101.0111
    3. 0110.1100
    4. EF
    5. 1001.0011
    6. 1100.1101 (note: this number is a two's complement number)
  2. Using 1 byte for each number, with a fixed unsigned decimal point between bits 4 and 5, convert the following denary/decimal numbers into binary or get as close as you can
    1. 0001.1000
    2. 1000.1100
    3. 1001.0011
    4. 0000.1001
    5. 1101.1001 (as close as you can get)
  3. What are the values of the following 16 bit floating point numbers, where the exponent is 6 bits
    1. 0111 0100 1100 1110
    2. 0110 0000 0011 1010
    3. 1011 1100 0100 0001
    4. 1110 0000 0011 1101
  4. Normalise the following 16 bit floating point numbers, where the exponent is 6 bits
    1. 0011 0000 0000 0001
    2. 0001 1100 0000 1110
    3. 1101 0110 0100 0010
    4. 1111 0111 1111 1001