Question Detail

COM 101 COM 101 Past Questions Objective Question

Question

The decimal equivalent of 101001.1011 is
Options
A 40.6878
B 41.6875
Correct Answer
C 40.0875
D 41.0875
Correct Answer

Option B is the correct answer.

Detailed Explanation

101001 in binary = 1×32 + 0×16 + 1×8 + 0×4 + 0×2 + 1×1 = 32 + 8 + 1 = 41. .1011 in binary = 1/2 + 0/4 + 1/8 + 1/16 = 0.5 + 0 + 0.125 + 0.0625 = 0.6875. Total = 41.6875.

Hint

Convert integer and fractional parts separately.

Question Info