ITPEC IP October 2021 Question 4
ITPEC IP October 2021 — Question 4 of 100
Decimal 155 is binary 10011011. Decompose 155 into powers of two: 155 = 128 + 16 + 8 + 2 + 1. Therefore the bits for 128, 16, 8, 2, and 1 are set, while those for 64, 32, and 4 are zero, producing 10011011.
Answer (a)
Why not others:
- the other bit patterns set different powers of two and therefore represent different decimal values
Key rule: Convert decimal to binary by expressing the number as a sum of powers of two and placing 1 in those positions.
AI-generated — may contain errors
The original exam layout is preserved in the image so diagrams, formulas, tables, and code remain accurate.
This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official IP past-paper collection or Report an issue.