Fully solved problem book
Reading binary
Set 7 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 0193
Read 11000000₂ 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: 11000000.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64.
- Add just the selected weights: 192.
- Answer: 11000000₂ = 192₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 192₁₀
Foundations · Problem 0194
Read 11000001₂ 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: 11000001.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64 + 1.
- Add just the selected weights: 193.
- Answer: 11000001₂ = 193₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 193₁₀
Foundations · Problem 0195
Read 11000010₂ 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: 11000010.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64 + 2.
- Add just the selected weights: 194.
- Answer: 11000010₂ = 194₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 194₁₀
Foundations · Problem 0196
Read 11000011₂ 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: 11000011.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64 + 2 + 1.
- Add just the selected weights: 195.
- Answer: 11000011₂ = 195₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 195₁₀
Foundations · Problem 0197
Read 11000100₂ 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: 11000100.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64 + 4.
- Add just the selected weights: 196.
- Answer: 11000100₂ = 196₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 196₁₀
Foundations · Problem 0198
Read 11000101₂ 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: 11000101.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64 + 4 + 1.
- Add just the selected weights: 197.
- Answer: 11000101₂ = 197₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 197₁₀
Foundations · Problem 0199
Read 11000110₂ 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: 11000110.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64 + 4 + 2.
- Add just the selected weights: 198.
- Answer: 11000110₂ = 198₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 198₁₀
Foundations · Problem 0200
Read 11000111₂ 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: 11000111.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64 + 4 + 2 + 1.
- Add just the selected weights: 199.
- Answer: 11000111₂ = 199₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 199₁₀
Foundations · Problem 0201
Read 11001000₂ 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: 11001000.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64 + 8.
- Add just the selected weights: 200.
- Answer: 11001000₂ = 200₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 200₁₀
Foundations · Problem 0202
Read 11001001₂ 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: 11001001.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64 + 8 + 1.
- Add just the selected weights: 201.
- Answer: 11001001₂ = 201₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 201₁₀
Foundations · Problem 0203
Read 11001010₂ 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: 11001010.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64 + 8 + 2.
- Add just the selected weights: 202.
- Answer: 11001010₂ = 202₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 202₁₀
Foundations · Problem 0204
Read 11001011₂ 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: 11001011.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64 + 8 + 2 + 1.
- Add just the selected weights: 203.
- Answer: 11001011₂ = 203₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 203₁₀
Foundations · Problem 0205
Read 11001100₂ 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: 11001100.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64 + 8 + 4.
- Add just the selected weights: 204.
- Answer: 11001100₂ = 204₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 204₁₀
Foundations · Problem 0206
Read 11001101₂ 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: 11001101.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64 + 8 + 4 + 1.
- Add just the selected weights: 205.
- Answer: 11001101₂ = 205₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 205₁₀
Foundations · Problem 0207
Read 11001110₂ 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: 11001110.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64 + 8 + 4 + 2.
- Add just the selected weights: 206.
- Answer: 11001110₂ = 206₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 206₁₀
Foundations · Problem 0208
Read 11001111₂ 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: 11001111.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64 + 8 + 4 + 2 + 1.
- Add just the selected weights: 207.
- Answer: 11001111₂ = 207₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 207₁₀
Foundations · Problem 0209
Read 11010000₂ 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: 11010000.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64 + 16.
- Add just the selected weights: 208.
- Answer: 11010000₂ = 208₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 208₁₀
Foundations · Problem 0210
Read 11010001₂ 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: 11010001.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64 + 16 + 1.
- Add just the selected weights: 209.
- Answer: 11010001₂ = 209₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 209₁₀
Foundations · Problem 0211
Read 11010010₂ 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: 11010010.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64 + 16 + 2.
- Add just the selected weights: 210.
- Answer: 11010010₂ = 210₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 210₁₀
Foundations · Problem 0212
Read 11010011₂ 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: 11010011.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64 + 16 + 2 + 1.
- Add just the selected weights: 211.
- Answer: 11010011₂ = 211₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 211₁₀
Foundations · Problem 0213
Read 11010100₂ 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: 11010100.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64 + 16 + 4.
- Add just the selected weights: 212.
- Answer: 11010100₂ = 212₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 212₁₀
Foundations · Problem 0214
Read 11010101₂ 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: 11010101.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64 + 16 + 4 + 1.
- Add just the selected weights: 213.
- Answer: 11010101₂ = 213₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 213₁₀
Foundations · Problem 0215
Read 11010110₂ 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: 11010110.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64 + 16 + 4 + 2.
- Add just the selected weights: 214.
- Answer: 11010110₂ = 214₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 214₁₀
Foundations · Problem 0216
Read 11010111₂ 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: 11010111.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64 + 16 + 4 + 2 + 1.
- Add just the selected weights: 215.
- Answer: 11010111₂ = 215₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 215₁₀
Foundations · Problem 0217
Read 11011000₂ 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: 11011000.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64 + 16 + 8.
- Add just the selected weights: 216.
- Answer: 11011000₂ = 216₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 216₁₀
Foundations · Problem 0218
Read 11011001₂ 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: 11011001.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64 + 16 + 8 + 1.
- Add just the selected weights: 217.
- Answer: 11011001₂ = 217₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 217₁₀
Foundations · Problem 0219
Read 11011010₂ 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: 11011010.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64 + 16 + 8 + 2.
- Add just the selected weights: 218.
- Answer: 11011010₂ = 218₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 218₁₀
Foundations · Problem 0220
Read 11011011₂ 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: 11011011.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64 + 16 + 8 + 2 + 1.
- Add just the selected weights: 219.
- Answer: 11011011₂ = 219₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 219₁₀
Foundations · Problem 0221
Read 11011100₂ 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: 11011100.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64 + 16 + 8 + 4.
- Add just the selected weights: 220.
- Answer: 11011100₂ = 220₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 220₁₀
Foundations · Problem 0222
Read 11011101₂ 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: 11011101.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64 + 16 + 8 + 4 + 1.
- Add just the selected weights: 221.
- Answer: 11011101₂ = 221₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 221₁₀
Foundations · Problem 0223
Read 11011110₂ 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: 11011110.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64 + 16 + 8 + 4 + 2.
- Add just the selected weights: 222.
- Answer: 11011110₂ = 222₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 222₁₀
Foundations · Problem 0224
Read 11011111₂ 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: 11011111.
- The rightmost bit has weight 2⁰ = 1; every move left doubles the weight.
- The leftmost bit in this 8-bit pattern has weight 2^7 = 128.
- Column 7: bit 1 at weight 128 contributes 128.
- Column 6: bit 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 128 + 64 + 16 + 8 + 4 + 2 + 1.
- Add just the selected weights: 223.
- Answer: 11011111₂ = 223₁₀.
- Sanity check: the answer must lie between zero and the maximum unsigned value for this width.
Final answer: 223₁₀