GATE | GATE CS Mock 2018 | Set 2 | Question 15

Which of the following option is correct regarding number conversion from a base to another base?

(A) If a number has k digits in hex, then k/4 digits (bits) can have in binary.
(B) If a number has k digits in decimal, then roughly k/2 digits can have in binary.
(C) If a number has k digits base a, then roughly k*loga(b) digits can have in base b?
(D) None of the above


Answer: (B)

Explanation: If a number has k digits in decimal, then roughly k / (log2(10)) = k/3 digits can have in binary.
Only option (B) is false.

Quiz of this Question



My Personal Notes arrow_drop_up


Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.