01How Computers Work

Fully solved problem book

Reading binary

Set 6 of 10 · 32 worked questions. Predict your result before expanding the solution.

These worked traces are meant to build fluency through controlled variation. If several answers feel identical, try the next difficult value and look for the point where a carry, sign, branch, or selected memory address changes the outcome.

Foundations · Problem 0161

Read 10100000₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10100000.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 0 at weight 16 contributes 0.
  8. Column 3: bit 0 at weight 8 contributes 0.
  9. Column 2: bit 0 at weight 4 contributes 0.
  10. Column 1: bit 0 at weight 2 contributes 0.
  11. Column 0: bit 0 at weight 1 contributes 0.
  12. The one-bit weights are 128 + 32.
  13. Add just the selected weights: 160.
  14. Answer: 10100000₂ = 160₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 160₁₀

Foundations · Problem 0162

Read 10100001₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10100001.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 0 at weight 16 contributes 0.
  8. Column 3: bit 0 at weight 8 contributes 0.
  9. Column 2: bit 0 at weight 4 contributes 0.
  10. Column 1: bit 0 at weight 2 contributes 0.
  11. Column 0: bit 1 at weight 1 contributes 1.
  12. The one-bit weights are 128 + 32 + 1.
  13. Add just the selected weights: 161.
  14. Answer: 10100001₂ = 161₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 161₁₀

Foundations · Problem 0163

Read 10100010₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10100010.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 0 at weight 16 contributes 0.
  8. Column 3: bit 0 at weight 8 contributes 0.
  9. Column 2: bit 0 at weight 4 contributes 0.
  10. Column 1: bit 1 at weight 2 contributes 2.
  11. Column 0: bit 0 at weight 1 contributes 0.
  12. The one-bit weights are 128 + 32 + 2.
  13. Add just the selected weights: 162.
  14. Answer: 10100010₂ = 162₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 162₁₀

Foundations · Problem 0164

Read 10100011₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10100011.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 0 at weight 16 contributes 0.
  8. Column 3: bit 0 at weight 8 contributes 0.
  9. Column 2: bit 0 at weight 4 contributes 0.
  10. Column 1: bit 1 at weight 2 contributes 2.
  11. Column 0: bit 1 at weight 1 contributes 1.
  12. The one-bit weights are 128 + 32 + 2 + 1.
  13. Add just the selected weights: 163.
  14. Answer: 10100011₂ = 163₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 163₁₀

Foundations · Problem 0165

Read 10100100₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10100100.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 0 at weight 16 contributes 0.
  8. Column 3: bit 0 at weight 8 contributes 0.
  9. Column 2: bit 1 at weight 4 contributes 4.
  10. Column 1: bit 0 at weight 2 contributes 0.
  11. Column 0: bit 0 at weight 1 contributes 0.
  12. The one-bit weights are 128 + 32 + 4.
  13. Add just the selected weights: 164.
  14. Answer: 10100100₂ = 164₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 164₁₀

Foundations · Problem 0166

Read 10100101₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10100101.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 0 at weight 16 contributes 0.
  8. Column 3: bit 0 at weight 8 contributes 0.
  9. Column 2: bit 1 at weight 4 contributes 4.
  10. Column 1: bit 0 at weight 2 contributes 0.
  11. Column 0: bit 1 at weight 1 contributes 1.
  12. The one-bit weights are 128 + 32 + 4 + 1.
  13. Add just the selected weights: 165.
  14. Answer: 10100101₂ = 165₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 165₁₀

Foundations · Problem 0167

Read 10100110₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10100110.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 0 at weight 16 contributes 0.
  8. Column 3: bit 0 at weight 8 contributes 0.
  9. Column 2: bit 1 at weight 4 contributes 4.
  10. Column 1: bit 1 at weight 2 contributes 2.
  11. Column 0: bit 0 at weight 1 contributes 0.
  12. The one-bit weights are 128 + 32 + 4 + 2.
  13. Add just the selected weights: 166.
  14. Answer: 10100110₂ = 166₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 166₁₀

Foundations · Problem 0168

Read 10100111₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10100111.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 0 at weight 16 contributes 0.
  8. Column 3: bit 0 at weight 8 contributes 0.
  9. Column 2: bit 1 at weight 4 contributes 4.
  10. Column 1: bit 1 at weight 2 contributes 2.
  11. Column 0: bit 1 at weight 1 contributes 1.
  12. The one-bit weights are 128 + 32 + 4 + 2 + 1.
  13. Add just the selected weights: 167.
  14. Answer: 10100111₂ = 167₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 167₁₀

