Quiz 6.4

DIRECTIONS: Read each question carefully. Then click on the dot next to the answer that most closely fits the question. Try to answer all questions on this quiz and when you are done, click on the grade me button at the bottom.


Coverage: Section 6.4

  1. 6 is 1102. What would -6 be in 2's complement notation, assuming there are 10 bits?
0000000110
1000000110
1111111001
1111111010

  1. Which of the following numbers can't be represented in 4 bits 2's complement form?
-4
-7
+67
0

  1. How many 0s are there in 2's complement notation?
only one, silly!
two
three
four

  1. How do we transform a negative binary number to 2's complement?
flip all the bits
flip all the bits and add 1
simply append a 1 to the left end of the unsigned form

  1. What is -1 in 10 bits 2's complement?
0000000000
1111111111
1000000001
1111111110

  1. What is -7 in 2's complement assuming there are always 5 bits?
11000
00111
10111
11001

  1. 64-bit chips are already being sold and used. Intel is working on a 64- bit chip called Merced that may eventually sell to PC owners. What is -2 in 64 bits 2's complement? (There are 64 bits in each number below. They have been broken into "bytes" for convenience of reading.)
11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111110
11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111100
10000000 00000000 00000000 00000000 00000000 00000000 00000000 00000010

  1. In 16 bits, the largest unsigned integer is 65,535, which is 16 1's in a row. What is the smallest number number in 16 bits 2's complement?
-65,536
-16,383
-32,768
-32,767

  1. What is +17 in 8 bits 2's complement?
00010001
11101110
11101111
11111110

  1. Which of the following 8-bit numbers is -10? (1010 is 10102.)
10001010
11110101
11110110
11111011