Question: Quiz Question 1 (1 point) In a 6-bit two's complement system, A=010110, B=001100, when perform X=A+B, which of following statement is true? Question 1 options:
Quiz
Question 1 (1 point)
In a 6-bit two's complement system, A=010110, B=001100, when perform X=A+B, which of following statement is true?
Question 1 options:
|
| a. X is 110001 |
|
| b. X is 100010 |
|
| c. X is 110001 |
|
| d. X is 010001 |
|
| e. None of the above |
Question 2 (1 point)
Using a 6-bit cell to store integers in 2's complement, NEG 1 0 0 1 1 0 = ______ ?
Question 2 options:
|
| a. 0 1 1 0 1 0 |
|
| b. 0 1 1 0 0 1 |
|
| c. 0 1 1 0 1 1 |
|
| d. 1 0 0 1 1 0 |
|
| e. 1 1 1 0 0 1 |
Question 3 (1 point)
Using an 8-bit cell to store unsigned integers, what is the largest integer that can be stored?
Question 3 options:
|
| a. 255 |
|
| b. 127 |
|
| c. 63 |
|
| d. 256 |
|
| e. 128 |
Question 4 (1 point)
Using a 6-bit cell to store integers in 2's complement, what is the decimal number that stored in the cell as 010110?
Question 4 options:
|
| a. 28 |
|
| b. 18 |
|
| c. 26 |
|
| d. 22 |
|
| e. None of the above |
Question 5 (1 point)
What is the range of integers that can be represented using 3bits 2's complement?
Question 5 options:
|
| a. -4 to 3 |
|
| b. -3 to 3 |
|
| c. 0 to 7 |
|
| d. 0 to 15 |
|
| e. -4 to 4 |
Question 6 (1 point)
Using an 8-bit cell to store integers in 2's complement, what is the largest positive integer that can be stored?
Question 6 options:
|
| a. 255 |
|
| b. 127 |
|
| c. 63 |
|
| d. 256 |
|
| e. 128 |
Question 7 (1 point)
Using a 6-bit cell to store integers in 2's complement, what is the decimal number that stored in the cell as 100000?
Question 7 options:
|
| a. -0 |
|
| b. 0 |
|
| c. 32 |
|
| d. -32 |
Question 8 (1 point)
What is the range of integers that can be represented using 3bits unsigned binary representation?
Question 8 options:
|
| a. -4 to 3 |
|
| b. -3 to 3 |
|
| c. 0 to 7 |
|
| d. 0 to 15 |
|
| e. -4 to 4 |
Question 9 (1 point)
Using a 6-bit cell to store integers in 2's complement, NOT 1 0 0 1 1 0 = ______?
Question 9 options:
|
| a. 0 1 1 0 1 0 |
|
| b. 0 1 1 0 0 1 |
|
| c. 0 1 1 0 1 1 |
|
| d. 1 0 0 1 1 0 |
|
| e. 1 1 1 0 0 1 |
Question 10 (1 point)
Using a 6-bit cell to store integers in 2's complement, what is the decimal number that stored in the cell as 011111?
Question 10 options:
|
| a. -15 |
|
| b. -16 |
|
| c. 0 |
|
| d. 16 |
|
| e 31 |
Question 11 (1 point)
Using a 6-bit cell to store integers in 2's complement, what is the decimal number that stored in the cell as 101010?
Question 11 options:
|
| a. 42 |
|
| b. 22 |
|
| c. -22 |
|
| d. -42 |
|
| e. None of the above |
Question 12 (1 point)
Using a 4-bit cell to store integers in 2's complement, what is the largest positive integer that can be stored?
Question 12 options:
|
| a. 15 |
|
| b. 32 |
|
| c. 63 |
|
| d. 31 |
|
| e. 7 |
Question 13 (1 point)
When two binary numbers are added, if the sum of the left most column (called the most significant bit) does not produce a carry, then the carry bit C is set to _________.
Question 13 options:
|
| The C bit detects overflow for unsigned integer only. C bit alone cannot detect overflow for unsigned integers. |
|
| a. 0 |
|
| b. 1 |
|
| c. cannot be determined |
|
| d. either 1 or 0 |
Question 14 (1 point)
In a 6-bit two's complement system, A=010110, when perform X= - A, which of following statements are true?
Question 14 options:
|
| a. X is 101001 |
|
| b. N=1, Z=1 |
|
| c. X is 101010 |
|
| d. N=1, Z=0 |
|
| e. N=9, Z=1 |
|
| e. None of the above |
Question 15 (1 point)
When two binary numbers are added, if the sum of the left most column (called the most significant bit) produces a carry, then the carry bit C is set to _________. The C bit detects overflow for unsigned integer only. C bit alone cannot detect overflow for unsigned integers.
Question 15 options:
|
| a. 0 |
|
| b. 1 |
|
| c. cannot be determined |
|
| d. either 1 or 0 |
Question 16 (1 point)
In a 6-bit two's complement system, A=010110, B=001100, when perform A+B, which of following statements are true?
Question 16 options:
|
| a. The carry bit C is 0 |
|
| b. The carry bit C is 1 |
|
| c. The overflow bit V is 1 |
|
| d. The overflow bit V is 0 |
Question 17 (1 point)
Using a 6-bit cell to store integers in 2's complement, what will be stored for -5?
Question 17 options:
|
| a. 111011 |
|
| b. 111001 |
|
| c. 000101 |
|
| d. 100101 |
|
| e. None of the above |
Question 18 (1 point)
Using a 4-bit cell to store unsigned integers, what is the largest integer that can be stored?
Question 18 options:
|
| a. 15 |
|
| b. 32 |
|
| c. 63 |
|
| d. 31 |
|
| e. 7 |
Question 19 (1 point)
CPU contains a special bit called the overflow bit , denoted by V. When CPU adds two binary integers, if their sum is out of range when interpreted in 2's complement representation, then V is set to _____, otherwise V is set to ____.
Question 19 options:
|
| a. 0 : 0 |
|
| b. 1 : 1 |
|
| c. 0 : 1 |
|
| d. 1 : 0 |
Question 20 (1 point)
Using a 6-bit cell to store integers in 2's complement, what will be stored for decimal number -27?
Question 20 options:
|
| a. 100101 |
|
| b. 011011 |
|
| c. 111011 |
|
| d. 000101 |
|
| e. None of the above |
Submit Quiz0 of 20 questions saved
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
