The Gateway to Computer Science Excellence

First time here? Checkout the FAQ!

x

+17 votes

The decimal value $0.25$

- is equivalent to the binary value $0.1$
- is equivalent to the binary value $0.01$
- is equivalent to the binary value $0.00111$
- cannot be represented precisely in binary

+17 votes

Best answer

**1st Multiplication Iteration**

Multiply 0.25 by 2

0.25 x 2 = 0.50(Product) Fractional part=0.50 Carry=0 **(MSB)**

**2nd Multiplication Iteration**

Multiply 0.50 by 2

0.50 x 2 = 1.00(Product) Fractional part = 1.00 Carry = 1(LSB)

The fractional part in the 2nd iteration becomes zero and hence we stop the multiplication iteration.

Carry from the 1st multiplication iteration becomes **MSB **and carry from 2nd iteration becomes **LSB**

**So the Result is 0.01**

- All categories
- General Aptitude 1.3k
- Engineering Mathematics 5.4k
- Digital Logic 2.1k
- Programming & DS 3.8k
- Algorithms 3.3k
- Theory of Computation 4.1k
- Compiler Design 1.6k
- Databases 3k
- CO & Architecture 2.6k
- Computer Networks 3k
- Non GATE 1.1k
- Others 1.4k
- Admissions 496
- Exam Queries 443
- Tier 1 Placement Questions 19
- Job Queries 59
- Projects 9

37,110 questions

44,694 answers

127,230 comments

43,751 users