Number Systems and Codes - Technical MCQs

Q1:

Convert the binary number 1001.0010 to decimal.

A 125

B 12.5

C 90.125

D 9.125

ANS:D - 9.125

Given (1001.0010)

To convert into a decimal number we need to multiply each binary digit with 2. As we move towards the left part of the decimal number the power of the 2 increases i.e; ( 2^0, 2^1, 2^2, 2^3......) as we move towards the right part of the decimal the power of 2 decreases i.e;( 2^-1, 2^-2, 2^-3)

So after multipying the binary digits with the number 2 we get 9.125.

In Detail: Given (1001.0010) , multiply each binary digit with 2 along with their powers. i.e;
2^3x1 + 2^2x0 +2^1x0 + 2^0x1 + 2^-1x0 + 2^-2x0 + 2^-3x1 +2^-4x0.
= 8 + 0 + 0 + 1 + 0 + 0 + 0.125 + 0 => 9.125.

Answer = D