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 →
- First record that this is an unsigned 8-bit pattern: 10000000.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128.
- Add just the selected weights: 128.
- Answer: 10000000₂ = 128₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 10000001.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128 + 1.
- Add just the selected weights: 129.
- Answer: 10000001₂ = 129₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 10000010.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128 + 2.
- Add just the selected weights: 130.
- Answer: 10000010₂ = 130₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 10000011.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128 + 2 + 1.
- Add just the selected weights: 131.
- Answer: 10000011₂ = 131₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 10000100.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128 + 4.
- Add just the selected weights: 132.
- Answer: 10000100₂ = 132₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 10000101.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128 + 4 + 1.
- Add just the selected weights: 133.
- Answer: 10000101₂ = 133₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 10000110.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128 + 4 + 2.
- Add just the selected weights: 134.
- Answer: 10000110₂ = 134₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 10000111.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128 + 4 + 2 + 1.
- Add just the selected weights: 135.
- Answer: 10000111₂ = 135₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 10001000.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128 + 8.
- Add just the selected weights: 136.
- Answer: 10001000₂ = 136₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 10001001.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128 + 8 + 1.
- Add just the selected weights: 137.
- Answer: 10001001₂ = 137₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 10001010.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128 + 8 + 2.
- Add just the selected weights: 138.
- Answer: 10001010₂ = 138₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 10001011.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128 + 8 + 2 + 1.
- Add just the selected weights: 139.
- Answer: 10001011₂ = 139₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 10001100.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128 + 8 + 4.
- Add just the selected weights: 140.
- Answer: 10001100₂ = 140₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 10001101.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128 + 8 + 4 + 1.
- Add just the selected weights: 141.
- Answer: 10001101₂ = 141₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 10001110.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128 + 8 + 4 + 2.
- Add just the selected weights: 142.
- Answer: 10001110₂ = 142₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 10001111.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128 + 8 + 4 + 2 + 1.
- Add just the selected weights: 143.
- Answer: 10001111₂ = 143₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 10010000.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128 + 16.
- Add just the selected weights: 144.
- Answer: 10010000₂ = 144₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 10010001.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128 + 16 + 1.
- Add just the selected weights: 145.
- Answer: 10010001₂ = 145₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 10010010.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128 + 16 + 2.
- Add just the selected weights: 146.
- Answer: 10010010₂ = 146₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 10010011.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128 + 16 + 2 + 1.
- Add just the selected weights: 147.
- Answer: 10010011₂ = 147₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 10010100.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128 + 16 + 4.
- Add just the selected weights: 148.
- Answer: 10010100₂ = 148₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 10010101.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128 + 16 + 4 + 1.
- Add just the selected weights: 149.
- Answer: 10010101₂ = 149₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 10010110.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128 + 16 + 4 + 2.
- Add just the selected weights: 150.
- Answer: 10010110₂ = 150₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 10010111.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128 + 16 + 4 + 2 + 1.
- Add just the selected weights: 151.
- Answer: 10010111₂ = 151₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 10011000.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128 + 16 + 8.
- Add just the selected weights: 152.
- Answer: 10011000₂ = 152₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 10011001.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128 + 16 + 8 + 1.
- Add just the selected weights: 153.
- Answer: 10011001₂ = 153₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 10011010.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128 + 16 + 8 + 2.
- Add just the selected weights: 154.
- Answer: 10011010₂ = 154₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 10011011.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128 + 16 + 8 + 2 + 1.
- Add just the selected weights: 155.
- Answer: 10011011₂ = 155₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 10011100.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128 + 16 + 8 + 4.
- Add just the selected weights: 156.
- Answer: 10011100₂ = 156₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 10011101.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128 + 16 + 8 + 4 + 1.
- Add just the selected weights: 157.
- Answer: 10011101₂ = 157₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 10011110.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128 + 16 + 8 + 4 + 2.
- Add just the selected weights: 158.
- Answer: 10011110₂ = 158₁₀.
- 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 →
- First record that this is an unsigned 8-bit pattern: 10011111.
- 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 1 at weight 128 contributes 128.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- 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 128 + 16 + 8 + 4 + 2 + 1.
- Add just the selected weights: 159.
- Answer: 10011111₂ = 159₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 159₁₀