01How Computers Work

Fully solved problem book

Reading binary

Set 5 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 0129

Read 10000000₂ 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: 10000000.
  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 0 at weight 32 contributes 0.
  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.
  13. Add just the selected weights: 128.
  14. Answer: 10000000₂ = 128₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 128₁₀

Foundations · Problem 0130

Read 10000001₂ 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: 10000001.
  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 0 at weight 32 contributes 0.
  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 + 1.
  13. Add just the selected weights: 129.
  14. Answer: 10000001₂ = 129₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 129₁₀

Foundations · Problem 0131

Read 10000010₂ 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: 10000010.
  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 0 at weight 32 contributes 0.
  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 + 2.
  13. Add just the selected weights: 130.
  14. Answer: 10000010₂ = 130₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 130₁₀

Foundations · Problem 0132

Read 10000011₂ 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: 10000011.
  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 0 at weight 32 contributes 0.
  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 + 2 + 1.
  13. Add just the selected weights: 131.
  14. Answer: 10000011₂ = 131₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 131₁₀

Foundations · Problem 0133

Read 10000100₂ 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: 10000100.
  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 0 at weight 32 contributes 0.
  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 + 4.
  13. Add just the selected weights: 132.
  14. Answer: 10000100₂ = 132₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 132₁₀

Foundations · Problem 0134

Read 10000101₂ 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: 10000101.
  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 0 at weight 32 contributes 0.
  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 + 4 + 1.
  13. Add just the selected weights: 133.
  14. Answer: 10000101₂ = 133₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 133₁₀

Foundations · Problem 0135

Read 10000110₂ 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: 10000110.
  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 0 at weight 32 contributes 0.
  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 + 4 + 2.
  13. Add just the selected weights: 134.
  14. Answer: 10000110₂ = 134₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 134₁₀

Foundations · Problem 0136

Read 10000111₂ 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: 10000111.
  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 0 at weight 32 contributes 0.
  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 + 4 + 2 + 1.
  13. Add just the selected weights: 135.
  14. Answer: 10000111₂ = 135₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 135₁₀

Foundations · Problem 0137

Read 10001000₂ 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: 10001000.
  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 0 at weight 32 contributes 0.
  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 + 8.
  13. Add just the selected weights: 136.
  14. Answer: 10001000₂ = 136₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 136₁₀

Foundations · Problem 0138

Read 10001001₂ 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: 10001001.
  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 0 at weight 32 contributes 0.
  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 + 8 + 1.
  13. Add just the selected weights: 137.
  14. Answer: 10001001₂ = 137₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 137₁₀

Foundations · Problem 0139

Read 10001010₂ 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: 10001010.
  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 0 at weight 32 contributes 0.
  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 + 8 + 2.
  13. Add just the selected weights: 138.
  14. Answer: 10001010₂ = 138₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 138₁₀

Foundations · Problem 0140

Read 10001011₂ 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: 10001011.
  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 0 at weight 32 contributes 0.
  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 + 8 + 2 + 1.
  13. Add just the selected weights: 139.
  14. Answer: 10001011₂ = 139₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 139₁₀

Foundations · Problem 0141

Read 10001100₂ 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: 10001100.
  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 0 at weight 32 contributes 0.
  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 + 8 + 4.
  13. Add just the selected weights: 140.
  14. Answer: 10001100₂ = 140₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 140₁₀

Foundations · Problem 0142

Read 10001101₂ 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: 10001101.
  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 0 at weight 32 contributes 0.
  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 + 8 + 4 + 1.
  13. Add just the selected weights: 141.
  14. Answer: 10001101₂ = 141₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 141₁₀

Foundations · Problem 0143

Read 10001110₂ 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: 10001110.
  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 0 at weight 32 contributes 0.
  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 + 8 + 4 + 2.
  13. Add just the selected weights: 142.
  14. Answer: 10001110₂ = 142₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 142₁₀

Foundations · Problem 0144

Read 10001111₂ 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: 10001111.
  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 0 at weight 32 contributes 0.
  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 + 8 + 4 + 2 + 1.
  13. Add just the selected weights: 143.
  14. Answer: 10001111₂ = 143₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 143₁₀

Foundations · Problem 0145

