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 6 of 8.

Sagar said:   2 decades ago
Nice explanation.

Theyaguk said:   2 decades ago
Terrific Master!!

Nishtha said:   2 decades ago
Thanks dude.

Pravallika said:   2 decades ago
Wow thanks!:)

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

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

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

G.V.narayanan said:   1 decade ago
Ya its correct reason for 5.375

5=>binary number for 101
3=>binary number for 011

You see for minute in this section

What given data
(5.375) => (101.011) => two binary numbers between the point was given.

RENU said:   1 decade ago
5.375
5=101

0.375
*2
____________=0
0.750
*2
____________=1
1.500

0.500
*2
____________=1

so 5.375=101.011
that is B

Mohit said:   1 decade ago
If the size of integer is 4bytes, What will be the output of the program?

How we can examine this type of question?


Post your comments here:

Your comments will be displayed after verification.