Skip to content
Related Articles

Related Articles

ISRO | ISRO CS 2015 | Question 77
  • Last Updated : 06 Apr, 2018
GeeksforGeeks - Summer Carnival Banner

The decimal number has 64 digits.The number of bits needed for its equivalent binary representation is?
(A) 200
(B) 213
(C) 246
(D) 277


Answer: (B)

Explanation: Maximum 64 digit decimal number = 1064 – 1
Maximum x bit binary number = 2x – 1
1064 – 1 = 2x – 1
taking log
log 21064 = x
x = 64 log 210
x = 64 x 3.3
x = 211.2 (approximately 213)
So, correct option is (B)

Quiz of this Question

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :