Fully solved problem book
Reading binary
Set 6 of 10 · 32 worked questions. Predict your result before expanding the solution.
These worked traces are meant to build fluency through controlled variation. If several answers feel identical, try the next difficult value and look for the point where a carry, sign, branch, or selected memory address changes the outcome.
Foundations · Problem 0161
Read 10100000₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10100000.
- 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 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 128 + 32.
- Add just the selected weights: 160.
- Answer: 10100000₂ = 160₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 160₁₀
Foundations · Problem 0162
Read 10100001₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10100001.
- 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 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 128 + 32 + 1.
- Add just the selected weights: 161.
- Answer: 10100001₂ = 161₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 161₁₀
Foundations · Problem 0163
Read 10100010₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10100010.
- 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 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 128 + 32 + 2.
- Add just the selected weights: 162.
- Answer: 10100010₂ = 162₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 162₁₀
Foundations · Problem 0164
Read 10100011₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10100011.
- 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 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 128 + 32 + 2 + 1.
- Add just the selected weights: 163.
- Answer: 10100011₂ = 163₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 163₁₀
Foundations · Problem 0165
Read 10100100₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10100100.
- 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 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 128 + 32 + 4.
- Add just the selected weights: 164.
- Answer: 10100100₂ = 164₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 164₁₀
Foundations · Problem 0166
Read 10100101₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10100101.
- 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 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 128 + 32 + 4 + 1.
- Add just the selected weights: 165.
- Answer: 10100101₂ = 165₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 165₁₀
Foundations · Problem 0167
Read 10100110₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10100110.
- 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 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 128 + 32 + 4 + 2.
- Add just the selected weights: 166.
- Answer: 10100110₂ = 166₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 166₁₀
Foundations · Problem 0168
Read 10100111₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10100111.
- 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 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 128 + 32 + 4 + 2 + 1.
- Add just the selected weights: 167.
- Answer: 10100111₂ = 167₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 167₁₀
Foundations · Problem 0169
Read 10101000₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10101000.
- 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 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 128 + 32 + 8.
- Add just the selected weights: 168.
- Answer: 10101000₂ = 168₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 168₁₀
Foundations · Problem 0170
Read 10101001₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10101001.
- 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 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 128 + 32 + 8 + 1.
- Add just the selected weights: 169.
- Answer: 10101001₂ = 169₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 169₁₀
Foundations · Problem 0171
Read 10101010₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10101010.
- 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 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 128 + 32 + 8 + 2.
- Add just the selected weights: 170.
- Answer: 10101010₂ = 170₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 170₁₀
Foundations · Problem 0172
Read 10101011₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10101011.
- 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 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 128 + 32 + 8 + 2 + 1.
- Add just the selected weights: 171.
- Answer: 10101011₂ = 171₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 171₁₀
Foundations · Problem 0173
Read 10101100₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10101100.
- 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 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 128 + 32 + 8 + 4.
- Add just the selected weights: 172.
- Answer: 10101100₂ = 172₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 172₁₀
Foundations · Problem 0174
Read 10101101₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10101101.
- 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 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 128 + 32 + 8 + 4 + 1.
- Add just the selected weights: 173.
- Answer: 10101101₂ = 173₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 173₁₀
Foundations · Problem 0175
Read 10101110₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10101110.
- 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 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 128 + 32 + 8 + 4 + 2.
- Add just the selected weights: 174.
- Answer: 10101110₂ = 174₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 174₁₀
Foundations · Problem 0176
Read 10101111₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10101111.
- 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 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 128 + 32 + 8 + 4 + 2 + 1.
- Add just the selected weights: 175.
- Answer: 10101111₂ = 175₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 175₁₀
Foundations · Problem 0177
Read 10110000₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10110000.
- 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 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 128 + 32 + 16.
- Add just the selected weights: 176.
- Answer: 10110000₂ = 176₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 176₁₀
Foundations · Problem 0178
Read 10110001₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10110001.
- 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 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 128 + 32 + 16 + 1.
- Add just the selected weights: 177.
- Answer: 10110001₂ = 177₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 177₁₀
Foundations · Problem 0179
Read 10110010₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10110010.
- 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 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 128 + 32 + 16 + 2.
- Add just the selected weights: 178.
- Answer: 10110010₂ = 178₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 178₁₀
Foundations · Problem 0180
Read 10110011₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10110011.
- 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 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 128 + 32 + 16 + 2 + 1.
- Add just the selected weights: 179.
- Answer: 10110011₂ = 179₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 179₁₀
Foundations · Problem 0181
Read 10110100₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10110100.
- 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 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 128 + 32 + 16 + 4.
- Add just the selected weights: 180.
- Answer: 10110100₂ = 180₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 180₁₀
Foundations · Problem 0182
Read 10110101₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10110101.
- 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 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 128 + 32 + 16 + 4 + 1.
- Add just the selected weights: 181.
- Answer: 10110101₂ = 181₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 181₁₀
Foundations · Problem 0183
Read 10110110₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10110110.
- 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 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 128 + 32 + 16 + 4 + 2.
- Add just the selected weights: 182.
- Answer: 10110110₂ = 182₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 182₁₀
Foundations · Problem 0184
Read 10110111₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10110111.
- 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 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 128 + 32 + 16 + 4 + 2 + 1.
- Add just the selected weights: 183.
- Answer: 10110111₂ = 183₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 183₁₀
Foundations · Problem 0185
Read 10111000₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10111000.
- 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 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 128 + 32 + 16 + 8.
- Add just the selected weights: 184.
- Answer: 10111000₂ = 184₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 184₁₀
Foundations · Problem 0186
Read 10111001₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10111001.
- 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 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 128 + 32 + 16 + 8 + 1.
- Add just the selected weights: 185.
- Answer: 10111001₂ = 185₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 185₁₀
Foundations · Problem 0187
Read 10111010₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10111010.
- 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 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 128 + 32 + 16 + 8 + 2.
- Add just the selected weights: 186.
- Answer: 10111010₂ = 186₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 186₁₀
Foundations · Problem 0188
Read 10111011₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10111011.
- 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 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 128 + 32 + 16 + 8 + 2 + 1.
- Add just the selected weights: 187.
- Answer: 10111011₂ = 187₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 187₁₀
Foundations · Problem 0189
Read 10111100₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10111100.
- 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 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 128 + 32 + 16 + 8 + 4.
- Add just the selected weights: 188.
- Answer: 10111100₂ = 188₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 188₁₀
Foundations · Problem 0190
Read 10111101₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10111101.
- 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 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 128 + 32 + 16 + 8 + 4 + 1.
- Add just the selected weights: 189.
- Answer: 10111101₂ = 189₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 189₁₀
Foundations · Problem 0191
Read 10111110₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10111110.
- 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 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 128 + 32 + 16 + 8 + 4 + 2.
- Add just the selected weights: 190.
- Answer: 10111110₂ = 190₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 190₁₀
Foundations · Problem 0192
Read 10111111₂ as an unsigned decimal integer.
Try it on paper first. The worked answer is hidden below.
Reveal detailed solution →
- First record that this is an unsigned 8-bit pattern: 10111111.
- 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 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 128 + 32 + 16 + 8 + 4 + 2 + 1.
- Add just the selected weights: 191.
- Answer: 10111111₂ = 191₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 191₁₀