Open In App

GATE | GATE-CS-2002 | Question 14

Last Updated : 28 Jun, 2021
Like Article
Like
Save
Share
Report

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


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads