Difficulty: Easy
Correct Answer: 565728
Explanation:
Introduction / Context:Binary-to-octal conversion is efficient because 1 octal digit corresponds to 3 binary bits. Grouping from the right into triads ensures lossless and quick translation, useful for compact human-readable representations of long binary strings.
Given Data / Assumptions:
Concept / Approach:Partition the binary string into groups of three bits starting from the right. Convert each 3-bit group to its octal digit (0–7) using the 4-2-1 weights, then concatenate the digits.
Step-by-Step Solution:
Group: 101 110 101 111 010101₂ = 5₈, 110₂ = 6₈, 101₂ = 5₈, 111₂ = 7₈, 010₂ = 2₈Result: 56572₈ → written as 565728 in the options styleVerification / Alternative check:Convert the octal result back to binary by expanding each digit to 3 bits and confirm it matches the original bit string.
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:565728
Discussion & Comments