Foundations · Problem 0169

Read 10101000₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10101000.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 0 at weight 16 contributes 0.
  8. Column 3: bit 1 at weight 8 contributes 8.
  9. Column 2: bit 0 at weight 4 contributes 0.
  10. Column 1: bit 0 at weight 2 contributes 0.
  11. Column 0: bit 0 at weight 1 contributes 0.
  12. The one-bit weights are 128 + 32 + 8.
  13. Add just the selected weights: 168.
  14. Answer: 10101000₂ = 168₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 168₁₀

Foundations · Problem 0170

Read 10101001₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10101001.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 0 at weight 16 contributes 0.
  8. Column 3: bit 1 at weight 8 contributes 8.
  9. Column 2: bit 0 at weight 4 contributes 0.
  10. Column 1: bit 0 at weight 2 contributes 0.
  11. Column 0: bit 1 at weight 1 contributes 1.
  12. The one-bit weights are 128 + 32 + 8 + 1.
  13. Add just the selected weights: 169.
  14. Answer: 10101001₂ = 169₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 169₁₀

Foundations · Problem 0171

Read 10101010₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10101010.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 0 at weight 16 contributes 0.
  8. Column 3: bit 1 at weight 8 contributes 8.
  9. Column 2: bit 0 at weight 4 contributes 0.
  10. Column 1: bit 1 at weight 2 contributes 2.
  11. Column 0: bit 0 at weight 1 contributes 0.
  12. The one-bit weights are 128 + 32 + 8 + 2.
  13. Add just the selected weights: 170.
  14. Answer: 10101010₂ = 170₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 170₁₀

Foundations · Problem 0172

Read 10101011₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10101011.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 0 at weight 16 contributes 0.
  8. Column 3: bit 1 at weight 8 contributes 8.
  9. Column 2: bit 0 at weight 4 contributes 0.
  10. Column 1: bit 1 at weight 2 contributes 2.
  11. Column 0: bit 1 at weight 1 contributes 1.
  12. The one-bit weights are 128 + 32 + 8 + 2 + 1.
  13. Add just the selected weights: 171.
  14. Answer: 10101011₂ = 171₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 171₁₀

Foundations · Problem 0173

Read 10101100₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10101100.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 0 at weight 16 contributes 0.
  8. Column 3: bit 1 at weight 8 contributes 8.
  9. Column 2: bit 1 at weight 4 contributes 4.
  10. Column 1: bit 0 at weight 2 contributes 0.
  11. Column 0: bit 0 at weight 1 contributes 0.
  12. The one-bit weights are 128 + 32 + 8 + 4.
  13. Add just the selected weights: 172.
  14. Answer: 10101100₂ = 172₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 172₁₀

Foundations · Problem 0174

Read 10101101₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10101101.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 0 at weight 16 contributes 0.
  8. Column 3: bit 1 at weight 8 contributes 8.
  9. Column 2: bit 1 at weight 4 contributes 4.
  10. Column 1: bit 0 at weight 2 contributes 0.
  11. Column 0: bit 1 at weight 1 contributes 1.
  12. The one-bit weights are 128 + 32 + 8 + 4 + 1.
  13. Add just the selected weights: 173.
  14. Answer: 10101101₂ = 173₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 173₁₀

Foundations · Problem 0175

Read 10101110₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10101110.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 0 at weight 16 contributes 0.
  8. Column 3: bit 1 at weight 8 contributes 8.
  9. Column 2: bit 1 at weight 4 contributes 4.
  10. Column 1: bit 1 at weight 2 contributes 2.
  11. Column 0: bit 0 at weight 1 contributes 0.
  12. The one-bit weights are 128 + 32 + 8 + 4 + 2.
  13. Add just the selected weights: 174.
  14. Answer: 10101110₂ = 174₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 174₁₀

Foundations · Problem 0176

Read 10101111₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10101111.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 0 at weight 16 contributes 0.
  8. Column 3: bit 1 at weight 8 contributes 8.
  9. Column 2: bit 1 at weight 4 contributes 4.
  10. Column 1: bit 1 at weight 2 contributes 2.
  11. Column 0: bit 1 at weight 1 contributes 1.
  12. The one-bit weights are 128 + 32 + 8 + 4 + 2 + 1.
  13. Add just the selected weights: 175.
  14. Answer: 10101111₂ = 175₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 175₁₀

Foundations · Problem 0177

