Difficulty: Easy
Correct Answer: 4A16
Explanation:
Introduction / Context:
Conversions among octal, decimal, and hexadecimal are routine in low-level programming and digital hardware work. Because octal groups bits in threes and hexadecimal groups bits in fours, it is often simplest to pass through decimal or binary as an intermediate step for clarity and to avoid mistakes.
Given Data / Assumptions:
Concept / Approach:
Method 1 (decimal intermediate): compute decimal value using 8^n weights, then convert decimal to hex. Method 2 (binary intermediate): map each octal digit to a 3-bit binary triplet, then regroup into 4-bit nibbles for hex mapping. Either yields the same result.
Step-by-Step Solution:
Verification / Alternative check:
Reconvert back: 0x4A = 416 + 10 = 64 + 10 = 74 = 1128, confirming correctness.
Why Other Options Are Wrong:
5A16 equals 90 decimal; 1516 equals 21 decimal; 2016 equals 32 decimal. None match 74 decimal.
Common Pitfalls:
Mismapping octal digits to 4-bit nibbles directly without regrouping, or forgetting to pad the most significant group when converting via binary.
Final Answer:
4A16
Discussion & Comments