- The signed-magnitude representation is used to represent:
A. Positive numbers only B. Negative numbers only
C. Numbers with magnitude zero only D. Both the positive and negative numbers
- The sign bit is used in the signed-magnitude system for representing:
A. Value of the number B. Whether the number is positive or negative
C. Whether the number is zero D. None of the above
- What is the value of sign bit for positive numbers?
A. 1 B. Not defined C. 0 D. None of the above
- Which of the following bit is reserved for the sign bit in signed-magnitude representation?
A. MSB B. LSB
C. Exactly the middle of the bits D. None of the above
- Which of the following statement is true for one’s complement?
A. One’s complement of a binary number can be obtained by replacing 0 by 1 and 1 by 0.
B. One’s complement is only used to represent negative numbers.
C. One’s complement of a binary number can be obtained by subtracting the number from 9999.
D. None of the above.
- Two’s complement of a number can be obtained by adding:
A. 0 to the one’s complement of the number
B. 1 to the one’s complement of the number C.
9 to the signed magnitude representation of the number
D. 1 to the octal representation of the number