Fully solved problem book
Reading binary
Set 3 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 0065
Read 01000000₂ 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: 01000000.
- 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 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 64.
- Add just the selected weights: 64.
- Answer: 01000000₂ = 64₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 64₁₀
Foundations · Problem 0066
Read 01000001₂ 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: 01000001.
- 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 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 64 + 1.
- Add just the selected weights: 65.
- Answer: 01000001₂ = 65₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 65₁₀
Foundations · Problem 0067
Read 01000010₂ 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: 01000010.
- 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 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 64 + 2.
- Add just the selected weights: 66.
- Answer: 01000010₂ = 66₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 66₁₀
Foundations · Problem 0068
Read 01000011₂ 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: 01000011.
- 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 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 64 + 2 + 1.
- Add just the selected weights: 67.
- Answer: 01000011₂ = 67₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 67₁₀
Foundations · Problem 0069
Read 01000100₂ 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: 01000100.
- 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 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 64 + 4.
- Add just the selected weights: 68.
- Answer: 01000100₂ = 68₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 68₁₀
Foundations · Problem 0070
Read 01000101₂ 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: 01000101.
- 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 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 64 + 4 + 1.
- Add just the selected weights: 69.
- Answer: 01000101₂ = 69₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 69₁₀
Foundations · Problem 0071
Read 01000110₂ 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: 01000110.
- 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 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 64 + 4 + 2.
- Add just the selected weights: 70.
- Answer: 01000110₂ = 70₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 70₁₀
Foundations · Problem 0072
Read 01000111₂ 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: 01000111.
- 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 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 64 + 4 + 2 + 1.
- Add just the selected weights: 71.
- Answer: 01000111₂ = 71₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 71₁₀
Foundations · Problem 0073
Read 01001000₂ 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: 01001000.
- 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 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 64 + 8.
- Add just the selected weights: 72.
- Answer: 01001000₂ = 72₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 72₁₀
Foundations · Problem 0074
Read 01001001₂ 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: 01001001.
- 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 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 64 + 8 + 1.
- Add just the selected weights: 73.
- Answer: 01001001₂ = 73₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 73₁₀
Foundations · Problem 0075
Read 01001010₂ 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: 01001010.
- 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 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 64 + 8 + 2.
- Add just the selected weights: 74.
- Answer: 01001010₂ = 74₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 74₁₀
Foundations · Problem 0076
Read 01001011₂ 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: 01001011.
- 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 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 64 + 8 + 2 + 1.
- Add just the selected weights: 75.
- Answer: 01001011₂ = 75₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 75₁₀
Foundations · Problem 0077
Read 01001100₂ 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: 01001100.
- 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 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 64 + 8 + 4.
- Add just the selected weights: 76.
- Answer: 01001100₂ = 76₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 76₁₀
Foundations · Problem 0078
Read 01001101₂ 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: 01001101.
- 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 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 64 + 8 + 4 + 1.
- Add just the selected weights: 77.
- Answer: 01001101₂ = 77₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 77₁₀
Foundations · Problem 0079
Read 01001110₂ 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: 01001110.
- 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 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 64 + 8 + 4 + 2.
- Add just the selected weights: 78.
- Answer: 01001110₂ = 78₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 78₁₀
Foundations · Problem 0080
Read 01001111₂ 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: 01001111.
- 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 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 64 + 8 + 4 + 2 + 1.
- Add just the selected weights: 79.
- Answer: 01001111₂ = 79₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 79₁₀
Foundations · Problem 0081
Read 01010000₂ 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: 01010000.
- 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 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 64 + 16.
- Add just the selected weights: 80.
- Answer: 01010000₂ = 80₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 80₁₀
Foundations · Problem 0082
Read 01010001₂ 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: 01010001.
- 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 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 64 + 16 + 1.
- Add just the selected weights: 81.
- Answer: 01010001₂ = 81₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 81₁₀
Foundations · Problem 0083
Read 01010010₂ 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: 01010010.
- 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 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 64 + 16 + 2.
- Add just the selected weights: 82.
- Answer: 01010010₂ = 82₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 82₁₀
Foundations · Problem 0084
Read 01010011₂ 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: 01010011.
- 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 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 64 + 16 + 2 + 1.
- Add just the selected weights: 83.
- Answer: 01010011₂ = 83₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 83₁₀
Foundations · Problem 0085
Read 01010100₂ 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: 01010100.
- 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 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 64 + 16 + 4.
- Add just the selected weights: 84.
- Answer: 01010100₂ = 84₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 84₁₀
Foundations · Problem 0086
Read 01010101₂ 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: 01010101.
- 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 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 64 + 16 + 4 + 1.
- Add just the selected weights: 85.
- Answer: 01010101₂ = 85₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 85₁₀
Foundations · Problem 0087
Read 01010110₂ 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: 01010110.
- 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 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 64 + 16 + 4 + 2.
- Add just the selected weights: 86.
- Answer: 01010110₂ = 86₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 86₁₀
Foundations · Problem 0088
Read 01010111₂ 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: 01010111.
- 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 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 64 + 16 + 4 + 2 + 1.
- Add just the selected weights: 87.
- Answer: 01010111₂ = 87₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 87₁₀
Foundations · Problem 0089
Read 01011000₂ 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: 01011000.
- 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 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 64 + 16 + 8.
- Add just the selected weights: 88.
- Answer: 01011000₂ = 88₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 88₁₀
Foundations · Problem 0090
Read 01011001₂ 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: 01011001.
- 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 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 64 + 16 + 8 + 1.
- Add just the selected weights: 89.
- Answer: 01011001₂ = 89₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 89₁₀
Foundations · Problem 0091
Read 01011010₂ 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: 01011010.
- 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 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 64 + 16 + 8 + 2.
- Add just the selected weights: 90.
- Answer: 01011010₂ = 90₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 90₁₀
Foundations · Problem 0092
Read 01011011₂ 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: 01011011.
- 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 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 64 + 16 + 8 + 2 + 1.
- Add just the selected weights: 91.
- Answer: 01011011₂ = 91₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 91₁₀
Foundations · Problem 0093
Read 01011100₂ 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: 01011100.
- 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 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 64 + 16 + 8 + 4.
- Add just the selected weights: 92.
- Answer: 01011100₂ = 92₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 92₁₀
Foundations · Problem 0094
Read 01011101₂ 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: 01011101.
- 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 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 64 + 16 + 8 + 4 + 1.
- Add just the selected weights: 93.
- Answer: 01011101₂ = 93₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 93₁₀
Foundations · Problem 0095
Read 01011110₂ 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: 01011110.
- 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 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 64 + 16 + 8 + 4 + 2.
- Add just the selected weights: 94.
- Answer: 01011110₂ = 94₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 94₁₀
Foundations · Problem 0096
Read 01011111₂ 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: 01011111.
- 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 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 64 + 16 + 8 + 4 + 2 + 1.
- Add just the selected weights: 95.
- Answer: 01011111₂ = 95₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 95₁₀