Read 10110000₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10110000.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 1 at weight 16 contributes 16.
  8. Column 3: bit 0 at weight 8 contributes 0.
  9. Column 2: bit 0 at weight 4 contributes 0.
  10. Column 1: bit 0 at weight 2 contributes 0.
  11. Column 0: bit 0 at weight 1 contributes 0.
  12. The one-bit weights are 128 + 32 + 16.
  13. Add just the selected weights: 176.
  14. Answer: 10110000₂ = 176₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 176₁₀

Foundations · Problem 0178

Read 10110001₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10110001.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 1 at weight 16 contributes 16.
  8. Column 3: bit 0 at weight 8 contributes 0.
  9. Column 2: bit 0 at weight 4 contributes 0.
  10. Column 1: bit 0 at weight 2 contributes 0.
  11. Column 0: bit 1 at weight 1 contributes 1.
  12. The one-bit weights are 128 + 32 + 16 + 1.
  13. Add just the selected weights: 177.
  14. Answer: 10110001₂ = 177₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 177₁₀

Foundations · Problem 0179

Read 10110010₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10110010.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 1 at weight 16 contributes 16.
  8. Column 3: bit 0 at weight 8 contributes 0.
  9. Column 2: bit 0 at weight 4 contributes 0.
  10. Column 1: bit 1 at weight 2 contributes 2.
  11. Column 0: bit 0 at weight 1 contributes 0.
  12. The one-bit weights are 128 + 32 + 16 + 2.
  13. Add just the selected weights: 178.
  14. Answer: 10110010₂ = 178₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 178₁₀

Foundations · Problem 0180

Read 10110011₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10110011.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 1 at weight 16 contributes 16.
  8. Column 3: bit 0 at weight 8 contributes 0.
  9. Column 2: bit 0 at weight 4 contributes 0.
  10. Column 1: bit 1 at weight 2 contributes 2.
  11. Column 0: bit 1 at weight 1 contributes 1.
  12. The one-bit weights are 128 + 32 + 16 + 2 + 1.
  13. Add just the selected weights: 179.
  14. Answer: 10110011₂ = 179₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 179₁₀

Foundations · Problem 0181

Read 10110100₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10110100.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 1 at weight 16 contributes 16.
  8. Column 3: bit 0 at weight 8 contributes 0.
  9. Column 2: bit 1 at weight 4 contributes 4.
  10. Column 1: bit 0 at weight 2 contributes 0.
  11. Column 0: bit 0 at weight 1 contributes 0.
  12. The one-bit weights are 128 + 32 + 16 + 4.
  13. Add just the selected weights: 180.
  14. Answer: 10110100₂ = 180₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 180₁₀

Foundations · Problem 0182

Read 10110101₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10110101.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 1 at weight 16 contributes 16.
  8. Column 3: bit 0 at weight 8 contributes 0.
  9. Column 2: bit 1 at weight 4 contributes 4.
  10. Column 1: bit 0 at weight 2 contributes 0.
  11. Column 0: bit 1 at weight 1 contributes 1.
  12. The one-bit weights are 128 + 32 + 16 + 4 + 1.
  13. Add just the selected weights: 181.
  14. Answer: 10110101₂ = 181₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 181₁₀

Foundations · Problem 0183

Read 10110110₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10110110.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 1 at weight 16 contributes 16.
  8. Column 3: bit 0 at weight 8 contributes 0.
  9. Column 2: bit 1 at weight 4 contributes 4.
  10. Column 1: bit 1 at weight 2 contributes 2.
  11. Column 0: bit 0 at weight 1 contributes 0.
  12. The one-bit weights are 128 + 32 + 16 + 4 + 2.
  13. Add just the selected weights: 182.
  14. Answer: 10110110₂ = 182₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 182₁₀

Foundations · Problem 0184

Read 10110111₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10110111.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 1 at weight 16 contributes 16.
  8. Column 3: bit 0 at weight 8 contributes 0.
  9. Column 2: bit 1 at weight 4 contributes 4.
  10. Column 1: bit 1 at weight 2 contributes 2.
  11. Column 0: bit 1 at weight 1 contributes 1.
  12. The one-bit weights are 128 + 32 + 16 + 4 + 2 + 1.
  13. Add just the selected weights: 183.
  14. Answer: 10110111₂ = 183₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 183₁₀

Foundations · Problem 0185

Read 10111000₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10111000.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 1 at weight 16 contributes 16.
  8. Column 3: bit 1 at weight 8 contributes 8.
  9. Column 2: bit 0 at weight 4 contributes 0.
  10. Column 1: bit 0 at weight 2 contributes 0.
  11. Column 0: bit 0 at weight 1 contributes 0.
  12. The one-bit weights are 128 + 32 + 16 + 8.
  13. Add just the selected weights: 184.
  14. Answer: 10111000₂ = 184₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 184₁₀

