Lesson 4.5.4.3

4.5.4.3 Signed binary using two's complement Quiz: AQA Computer Science, Unit 5

20 questions

In partnership with Revision Ninja

Lesson 4.5.4.3, Signed binary using two's complement: 20 multiple choice questions for the AQA Computer Science (7517), Unit 5: Fundamentals of data representation, written with Revision Ninja.

Host it live on the board and students join with a game code on their own devices, or revise alone with Free Play. The answers are revealed in the game.

Host this setFree Play

The 20 questions

  1. In a two's complement binary number, what does the most significant bit represent?

    • Overflow flag
    • Parity bit
    • Sign of number
    • Exponent value
  2. What is the range of an n-bit two's complement integer?

    • 0 to 2^n - 1
    • -2^(n-1) to 2^(n-1) - 1
    • -2^n to 2^n - 1
    • -(2^(n-1) - 1) to 2^(n-1)
  3. Which 4-bit two's complement pattern represents -8?

    • 1111
    • 1000
    • 0111
    • 0000
  4. What is the 8-bit two's complement representation of -1?

    • 1000 0001
    • 1111 1111
    • 1000 0000
    • 0000 0001
  5. Which n-bit two's complement value is the most negative?

    • -(2^n - 1)
    • -2^(n-1)
    • 0
    • -1
  6. What step is taken after inverting bits to find a number's two's complement?

    • Add 1
    • Subtract 1
    • Shift left 1
    • Multiply by 2
  7. Which 8-bit two's complement pattern represents +5?

    • 0000 1010
    • 1111 1011
    • 0000 0101
    • 1000 0101
  8. Convert -5 to 8-bit two's complement.

    • 0000 0101
    • 1111 1011
    • 1111 1010
    • 1000 0101
  9. Convert the 8-bit two's complement pattern 1111 0110 to decimal.

    • 246
    • -10
    • -6
    • -9
  10. Convert -6 to 4-bit two's complement.

    • 0110
    • 1001
    • 0101
    • 1010
  11. Using 4-bit two's complement, calculate 7 - 3. What is the result?

    • 1010, which is -6
    • 1100, which is -4
    • 0100, which is 4
    • 0011, which is 3
  12. Calculate 20 - 7 in 8-bit two's complement. What pattern results?

    • 1111 0011
    • 0000 1110
    • 0000 1101
    • 0001 1101
  13. Add the 4-bit two's complement numbers 0011 and 0011. What is the result?

    • 0111, which is 7
    • 0010, which is 2
    • 0110, which is 6
    • 1000, which is -8
  14. What occurs when adding 1001 (-7) and 1001 (-7) in 4-bit two's complement?

    • Overflow
    • Precision loss
    • No error
    • Underflow
  15. Convert the 8-bit two's complement pattern 1000 0000 to decimal.

    • 0
    • -128
    • 128
    • -127
  16. What is the maximum positive integer representable in 8-bit two's complement?

    • 256
    • 128
    • 127
    • 255
  17. What binary value results from incrementing 011111 (31) by 1 in 6-bit two's complement?

    • 000000
    • 011110
    • 100000
    • 111111
  18. How many distinct negative integers can a 4-bit two's complement number represent?

    • 7
    • 15
    • 4
    • 8
  19. How is binary subtraction A minus B performed using a standard adder circuit?

    • (-A) minus B
    • A times (-B)
    • A plus (-B)
    • A divided by B
  20. What is the 4-bit two's complement result of calculating 5 minus 3?

    • 0010
    • 0101
    • 1101
    • 1000

All AQA Computer Science quizzes