Fully solved problem book
Reading binary
Set 2 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 0033
Read 00100000₂ 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: 00100000.
- 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 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 32.
- Add just the selected weights: 32.
- Answer: 00100000₂ = 32₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 32₁₀
Foundations · Problem 0034
Read 00100001₂ 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: 00100001.
- 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 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 32 + 1.
- Add just the selected weights: 33.
- Answer: 00100001₂ = 33₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 33₁₀
Foundations · Problem 0035
Read 00100010₂ 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: 00100010.
- 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 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 32 + 2.
- Add just the selected weights: 34.
- Answer: 00100010₂ = 34₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 34₁₀
Foundations · Problem 0036
Read 00100011₂ 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: 00100011.
- 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 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 32 + 2 + 1.
- Add just the selected weights: 35.
- Answer: 00100011₂ = 35₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 35₁₀
Foundations · Problem 0037
Read 00100100₂ 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: 00100100.
- 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 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 32 + 4.
- Add just the selected weights: 36.
- Answer: 00100100₂ = 36₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 36₁₀
Foundations · Problem 0038
Read 00100101₂ 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: 00100101.
- 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 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 32 + 4 + 1.
- Add just the selected weights: 37.
- Answer: 00100101₂ = 37₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 37₁₀
Foundations · Problem 0039
Read 00100110₂ 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: 00100110.
- 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 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 32 + 4 + 2.
- Add just the selected weights: 38.
- Answer: 00100110₂ = 38₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 38₁₀
Foundations · Problem 0040
Read 00100111₂ 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: 00100111.
- 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 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 32 + 4 + 2 + 1.
- Add just the selected weights: 39.
- Answer: 00100111₂ = 39₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 39₁₀
Foundations · Problem 0041
Read 00101000₂ 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: 00101000.
- 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 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 32 + 8.
- Add just the selected weights: 40.
- Answer: 00101000₂ = 40₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 40₁₀
Foundations · Problem 0042
Read 00101001₂ 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: 00101001.
- 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 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 32 + 8 + 1.
- Add just the selected weights: 41.
- Answer: 00101001₂ = 41₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 41₁₀
Foundations · Problem 0043
Read 00101010₂ 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: 00101010.
- 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 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 32 + 8 + 2.
- Add just the selected weights: 42.
- Answer: 00101010₂ = 42₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 42₁₀
Foundations · Problem 0044
Read 00101011₂ 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: 00101011.
- 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 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 32 + 8 + 2 + 1.
- Add just the selected weights: 43.
- Answer: 00101011₂ = 43₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 43₁₀
Foundations · Problem 0045
Read 00101100₂ 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: 00101100.
- 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 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 32 + 8 + 4.
- Add just the selected weights: 44.
- Answer: 00101100₂ = 44₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 44₁₀
Foundations · Problem 0046
Read 00101101₂ 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: 00101101.
- 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 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 32 + 8 + 4 + 1.
- Add just the selected weights: 45.
- Answer: 00101101₂ = 45₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 45₁₀
Foundations · Problem 0047
Read 00101110₂ 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: 00101110.
- 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 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 32 + 8 + 4 + 2.
- Add just the selected weights: 46.
- Answer: 00101110₂ = 46₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 46₁₀
Foundations · Problem 0048
Read 00101111₂ 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: 00101111.
- 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 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 32 + 8 + 4 + 2 + 1.
- Add just the selected weights: 47.
- Answer: 00101111₂ = 47₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 47₁₀
Foundations · Problem 0049
Read 00110000₂ 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: 00110000.
- 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 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 32 + 16.
- Add just the selected weights: 48.
- Answer: 00110000₂ = 48₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 48₁₀
Foundations · Problem 0050
Read 00110001₂ 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: 00110001.
- 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 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 32 + 16 + 1.
- Add just the selected weights: 49.
- Answer: 00110001₂ = 49₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 49₁₀
Foundations · Problem 0051
Read 00110010₂ 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: 00110010.
- 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 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 32 + 16 + 2.
- Add just the selected weights: 50.
- Answer: 00110010₂ = 50₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 50₁₀
Foundations · Problem 0052
Read 00110011₂ 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: 00110011.
- 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 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 32 + 16 + 2 + 1.
- Add just the selected weights: 51.
- Answer: 00110011₂ = 51₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 51₁₀
Foundations · Problem 0053
Read 00110100₂ 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: 00110100.
- 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 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 32 + 16 + 4.
- Add just the selected weights: 52.
- Answer: 00110100₂ = 52₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 52₁₀
Foundations · Problem 0054
Read 00110101₂ 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: 00110101.
- 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 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 32 + 16 + 4 + 1.
- Add just the selected weights: 53.
- Answer: 00110101₂ = 53₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 53₁₀
Foundations · Problem 0055
Read 00110110₂ 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: 00110110.
- 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 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 32 + 16 + 4 + 2.
- Add just the selected weights: 54.
- Answer: 00110110₂ = 54₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 54₁₀
Foundations · Problem 0056
Read 00110111₂ 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: 00110111.
- 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 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 32 + 16 + 4 + 2 + 1.
- Add just the selected weights: 55.
- Answer: 00110111₂ = 55₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 55₁₀
Foundations · Problem 0057
Read 00111000₂ 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: 00111000.
- 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 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 32 + 16 + 8.
- Add just the selected weights: 56.
- Answer: 00111000₂ = 56₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 56₁₀
Foundations · Problem 0058
Read 00111001₂ 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: 00111001.
- 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 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 32 + 16 + 8 + 1.
- Add just the selected weights: 57.
- Answer: 00111001₂ = 57₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 57₁₀
Foundations · Problem 0059
Read 00111010₂ 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: 00111010.
- 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 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 32 + 16 + 8 + 2.
- Add just the selected weights: 58.
- Answer: 00111010₂ = 58₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 58₁₀
Foundations · Problem 0060
Read 00111011₂ 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: 00111011.
- 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 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 32 + 16 + 8 + 2 + 1.
- Add just the selected weights: 59.
- Answer: 00111011₂ = 59₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 59₁₀
Foundations · Problem 0061
Read 00111100₂ 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: 00111100.
- 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 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 32 + 16 + 8 + 4.
- Add just the selected weights: 60.
- Answer: 00111100₂ = 60₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 60₁₀
Foundations · Problem 0062
Read 00111101₂ 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: 00111101.
- 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 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 32 + 16 + 8 + 4 + 1.
- Add just the selected weights: 61.
- Answer: 00111101₂ = 61₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 61₁₀
Foundations · Problem 0063
Read 00111110₂ 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: 00111110.
- 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 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 32 + 16 + 8 + 4 + 2.
- Add just the selected weights: 62.
- Answer: 00111110₂ = 62₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 62₁₀
Foundations · Problem 0064
Read 00111111₂ 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: 00111111.
- 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 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 32 + 16 + 8 + 4 + 2 + 1.
- Add just the selected weights: 63.
- Answer: 00111111₂ = 63₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 63₁₀