Computer Science, asked by Ashely607S, 8 hours ago

While converting the fractional part of a decimal system to another number system, why do we write the integer part from top to bottom and not other way?

Answers

Answered by Itzintellectual
2

Explanation:

Why do we convert a number from a decimal number system to a binary number system, or vice versa?

Converting 160 to binary.

Start with the integer in question and divide it by 2.

Keep track of the quotient and the remainder.

Continue dividing the quotient by 2 until you get a quotient of zero.

Here number is 160.

160/2= 80(coefficient), 0 (remainder)

80/2 = 40, 0

40/2= 20, 0

20/2=10, 0

10/2= 5, 0

5/2= 2, 1

2/2=1, 0

1/2=0, 1

Now write the remainders from bottom to top.

The result is 10100000.

So the binary form of 160 = 10100000.

Converting 10100000 to decimal format.

start from right hand side as 2^0 (0)+ 2^1(0) + 2^2(0) + 2^3(0) + 2^4(0) + 2^5(1) +2^6(0)+2^7(1)=0+0+0+0+0+32+0+128=160.

Answered by nihasrajgone2005
2

Answer:

please refer to the attached

please drop some ❤️❤️❤️

Explanation:

please f-o-l-l-o-w m-e bro please

Attachments:
Similar questions