Difficulty: Easy
Correct Answer: 6816
Explanation:
Introduction / Context:
Parity bits are used for error detection, but they have nothing to do with converting a given bit pattern between bases. This question checks whether you can convert an 8-bit binary value to hexadecimal while recognizing that parity information is irrelevant to the numerical translation itself.
Given Data / Assumptions:
Concept / Approach:
Hexadecimal maps cleanly to binary using 4-bit groups (nibbles). Split the 8-bit value into two nibbles from the left: the high nibble and the low nibble. Convert each nibble to a hex digit and concatenate.
Step-by-Step Solution:
Group: 0110 1000.Convert 0110₂ → 6₁₆.Convert 1000₂ → 8₁₆.Combine → 0x68 (written as 6816).
Verification / Alternative check:
Decimal cross-check: 01101000₂ = 64 + 32 + 8 = 104; 104₁₀ = 0x68, confirming the result.
Why Other Options Are Wrong:
C816: 0xC8 = 200₁₀, not 104₁₀.
D016: 0xD0 = 208₁₀, not 104₁₀.
Nothing. Parity does not check.: Parity checking is unrelated to numeric base conversion of the given 8 data bits.
Common Pitfalls:
Letting the parity note mislead you into thinking the value is invalid; mixing up nibble boundaries; or converting using decimal steps instead of direct nibble mapping which is faster and less error-prone.
Final Answer:
6816
Discussion & Comments