1.

What is the binary number equivalent of the decimal number 32.25?1. 100010.102. 100000.103. 100010.014. 100000.01

Answer» Correct Answer - Option 4 : 100000.01

Concept:

Divide number into the whole number part (32) and decimal number part (0.25).

Divide the whole number part by 2 and note down the remainder in each step. Keep doing this until the result of the division is 1.

For the decimal part, keep on multiplying the decimal number by 2 and note down the digit before the decimal point in each step. Keep doing this until the result is a whole number.

Then, just join the whole number and the decimal part to find the binary number.

Calculations:

Divide number into the whole number part (32) and decimal number part (0.25).

Divide the whole number part by 2 and note down the remainder in each step. Keep doing this until the result of the division is 1.

32/2 = 16, remainder 0

16/2 = 8, remainder 0

8/2 = 4, remainder 0

4/2 = 2, remainder 0

2/2 = 1, remainder 0

Now, write down the remainders in reverse order. Hence, binary of 32 is 100000.

For the decimal part, keep on multiplying the decimal number by 2 and note down the digit before the decimal point in each step. Keep doing this until the result is a whole number.

0.25 × 2 = 0.5, digit before decimal is 0

0.5 × 2 = 1, digit before decimal is 1

Now, write down the digits. Hence, the binary of 0.25 is 0.01.

Then, just join the whole number and the decimal part. Hence, binary of 32.25 = 100000.01



Discussion

No Comment Found

Related InterviewSolutions