Computer Science, asked by sreeshanthpriya, 6 months ago

convert the following numbers into Binary number system a) 87 b) 98 c) 126 d) 431 e) 560 II)convert the following Binary numbers into Decimals number system a) 1101 b) 1010 c) 1001 d) 0011 e) 1111

Answers

Answered by mdaamirsiddiqui9857
0

Answer:

following numbers into Binary number system:-

a) 87 - 1010111

b) 98 - 1100010

c) 126 - 1111110

d) 431 - 110101111

e) 560 - 1000110000

following Binary numbers into Decimals number:-

a) 1101 - 13

b) 1010 - 10

c) 1001 - 9

d) 0011 - 3

e) 1111 - 15

EXPLANATION:-

the decimal number is equal to the sum of binary digits (dn) times their power of 2 (2n):

decimal = d0×20 + d1×21 + d2×22 + ...

How to convert decimal to binary

Conversion steps:

Divide the number by 2.

Get the integer quotient for the next iteration.

Get the remainder for the binary digit.

Repeat the steps until the quotient is equal to 0.

Similar questions