0.5

The Gateway to Computer Science Excellence

0 votes

Which of the following decimal numbers can be exactly represented in binary notation with a finite number of bits ?

- $0.1$
- $0.2$
- $0.4$
- $0.5$
- All the above

+2 votes

Binary representation of $0.5$, $0.1_2$ is the only fraction that is terminating in the given options. So it can be represented exactly.

All other options have non-terminating fraction part and cannot be represented exactly with finite number of bits.

All other options have non-terminating fraction part and cannot be represented exactly with finite number of bits.

52,315 questions

60,428 answers

201,757 comments

95,237 users