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 →
- First record that this is an unsigned 8-bit pattern: 01100000.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 64 + 32.
- Add just the selected weights: 96.
- Answer: 01100000₂ = 96₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 01100001.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 64 + 32 + 1.
- Add just the selected weights: 97.
- Answer: 01100001₂ = 97₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 01100010.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 64 + 32 + 2.
- Add just the selected weights: 98.
- Answer: 01100010₂ = 98₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 01100011.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 64 + 32 + 2 + 1.
- Add just the selected weights: 99.
- Answer: 01100011₂ = 99₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 01100100.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 64 + 32 + 4.
- Add just the selected weights: 100.
- Answer: 01100100₂ = 100₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 01100101.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 64 + 32 + 4 + 1.
- Add just the selected weights: 101.
- Answer: 01100101₂ = 101₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 01100110.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 64 + 32 + 4 + 2.
- Add just the selected weights: 102.
- Answer: 01100110₂ = 102₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 01100111.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 64 + 32 + 4 + 2 + 1.
- Add just the selected weights: 103.
- Answer: 01100111₂ = 103₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 01101000.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 64 + 32 + 8.
- Add just the selected weights: 104.
- Answer: 01101000₂ = 104₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 01101001.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 64 + 32 + 8 + 1.
- Add just the selected weights: 105.
- Answer: 01101001₂ = 105₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 01101010.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 64 + 32 + 8 + 2.
- Add just the selected weights: 106.
- Answer: 01101010₂ = 106₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 01101011.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 64 + 32 + 8 + 2 + 1.
- Add just the selected weights: 107.
- Answer: 01101011₂ = 107₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 01101100.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 64 + 32 + 8 + 4.
- Add just the selected weights: 108.
- Answer: 01101100₂ = 108₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 01101101.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 64 + 32 + 8 + 4 + 1.
- Add just the selected weights: 109.
- Answer: 01101101₂ = 109₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 01101110.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 64 + 32 + 8 + 4 + 2.
- Add just the selected weights: 110.
- Answer: 01101110₂ = 110₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 01101111.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 64 + 32 + 8 + 4 + 2 + 1.
- Add just the selected weights: 111.
- Answer: 01101111₂ = 111₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 01110000.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 64 + 32 + 16.
- Add just the selected weights: 112.
- Answer: 01110000₂ = 112₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 01110001.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 64 + 32 + 16 + 1.
- Add just the selected weights: 113.
- Answer: 01110001₂ = 113₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 01110010.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 64 + 32 + 16 + 2.
- Add just the selected weights: 114.
- Answer: 01110010₂ = 114₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 01110011.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 64 + 32 + 16 + 2 + 1.
- Add just the selected weights: 115.
- Answer: 01110011₂ = 115₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 01110100.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 64 + 32 + 16 + 4.
- Add just the selected weights: 116.
- Answer: 01110100₂ = 116₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 01110101.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 64 + 32 + 16 + 4 + 1.
- Add just the selected weights: 117.
- Answer: 01110101₂ = 117₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 01110110.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 64 + 32 + 16 + 4 + 2.
- Add just the selected weights: 118.
- Answer: 01110110₂ = 118₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 01110111.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 64 + 32 + 16 + 4 + 2 + 1.
- Add just the selected weights: 119.
- Answer: 01110111₂ = 119₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 01111000.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 64 + 32 + 16 + 8.
- Add just the selected weights: 120.
- Answer: 01111000₂ = 120₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 01111001.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 64 + 32 + 16 + 8 + 1.
- Add just the selected weights: 121.
- Answer: 01111001₂ = 121₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 01111010.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 64 + 32 + 16 + 8 + 2.
- Add just the selected weights: 122.
- Answer: 01111010₂ = 122₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 01111011.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 64 + 32 + 16 + 8 + 2 + 1.
- Add just the selected weights: 123.
- Answer: 01111011₂ = 123₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 01111100.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 64 + 32 + 16 + 8 + 4.
- Add just the selected weights: 124.
- Answer: 01111100₂ = 124₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 01111101.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 64 + 32 + 16 + 8 + 4 + 1.
- Add just the selected weights: 125.
- Answer: 01111101₂ = 125₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 01111110.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 64 + 32 + 16 + 8 + 4 + 2.
- Add just the selected weights: 126.
- Answer: 01111110₂ = 126₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 01111111.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 1 at weight 64 contributes 64.
- Column 5: bit 1 at weight 32 contributes 32.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 64 + 32 + 16 + 8 + 4 + 2 + 1.
- Add just the selected weights: 127.
- Answer: 01111111₂ = 127₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 127₁₀