INTRODUCTION TO COMPUTERS
COMPUTER ARCHITECTURE AND ORGANIZATION
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
-15 in a sign magnitude representation is
|
10111
|
|
01111
|
|
11111
|
|
10101
|
Explanation:
Detailed explanation-1: -Mathematical numbers are generally made up of a sign and a value (magnitude) in which the sign indicates whether the number is positive, ( + ) or negative, ( – ) with the value indicating the size of the number, for example 23, +156 or-274.
Detailed explanation-2: -An 8-bit sign-magnitude representation, then, can represent any integer from −127(10) to 127(10). This range of integers includes 255 values. But we’ve seen that 8 bits can represent up to 256 different values.
There is 1 question to complete.