Name the three ways in which signed integers can be presented in digital computers and explain the differences.
Three Ways are:-
Signed Magnitude representation
The left most bit is 0 for positive numbers and 1 for negative numbers. The other bits represent the magnitude.
1's Complement
In this representation also left most bit is 0 for positive numbers and 1 for negative numbers. The other bits are complemented for negative numbers.
2's complement
The reprensentation is almost same as one complement but for negative numbers we add 1.
Get Answers For Free
Most questions answered within 1 hours.