+1 vote
157 views

10's complement = 9's complement +1...take 5 digits = 09900

The question is asking for representation in 5 digits..So prior to finding 10's complement , u have to represent the given number in 5 digits which can be done by appending a 0 to MSB as it does not changes value..

So 5 digit representation of number  =  (09900)10

So 9's complement of it                  =  (90099)10

So 10's complement of it                =   (90099)10 + 1

=   (90100)10

what if i wish to calculate 10's complement by using r^n - N where r is the base, n number of digits and N is the number.,

The question is asking for representation in 5 digits..So prior to finding 10's complement , u have to represent the given number in 5 digits which can be done by appending a 0 to MSB as it does not changes value..

So 5 digit representation of number  =  (09900)10

So 9's complement of it                  =  (90099)10

So 10's complement of it                =   (90099)10 + 1

=   (90100)10

Hence C) is the correct answer..

answered by Veteran (87k points) 15 57 292
selected by