...
Digital-Logic-Design
October 16, 2023
PUERTA 2008-IT
October 16, 2023
Digital-Logic-Design
October 16, 2023
PUERTA 2008-IT
October 16, 2023

Digital-Logic-Design

Question 430
A decimal has 25 digits. the number of bits needed for its equivalent binary representation is approximately
A
50
B
74
C
40
D
60
E
None of these
Question 430 Explanation: 
Consider three digits(1,2,3) of decimal numbers.Maximum number, we can generate by that three digits are 10​ 3​ -1 which is 999.
Then, Decimal number has 25 digits, so maximum number is 10​ 25​ -1
Similarly, in the binary representation with “n” bits the maximum number is 2​n​ -1
So we can write 10​ 25​ –1 = 2​ n​ – 1 —>10​ 25​ = 2​ n
After taking log​ 2​ on both sides
log​ 2​ 2​ n​ =log ​ 2​ 10​ 25
n log​ 2​ 2=25 log ​ 2​ 10
n=25*(3.322) [ log​ 2​ 2=1 & log​ 2​ 10 =3.322]
n=83
Correct Answer: E
Question 430 Explanation: 
Consider three digits(1,2,3) of decimal numbers.Maximum number, we can generate by that three digits are 10​ 3​ -1 which is 999.
Then, Decimal number has 25 digits, so maximum number is 10​ 25​ -1
Similarly, in the binary representation with “n” bits the maximum number is 2​n​ -1
So we can write 10​ 25​ –1 = 2​ n​ – 1 —>10​ 25​ = 2​ n
After taking log​ 2​ on both sides
log​ 2​ 2​ n​ =log ​ 2​ 10​ 25
n log​ 2​ 2=25 log ​ 2​ 10
n=25*(3.322) [ log​ 2​ 2=1 & log​ 2​ 10 =3.322]
n=83
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!