Binary fundamentals: What is the 4-bit binary representation of decimal number 10?
Electronics and Communication Engineering
Digital Electronics
Difficulty: Easy
Choose an option
-
A1110
-
B1010
-
C1001
-
D1000
-
E0110
Answer
Correct Answer: 1010
Explanation
Introduction / Context:Decimal-to-binary conversion underpins all digital design, from addressing to arithmetic. Quick mental conversion is invaluable for debugging and hardware design.
Given Data / Assumptions:
- Decimal value: 10.
- Target width: 4 bits (sufficient because 10 < 16).
Concept / Approach:Express 10 as a sum of powers of two: 8 + 2. Set the bits corresponding to 8 (2^3) and 2 (2^1).
Step-by-Step Solution:
2^3 = 8 → bit pattern 1xxx.2^1 = 2 → add 0010.Combine: 1000 + 0010 = 1010.Verification / Alternative check:1010₂ = (18) + (04) + (12) + (01) = 10₁₀.
Why Other Options Are Wrong:
1110 = 14, 1001 = 9, 1000 = 8, 0110 = 6.Common Pitfalls:
Swapping bit order; remember MSB corresponds to highest power of two.Final Answer:
1010