In a computer system, the signed numbers cannot be represented by

In a computer system, the signed numbers cannot be represented by

signed magnitude
one's complement
two's complement
float magnitude
This question was previously asked in
UPSC CISF-AC-EXE – 2024
The correct answer is D) float magnitude. Signed integers in computer systems are typically represented using methods like signed magnitude, one’s complement, or two’s complement. These methods handle the sign (positive or negative) of the integer value. ‘Float magnitude’ is not a standard method for representing signed integers. Floating-point numbers use a different format (usually IEEE 754 standard) involving a sign bit, an exponent, and a mantissa, which is distinct from signed integer representations.
Signed magnitude, one’s complement, and two’s complement are standard methods for representing signed integers in binary. Floating-point representation is used for real numbers and uses a different structure.
Signed magnitude uses the leftmost bit for the sign (0 for positive, 1 for negative) and the remaining bits for the magnitude. One’s complement represents negative numbers by inverting all bits of the positive number. Two’s complement is the most common method for representing signed integers due to its efficiency in arithmetic operations; it represents negative numbers by inverting all bits of the positive number and adding 1.
Exit mobile version