Fully solved problem book
Reading binary
Set 9 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 0257
Read 100000000₂ 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 9-bit pattern: 100000000.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 256.
- Add just the selected weights: 256.
- Answer: 100000000₂ = 256₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 256₁₀
Foundations · Problem 0258
Read 100000001₂ 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 9-bit pattern: 100000001.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 256 + 1.
- Add just the selected weights: 257.
- Answer: 100000001₂ = 257₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 257₁₀
Foundations · Problem 0259
Read 100000010₂ 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 9-bit pattern: 100000010.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 256 + 2.
- Add just the selected weights: 258.
- Answer: 100000010₂ = 258₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 258₁₀
Foundations · Problem 0260
Read 100000011₂ 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 9-bit pattern: 100000011.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 256 + 2 + 1.
- Add just the selected weights: 259.
- Answer: 100000011₂ = 259₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 259₁₀
Foundations · Problem 0261
Read 100000100₂ 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 9-bit pattern: 100000100.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 256 + 4.
- Add just the selected weights: 260.
- Answer: 100000100₂ = 260₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 260₁₀
Foundations · Problem 0262
Read 100000101₂ 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 9-bit pattern: 100000101.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 256 + 4 + 1.
- Add just the selected weights: 261.
- Answer: 100000101₂ = 261₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 261₁₀
Foundations · Problem 0263
Read 100000110₂ 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 9-bit pattern: 100000110.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 256 + 4 + 2.
- Add just the selected weights: 262.
- Answer: 100000110₂ = 262₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 262₁₀
Foundations · Problem 0264
Read 100000111₂ 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 9-bit pattern: 100000111.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 256 + 4 + 2 + 1.
- Add just the selected weights: 263.
- Answer: 100000111₂ = 263₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 263₁₀
Foundations · Problem 0265
Read 100001000₂ 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 9-bit pattern: 100001000.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 256 + 8.
- Add just the selected weights: 264.
- Answer: 100001000₂ = 264₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 264₁₀
Foundations · Problem 0266
Read 100001001₂ 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 9-bit pattern: 100001001.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 256 + 8 + 1.
- Add just the selected weights: 265.
- Answer: 100001001₂ = 265₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 265₁₀
Foundations · Problem 0267
Read 100001010₂ 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 9-bit pattern: 100001010.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 256 + 8 + 2.
- Add just the selected weights: 266.
- Answer: 100001010₂ = 266₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 266₁₀
Foundations · Problem 0268
Read 100001011₂ 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 9-bit pattern: 100001011.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 256 + 8 + 2 + 1.
- Add just the selected weights: 267.
- Answer: 100001011₂ = 267₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 267₁₀
Foundations · Problem 0269
Read 100001100₂ 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 9-bit pattern: 100001100.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 256 + 8 + 4.
- Add just the selected weights: 268.
- Answer: 100001100₂ = 268₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 268₁₀
Foundations · Problem 0270
Read 100001101₂ 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 9-bit pattern: 100001101.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 256 + 8 + 4 + 1.
- Add just the selected weights: 269.
- Answer: 100001101₂ = 269₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 269₁₀
Foundations · Problem 0271
Read 100001110₂ 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 9-bit pattern: 100001110.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 256 + 8 + 4 + 2.
- Add just the selected weights: 270.
- Answer: 100001110₂ = 270₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 270₁₀
Foundations · Problem 0272
Read 100001111₂ 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 9-bit pattern: 100001111.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 0 at weight 16 contributes 0.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 256 + 8 + 4 + 2 + 1.
- Add just the selected weights: 271.
- Answer: 100001111₂ = 271₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 271₁₀
Foundations · Problem 0273
Read 100010000₂ 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 9-bit pattern: 100010000.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 256 + 16.
- Add just the selected weights: 272.
- Answer: 100010000₂ = 272₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 272₁₀
Foundations · Problem 0274
Read 100010001₂ 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 9-bit pattern: 100010001.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 256 + 16 + 1.
- Add just the selected weights: 273.
- Answer: 100010001₂ = 273₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 273₁₀
Foundations · Problem 0275
Read 100010010₂ 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 9-bit pattern: 100010010.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 256 + 16 + 2.
- Add just the selected weights: 274.
- Answer: 100010010₂ = 274₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 274₁₀
Foundations · Problem 0276
Read 100010011₂ 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 9-bit pattern: 100010011.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 256 + 16 + 2 + 1.
- Add just the selected weights: 275.
- Answer: 100010011₂ = 275₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 275₁₀
Foundations · Problem 0277
Read 100010100₂ 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 9-bit pattern: 100010100.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 256 + 16 + 4.
- Add just the selected weights: 276.
- Answer: 100010100₂ = 276₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 276₁₀
Foundations · Problem 0278
Read 100010101₂ 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 9-bit pattern: 100010101.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 256 + 16 + 4 + 1.
- Add just the selected weights: 277.
- Answer: 100010101₂ = 277₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 277₁₀
Foundations · Problem 0279
Read 100010110₂ 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 9-bit pattern: 100010110.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 256 + 16 + 4 + 2.
- Add just the selected weights: 278.
- Answer: 100010110₂ = 278₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 278₁₀
Foundations · Problem 0280
Read 100010111₂ 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 9-bit pattern: 100010111.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 0 at weight 8 contributes 0.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 256 + 16 + 4 + 2 + 1.
- Add just the selected weights: 279.
- Answer: 100010111₂ = 279₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 279₁₀
Foundations · Problem 0281
Read 100011000₂ 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 9-bit pattern: 100011000.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 256 + 16 + 8.
- Add just the selected weights: 280.
- Answer: 100011000₂ = 280₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 280₁₀
Foundations · Problem 0282
Read 100011001₂ 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 9-bit pattern: 100011001.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 256 + 16 + 8 + 1.
- Add just the selected weights: 281.
- Answer: 100011001₂ = 281₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 281₁₀
Foundations · Problem 0283
Read 100011010₂ 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 9-bit pattern: 100011010.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 256 + 16 + 8 + 2.
- Add just the selected weights: 282.
- Answer: 100011010₂ = 282₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 282₁₀
Foundations · Problem 0284
Read 100011011₂ 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 9-bit pattern: 100011011.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 0 at weight 4 contributes 0.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 256 + 16 + 8 + 2 + 1.
- Add just the selected weights: 283.
- Answer: 100011011₂ = 283₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 283₁₀
Foundations · Problem 0285
Read 100011100₂ 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 9-bit pattern: 100011100.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 256 + 16 + 8 + 4.
- Add just the selected weights: 284.
- Answer: 100011100₂ = 284₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 284₁₀
Foundations · Problem 0286
Read 100011101₂ 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 9-bit pattern: 100011101.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 0 at weight 2 contributes 0.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 256 + 16 + 8 + 4 + 1.
- Add just the selected weights: 285.
- Answer: 100011101₂ = 285₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 285₁₀
Foundations · Problem 0287
Read 100011110₂ 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 9-bit pattern: 100011110.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 0 at weight 1 contributes 0.
- The one-bit weights are 256 + 16 + 8 + 4 + 2.
- Add just the selected weights: 286.
- Answer: 100011110₂ = 286₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 286₁₀
Foundations · Problem 0288
Read 100011111₂ 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 9-bit pattern: 100011111.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 9-bit pattern has weight 2^8 = 256.
- Column 8: bit 1 at weight 256 contributes 256.
- Column 7: bit 0 at weight 128 contributes 0.
- Column 6: bit 0 at weight 64 contributes 0.
- Column 5: bit 0 at weight 32 contributes 0.
- Column 4: bit 1 at weight 16 contributes 16.
- Column 3: bit 1 at weight 8 contributes 8.
- Column 2: bit 1 at weight 4 contributes 4.
- Column 1: bit 1 at weight 2 contributes 2.
- Column 0: bit 1 at weight 1 contributes 1.
- The one-bit weights are 256 + 16 + 8 + 4 + 2 + 1.
- Add just the selected weights: 287.
- Answer: 100011111₂ = 287₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 287₁₀