Foundations · Problem 0186

Read 10111001₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10111001.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 1 at weight 16 contributes 16.
  8. Column 3: bit 1 at weight 8 contributes 8.
  9. Column 2: bit 0 at weight 4 contributes 0.
  10. Column 1: bit 0 at weight 2 contributes 0.
  11. Column 0: bit 1 at weight 1 contributes 1.
  12. The one-bit weights are 128 + 32 + 16 + 8 + 1.
  13. Add just the selected weights: 185.
  14. Answer: 10111001₂ = 185₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 185₁₀

Foundations · Problem 0187

Read 10111010₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10111010.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 1 at weight 16 contributes 16.
  8. Column 3: bit 1 at weight 8 contributes 8.
  9. Column 2: bit 0 at weight 4 contributes 0.
  10. Column 1: bit 1 at weight 2 contributes 2.
  11. Column 0: bit 0 at weight 1 contributes 0.
  12. The one-bit weights are 128 + 32 + 16 + 8 + 2.
  13. Add just the selected weights: 186.
  14. Answer: 10111010₂ = 186₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 186₁₀

Foundations · Problem 0188

Read 10111011₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10111011.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 1 at weight 16 contributes 16.
  8. Column 3: bit 1 at weight 8 contributes 8.
  9. Column 2: bit 0 at weight 4 contributes 0.
  10. Column 1: bit 1 at weight 2 contributes 2.
  11. Column 0: bit 1 at weight 1 contributes 1.
  12. The one-bit weights are 128 + 32 + 16 + 8 + 2 + 1.
  13. Add just the selected weights: 187.
  14. Answer: 10111011₂ = 187₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 187₁₀

Foundations · Problem 0189

Read 10111100₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10111100.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 1 at weight 16 contributes 16.
  8. Column 3: bit 1 at weight 8 contributes 8.
  9. Column 2: bit 1 at weight 4 contributes 4.
  10. Column 1: bit 0 at weight 2 contributes 0.
  11. Column 0: bit 0 at weight 1 contributes 0.
  12. The one-bit weights are 128 + 32 + 16 + 8 + 4.
  13. Add just the selected weights: 188.
  14. Answer: 10111100₂ = 188₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 188₁₀

Foundations · Problem 0190

Read 10111101₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10111101.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 1 at weight 16 contributes 16.
  8. Column 3: bit 1 at weight 8 contributes 8.
  9. Column 2: bit 1 at weight 4 contributes 4.
  10. Column 1: bit 0 at weight 2 contributes 0.
  11. Column 0: bit 1 at weight 1 contributes 1.
  12. The one-bit weights are 128 + 32 + 16 + 8 + 4 + 1.
  13. Add just the selected weights: 189.
  14. Answer: 10111101₂ = 189₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 189₁₀

Foundations · Problem 0191

Read 10111110₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10111110.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 1 at weight 16 contributes 16.
  8. Column 3: bit 1 at weight 8 contributes 8.
  9. Column 2: bit 1 at weight 4 contributes 4.
  10. Column 1: bit 1 at weight 2 contributes 2.
  11. Column 0: bit 0 at weight 1 contributes 0.
  12. The one-bit weights are 128 + 32 + 16 + 8 + 4 + 2.
  13. Add just the selected weights: 190.
  14. Answer: 10111110₂ = 190₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 190₁₀

Foundations · Problem 0192

Read 10111111₂ as an unsigned decimal integer.

Try it on paper first. The worked answer is hidden below.

Reveal detailed solution →
  1. First record that this is an unsigned 8-bit pattern: 10111111.
  2. The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
  3. The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
  4. Column 7: bit 1 at weight 128 contributes 128.
  5. Column 6: bit 0 at weight 64 contributes 0.
  6. Column 5: bit 1 at weight 32 contributes 32.
  7. Column 4: bit 1 at weight 16 contributes 16.
  8. Column 3: bit 1 at weight 8 contributes 8.
  9. Column 2: bit 1 at weight 4 contributes 4.
  10. Column 1: bit 1 at weight 2 contributes 2.
  11. Column 0: bit 1 at weight 1 contributes 1.
  12. The one-bit weights are 128 + 32 + 16 + 8 + 4 + 2 + 1.
  13. Add just the selected weights: 191.
  14. Answer: 10111111₂ = 191₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 191₁₀