Advertisements
Advertisements
Question
Convert (150)10 into Binary, then convert that Binary number to Octal.
Sum
Advertisements
Solution
Decimal to Binary conversion 150
| 2 | 150 | |
| 2 | 75 | -0 |
| 2 | 37 | -1 |
| 2 | 18 | -1 |
| 2 | 9 | -0 |
| 2 | 4 | -1 |
| 2 | 2 | -0 |
| 1 | -0 |
(150)10 = (10010110)2
Binary to octal conversion
LSB to MSB divide the number into three-digit binary and write the equivalent octal digit.
(10010110)2
| 10 | 010 | 110 |
| ↓ | ↓ | ↓ |
| 2 | 2 | 6 |
(10010110)2 = (226)8
(150)10 = (10010110)2 = (226)8
shaalaa.com
Is there an error in this question or solution?
