C Programming - Floating Point Issues - Discussion

Discussion Forum : Floating Point Issues - General Questions (Q.No. 7)
7.
The binary equivalent of 5.375 is
101.101110111
101.011
101011
None of above
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
76 comments Page 1 of 8.

Jai said:   2 decades ago
How to work out this ?

Abirami said:   2 decades ago
I didn't understand the question. Please give me the correct explanation and how the ans comes.

Surya said:   2 decades ago
5.375

5 --> 101

0.375 * 2 = 0.75
0.75 * 2 = 1.5
0.5 * 2 = 1.0

Consider,only the decimal part from top to bottom ( 0 1 1)
THEREFORE, 5.375=101.011

Harry said:   2 decades ago
Ya above one is a correct explanation .

Pravallika said:   2 decades ago
Wow thanks!:)

Nishtha said:   2 decades ago
Thanks dude.

Theyaguk said:   2 decades ago
Terrific Master!!

Sagar said:   2 decades ago
Nice explanation.

Akansha Sneha said:   2 decades ago
To solve this divide the no. before decimal by 2 and write the remainder in reverse order and then multiply the no. after decimal by 2 and write the no. before decimal in the resultant in same order and do the same process until the resultant is zero.

Narayan semwal said:   1 decade ago
5.375

1--001
2--010
3--011
4--100
5-- 101

0.375 * 2 = 0.750
0.75 * 2 = 1.500
0.5 * 2 = 1.000

Consider,only the decimal part from top to bottom ( 0 1 1)
THEREFORE, 5.375=101.011


Post your comments here:

Your comments will be displayed after verification.