Computer Science, asked by swara20bagul, 3 months ago

Convert binary to decimal.
a- (190)10
b- (63)10
plz show explaination.

Answers

Answered by swethakrishna433
1

Answer:

(190)10 = (10111110)2

Step by step solution

Step 1: Divide (190)10 successively by 2 until the quotient is 0:

190/2 = 95, remainder is 0

95/2 = 47, remainder is 1

47/2 = 23, remainder is 1

23/2 = 11, remainder is 1

11/2 = 5, remainder is 1

5/2 = 2, remainder is 1

2/2 = 1, remainder is 0

1/2 = 0, remainder is 1

Step 2: Read from the bottom (MSB) to top (LSB) as 10111110.

So, 10111110 is the binary equivalent of decimal number 190

(63)10 = (111111)2

Step by step solution

Step 1: Divide (63)10 successively by 2 until the quotient is 0:

63/2 = 31, remainder is 1

31/2 = 15, remainder is 1

15/2 = 7, remainder is 1

7/2 = 3, remainder is 1

3/2 = 1, remainder is 1

1/2 = 0, remainder is 1

Step 2: Read from the bottom (MSB) to top (LSB) as 111111.

So, 111111 is the binary equivalent of decimal number 63

Explanation:

Similar questions