Difficulty: Easy
Correct Answer: 101010
Explanation:
Introduction / Context:
Converting between decimal and binary is a core skill in digital electronics. This item asks for the pure binary form of the decimal number 42, avoiding confusion with hexadecimal, octal, or ASCII encodings that sometimes appear similar.
Given Data / Assumptions:
Concept / Approach:
Use decomposition into powers of 2 or repeated division by 2. 42 can be written as a sum of powers of 2: 32 + 8 + 2. Setting bits at those positions yields the binary representation. Reading from the highest relevant power downward forms the final bit string without unnecessary leading zeros.
Step-by-Step Solution:
Verification / Alternative check:
Convert back: 1*32 + 0*16 + 1*8 + 0*4 + 1*2 + 0*1 = 32 + 8 + 2 = 42. The value matches the original decimal.
Why Other Options Are Wrong:
Common Pitfalls:
Confusing bases due to similar-looking strings; assuming leading zeros are required; forgetting to express the full set of bits from the highest set bit down to 2^0.
Final Answer:
101010
Discussion & Comments