The sign-magnitude representation of −5 in 8 bits is:
Show answerHide answer
Correct answer: (D) 10000101
Explanation
Sign bit 1, magnitude 0000101. (11111011 is 2's complement.)
Correct answer: (D) 10000101
Explanation
Sign bit 1, magnitude 0000101. (11111011 is 2's complement.)
This is question 102 of DSSSB TGT Computer Science Full Mock Test 4. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.