Read 10010000₂ 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: 10010000.
  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 0 at weight 32 contributes 0.
  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 + 16.
  13. Add just the selected weights: 144.
  14. Answer: 10010000₂ = 144₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 144₁₀

Foundations · Problem 0146

Read 10010001₂ 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: 10010001.
  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 0 at weight 32 contributes 0.
  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 + 16 + 1.
  13. Add just the selected weights: 145.
  14. Answer: 10010001₂ = 145₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 145₁₀

Foundations · Problem 0147

Read 10010010₂ 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: 10010010.
  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 0 at weight 32 contributes 0.
  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 + 16 + 2.
  13. Add just the selected weights: 146.
  14. Answer: 10010010₂ = 146₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 146₁₀

Foundations · Problem 0148

Read 10010011₂ 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: 10010011.
  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 0 at weight 32 contributes 0.
  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 + 16 + 2 + 1.
  13. Add just the selected weights: 147.
  14. Answer: 10010011₂ = 147₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 147₁₀

Foundations · Problem 0149

Read 10010100₂ 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: 10010100.
  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 0 at weight 32 contributes 0.
  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 + 16 + 4.
  13. Add just the selected weights: 148.
  14. Answer: 10010100₂ = 148₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 148₁₀

Foundations · Problem 0150

Read 10010101₂ 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: 10010101.
  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 0 at weight 32 contributes 0.
  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 + 16 + 4 + 1.
  13. Add just the selected weights: 149.
  14. Answer: 10010101₂ = 149₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 149₁₀

Foundations · Problem 0151

Read 10010110₂ 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: 10010110.
  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 0 at weight 32 contributes 0.
  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 + 16 + 4 + 2.
  13. Add just the selected weights: 150.
  14. Answer: 10010110₂ = 150₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 150₁₀

Foundations · Problem 0152

Read 10010111₂ 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: 10010111.
  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 0 at weight 32 contributes 0.
  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 + 16 + 4 + 2 + 1.
  13. Add just the selected weights: 151.
  14. Answer: 10010111₂ = 151₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 151₁₀

Foundations · Problem 0153

Read 10011000₂ 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: 10011000.
  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 0 at weight 32 contributes 0.
  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 + 16 + 8.
  13. Add just the selected weights: 152.
  14. Answer: 10011000₂ = 152₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 152₁₀

Foundations · Problem 0154

Read 10011001₂ 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: 10011001.
  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 0 at weight 32 contributes 0.
  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 + 16 + 8 + 1.
  13. Add just the selected weights: 153.
  14. Answer: 10011001₂ = 153₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 153₁₀

Foundations · Problem 0155

Read 10011010₂ 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: 10011010.
  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 0 at weight 32 contributes 0.
  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 + 16 + 8 + 2.
  13. Add just the selected weights: 154.
  14. Answer: 10011010₂ = 154₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 154₁₀

Foundations · Problem 0156

Read 10011011₂ 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: 10011011.
  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 0 at weight 32 contributes 0.
  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 + 16 + 8 + 2 + 1.
  13. Add just the selected weights: 155.
  14. Answer: 10011011₂ = 155₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 155₁₀

Foundations · Problem 0157

Read 10011100₂ 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: 10011100.
  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 0 at weight 32 contributes 0.
  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 + 16 + 8 + 4.
  13. Add just the selected weights: 156.
  14. Answer: 10011100₂ = 156₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 156₁₀

Foundations · Problem 0158

Read 10011101₂ 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: 10011101.
  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 0 at weight 32 contributes 0.
  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 + 16 + 8 + 4 + 1.
  13. Add just the selected weights: 157.
  14. Answer: 10011101₂ = 157₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 157₁₀

Foundations · Problem 0159

Read 10011110₂ 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: 10011110.
  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 0 at weight 32 contributes 0.
  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 + 16 + 8 + 4 + 2.
  13. Add just the selected weights: 158.
  14. Answer: 10011110₂ = 158₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 158₁₀

Foundations · Problem 0160

Read 10011111₂ 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: 10011111.
  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 0 at weight 32 contributes 0.
  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 + 16 + 8 + 4 + 2 + 1.
  13. Add just the selected weights: 159.
  14. Answer: 10011111₂ = 159₁₀.
  15. Sanity check: the answer must lie between zero and the maximum unsigned value for this width.

Final answer: 159₁₀