Computer Science, asked by Aash9562, 1 year ago

Convert (150)₁₀ into Binary, then convert that Binary number to Octal

Answers

Answered by konrad509
44

150/2=75r0

75/2=37r1

37/2=18r1

18/2=9r0

9/2=4r1

4/2=2r0

2/2=1r0

1/2=0r1

150_{10}=10010110_2

Now, divide the binary number into 3-bit groups and convert each group to octal number.

010|010|110\\\\010_2=2_8\\110_2=6_8

Therefore

10010110_2=226_8

Answered by AskewTronics
9

The binary value of (150)_{10} is (10010110)_{2} and the octal value of (10010110)_{2} is 226_{8}

Explanation:

For Binary conversion:

  • The figure attached below holds the processor to convert the decimal to binary in which, column 1 holds the divisor, column 2 holds the quotient and column 3 holds the remainder.
  • The divisor will always 2 when the decimal will convert into binary and the process ends when the quotient will 0.
  • The remainder traverse from bottom to top is the answer.

For binary to octal conversion:

  • Firstly we make the group of three digits of (10010110)_{2} from right to left.
  • Then the group will (010),(010),(110). The 0 will be added in the left group because the left group has only 2 digits.
  • Then the binary of the group can be calculated then the result is 2,2,6.
  • Hence the answer is 226_{8}.

Learn More:

  • Decimal to binary : https://brainly.in/question/3406363
  • Binary to octal : https://brainly.in/question/9624618

Attachments:
Similar questions