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

From

Jump to: navigation, search

Hexadecimal

Help is available here

  1. Convert the following bases to their equivalent hexadecimal values
    1. 816
    2. A16
    3. 1016
    4. 116
    5. 516
    6. F16
    7. AB16
    8. AF0BE16
  2. Convert the following hexadecimal values to the given base
    1. 1410
  3. 42617416
  4. Hexadecimal numbers are easier for humans to read, understand and remember.

Negative Binary Numbers

Help is available here

  1. What are the denary values of the following twos complement numbers?
    1. 27
    2. − 1
    3. 125
    4. − 103
    5. − 72
  2. Convert the following numbers into negative numbers written in binary
  3. Convert the following hexadecimal values to the given base
    1. − 3
    2. − 12
  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

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
Personal tools
MediaWiki Appliance - Powered by TurnKey Linux