GATE CSE
First time here? Checkout the FAQ!
x
+1 vote
157 views

asked by (493 points) 8 20 | 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

convert your comment to ans
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.,

1 Answer

+6 votes
Best answer

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
Answer:

Related questions

0 votes
0 answers
1
asked by chaser (493 points) 8 20 | 86 views
+2 votes
3 answers
2
+11 votes
3 answers
3


Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
Top Users Oct 2017
  1. Arjun

    23210 Points

  2. Bikram

    17018 Points

  3. Habibkhan

    6652 Points

  4. srestha

    5864 Points

  5. Debashish Deka

    5430 Points

  6. jothee

    4908 Points

  7. Sachin Mittal 1

    4762 Points

  8. joshi_nitish

    4274 Points

  9. sushmita

    3954 Points

  10. Silpa

    3698 Points


Recent Badges

Regular Juhi Sehgal
Popular Question vineet.ildm
Nice Comment Arjun
100 Club vipul verma
Notable Question jothee
Popular Question jothee
Nice Question shivangi5
Regular rinks5
Notable Question shipra tressa
Regular sasi
27,247 questions
35,056 answers
83,703 comments
33,183 users