01How Computers Work

Fully solved problem book

Reading binary

Set 4 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 0097

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

Final answer: 96₁₀

Foundations · Problem 0098

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

Final answer: 97₁₀

Foundations · Problem 0099

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

Final answer: 98₁₀

Foundations · Problem 0100

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

Final answer: 99₁₀

Foundations · Problem 0101

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

Final answer: 100₁₀

Foundations · Problem 0102

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

Final answer: 101₁₀

Foundations · Problem 0103

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

Final answer: 102₁₀

Foundations · Problem 0104

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

Final answer: 103₁₀

Foundations · Problem 0105

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

Final answer: 104₁₀

Foundations · Problem 0106

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

Final answer: 105₁₀

Foundations · Problem 0107

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

Final answer: 106₁₀

Foundations · Problem 0108

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

Final answer: 107₁₀

Foundations · Problem 0109

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

Final answer: 108₁₀

Foundations · Problem 0110

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

Final answer: 109₁₀

Foundations · Problem 0111

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

Final answer: 110₁₀

Foundations · Problem 0112

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

Final answer: 111₁₀

Foundations · Problem 0113

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

Final answer: 112₁₀

Foundations · Problem 0114

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

Final answer: 113₁₀

Foundations · Problem 0115

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

Final answer: 114₁₀

Foundations · Problem 0116

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

Final answer: 115₁₀

Foundations · Problem 0117

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

Final answer: 116₁₀

Foundations · Problem 0118

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

Final answer: 117₁₀

Foundations · Problem 0119

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

Final answer: 118₁₀

Foundations · Problem 0120

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

Final answer: 119₁₀

Foundations · Problem 0121

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

Final answer: 120₁₀

Foundations · Problem 0122

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

Final answer: 121₁₀

Foundations · Problem 0123

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

Final answer: 122₁₀

Foundations · Problem 0124

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

Final answer: 123₁₀

Foundations · Problem 0125

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

Final answer: 124₁₀

Foundations · Problem 0126

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

Final answer: 125₁₀

Foundations · Problem 0127

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

Final answer: 126₁₀

Foundations · Problem 0128

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

Final answer: 127₁₀