GATE | GATE-CS-2002 | Question 14

The decimal value 0.25
(A) is equivalent to the binary value 0.1
(B) is equivalent to the binary value 0.01
(C) is equivalent to the binary value 0.00111….
(D) cannot be represented precisely in binary


Answer: (B)

Explanation: We have 0.2510

0.25 * 2 = 0.50          0 (whole part)

0.50 * 2 = 1.00          1 (whole part)

 

So, 0.2510 = 0.012



Thus, B is the correct choice.

 

Please comment below if you find anything wrong in the above post.

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.