Computer Science, asked by palaashlgs, 1 month ago

Q. 1 Convert the 254 decimal number into binary equivalent.

Answers

Answered by kavyapola1705
0

Answer:

11111110

Explanation:

(254)10 = (11111110)2

Step by step solution

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

254/2 = 127, remainder is 0

127/2 = 63, remainder is 1

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 11111110.

So, 11111110 is the binary equivalent of decimal number 254 (Answer).

Answered by shahzadiasra123
0

Answer:

(1111110)base 2

Explanation:divide 254 by 2

Similar questions