edited by
1,082 views
2 votes
2 votes

Consider the number given in the base '12' system is (-1457)12 then the number of 1's in the 2's complement binary representation of that number is ______?

The answer is 9

edited by

1 Answer

1 votes
1 votes

(-1457)12 = (2371)10

(2371)10 = (0100101000011)2 (Note that, the MSB is set to 0, otherwise, if it were not, then the number would have been interpreted as negative.)

(-2371)10 = (1011010111101)2

Thus, it has 9  1's.

Related questions

0 votes
0 votes
1 answer
1
Vishnathan asked Jun 28, 2018
693 views
A signed number in $2′s$ compliment notation with $16−$bit register $P=DFA0$What is the value of $P∗4$?I have tried $P∗4=0111111010000000$ but sign bit changed fr...
3 votes
3 votes
1 answer
2
Lakshman Bhaiya asked Jan 5, 2018
1,709 views
The r ’s complement of an n-digit decimal number N in base r is defined for all values of N except for N = 0. If the given number is (247)9, then its 9’s complement w...
1 votes
1 votes
1 answer
3
1 votes
1 votes
1 answer
4
saurabh rai asked Jan 17, 2018
1,146 views
What will be base-3 equivalent of decimal number 56.4