We read your photo as:

Add the two binary numbers 11102 and 1112.

Computer Science

ScanSolve AI Answer

Answer

101012\text{10101}_2

Step-by-step solution

4 steps

Okay, let's think about this like we're using blocks or counting on our fingers, just like primary pupils learn.

First, we need to understand what binary numbers mean in our normal counting system (base 10). In binary, each place value is double the one before it, starting from 1 on the right.

  • ... 16, 8, 4, 2, 1 (these are the place values)
  1. Change the first binary number (111021110_2) into our normal number.

    Place value:8421Binary digit:1110\begin{array}{c c c c c} \text{Place value:} & 8 & 4 & 2 & 1 \\ \text{Binary digit:} & 1 & 1 & 1 & 0 \\ \end{array}

    We have:

    • One group of 8 (1×8=81 \times 8 = 8)
    • One group of 4 (1×4=41 \times 4 = 4)
    • One group of 2 (1×2=21 \times 2 = 2)
    • Zero groups of 1 (0×1=00 \times 1 = 0)

    Add these up: 8+4+2+0=148 + 4 + 2 + 0 = 14.
    So, 111021110_2 is the same as 14.

  2. Change the second binary number (1112111_2) into our normal number.

    Place value:421Binary digit:111\begin{array}{c c c c} \text{Place value:} & 4 & 2 & 1 \\ \text{Binary digit:} & 1 & 1 & 1 \\ \end{array}

    We have:

    • One group of 4 (1×4=41 \times 4 = 4)
    • One group of 2 (1×2=21 \times 2 = 2)
    • One group of 1 (1×1=11 \times 1 = 1)

    Add these up: 4+2+1=74 + 2 + 1 = 7.
    So, 1112111_2 is the same as 7.

  3. Add the two normal numbers together.

    Now we just add 14+714 + 7.
    14+7=2114 + 7 = 21.

  4. Change our answer (21) back into a binary number.

    We need to find which binary place values add up to 21. We'll use the place values: 16,8,4,2,116, 8, 4, 2, 1.

    • Does 16 fit into 21? Yes. So we use one 16. 21−16=521 - 16 = 5 left over. Binary: 1 (for the 1616s place)

    • Does 8 fit into 5? No. So we don't use an 8. Binary: 0 (for the 88s place)

    • Does 4 fit into 5? Yes. So we use one 4. 5−4=15 - 4 = 1 left over. Binary: 1 (for the 44s place)

    • Does 2 fit into 1? No. So we don't use a 2. Binary: 0 (for the 22s place)

    • Does 1 fit into 1? Yes. So we use one 1. 1−1=01 - 1 = 0 left over. Binary: 1 (for the 11s place)

    Putting the binary digits together from left to right (from the 1616s place down to the 11s place), we get 10101210101_2.

Was this helpful?

Try one yourself

A new problem that tests the same skill.

Still stuck on this one?

Ask a follow-up, and the answer starts from this question.

Got a different question?Ask your own question
Handwritten step-by-step solution preview

Handwritten Step-by-Step Solution

Get this as a handwritten image on WhatsApp — like a tutor wrote it for you.

Try on WhatsApp