Convert (156)10 to binary, octal,hexadecimal ?

1 answer

To convert (156)10 to binary, octal, and hexadecimal, follow these steps:
1. Binary Conversion:
- Divide the decimal number (156) by 2 repeatedly until the quotient becomes 0.
- Take the remainders in reverse order to get the binary equivalent.
(156)10 ÷ 2 = 78 with remainder 0
(78)10 ÷ 2 = 39 with remainder 0
(39)10 ÷ 2 = 19 with remainder 1
(19)10 ÷ 2 = 9 with remainder 1
(9)10 ÷ 2 = 4 with remainder 1
(4)10 ÷ 2 = 2 with remainder 0
(2)10 ÷ 2 = 1 with remainder 0
(1)10 ÷ 2 = 0 with remainder 1

The binary equivalent of (156)10 is (10011100)2.

2. Octal Conversion:
- Divide the decimal number (156) by 8 repeatedly until the quotient becomes 0.
- Take the remainders in reverse order to get the octal equivalent.
(156)10 ÷ 8 = 19 with remainder 4
(19)10 ÷ 8 = 2 with remainder 3
(2)10 ÷ 8 = 0 with remainder 2

The octal equivalent of (156)10 is (234)8.

3. Hexadecimal Conversion:
- Divide the decimal number (156) by 16 repeatedly until the quotient becomes 0.
- Take the remainders in reverse order, using letters A-F for values 10-15, to get the hexadecimal equivalent.
(156)10 ÷ 16 = 9 with remainder 12 (C)
(9)10 ÷ 16 = 0 with remainder 9 (9)

The hexadecimal equivalent of (156)10 is (9C)16.