COMPUTER FUNDAMENTALS

DATA REPRESENTATION AND NUMBER SYSTEMS

TWOS COMPLEMENT AND FLOATING POINT REPRESENTATION

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is 0.125 in fixed point binary (4 bits for the whole number / 4 bits for fractional part)?
A
10001000
B
00000010
C
00001000
D
00011000
Explanation: 

Detailed explanation-1: -Solution. First, convert 0.625, the magnitude of the second number, to fixed-point binary notation. 0.625 ≥ 2−1, so there is a 1 in the 2−1 column, leaving 0.625 − 0.5 = 0.125.

Detailed explanation-2: -Answer: The decimal value 0.25 is equivalent to the binary value 0.01 because we can convert 0.25 to binary by dividing 0.25 by 2 and recording the remainder until the quotient becomes 0. The resulting binary number is 0.01.

Detailed explanation-3: -The decimal number 0.75 is written as 0.11 in binary.

There is 1 question to complete.