Computer Science, asked by ayushik545, 6 months ago

Convert 195.625 (10) to
Binary? With The steps pls​

Answers

Answered by tkhushi19
0

Answer:

First, convert to the binary (base 2) the integer part: 195.

Divide the number repeatedly by 2.

Keep track of each remainder.

We stop when we get a quotient that is equal to zero.

division = quotient + remainder;

195 ÷ 2 = 97 + 1;

97 ÷ 2 = 48 + 1;

48 ÷ 2 = 24 + 0;

24 ÷ 2 = 12 + 0;

12 ÷ 2 = 6 + 0;

6 ÷ 2 = 3 + 0;

3 ÷ 2 = 1 + 1;

1 ÷ 2 = 0 + 1;

2. Construct the base 2 representation of the integer part of the number.

Take all the remainders starting from the bottom of the list constructed above.

195(10) =

1100 0011(2)

3. Convert to the binary (base 2) the fractional part: 0.625.

Multiply it repeatedly by 2.

Keep track of each integer part of the results.

Stop when we get a fractional part that is equal to zero.

#) multiplying = integer + fractional part;

1) 0.625 × 2 = 1 + 0.25;

2) 0.25 × 2 = 0 + 0.5;

3) 0.5 × 2 = 1 + 0;

Explanation:

Mark as BRAINLIST

Similar questions