Redirected
retagged by
3,980 views
2 votes
2 votes

A decimal number has $30$ digits. Approximately, how many digits would the binary representation have?

  1. $30$
  2. $60$
  3. $90$
  4. $120$
retagged by

2 Answers

2 votes
2 votes

actually 1030-1 but its close to 1030 so yes you are right , its greater than 90 

so ans will be D)120

2 votes
2 votes

Maximum value of a $30$ digit number $ = \underbrace{9999\ldots9}_{\text{30 9's}}\approx 10^{30}$

Now,  $10^{30} \leq 2^n$

Taking $\log$ on both sides, we get $\displaystyle 30  \leq n \log 2 \implies n \geq \lceil \dfrac{30}{\log 2}\rceil = 100.$


Minimum value of a $30$ digit number $ = \underbrace{100\ldots0}_{\text{29 0's}}= 10^{29}$

Now,  $10^{29} \leq 2^n$

Taking $\log$ on both sides, we get $29  \leq n \log 2 \implies n \geq \lceil \dfrac{29}{\log 2}\rceil = 97.$

So, depending on the $30$ digit number, the binary representation will need minimum $97$ digits and maximum $100$ digits.

Best option, C.

Answer:

Related questions

2 votes
2 votes
4 answers
1
admin asked Mar 31, 2020
1,685 views
The result of the subtraction $FD​_{16} - ​88_{16​}$ is$75_{16}$$65_{16}$$5E_{16}$$10_{16}$
8 votes
8 votes
10 answers
2
admin asked Mar 31, 2020
2,360 views
Which of the following logic expression is incorrect?$1\oplus0=1$$1\oplus1\oplus0=1$$1\oplus1\oplus1=1$$1\oplus1=0$
3 votes
3 votes
3 answers
3
admin asked Mar 31, 2020
3,926 views
In which of the following adder circuits, the carry look ripple delay is eliminated?Half adderFull adderParallel adderCarry-look ahead adder
3 votes
3 votes
2 answers
4
admin asked Mar 31, 2020
1,057 views
The output of a sequential circuit depends on present inputs onlypast inputs onlyboth present and past inputspresent outputs only