Difficulty: Easy
Correct Answer: LSB
Explanation:
Introduction / Context:
Repeated division by 2 is a standard manual algorithm to convert decimal integers to binary. Understanding which end of the binary number each remainder represents avoids reversed outputs.
Given Data / Assumptions:
Concept / Approach:
Every division by 2 extracts the least significant bit of the current quotient. Therefore, the first remainder corresponds to the least significant bit (LSB). Writing remainders from last to first reconstructs the binary number from MSB to LSB.
Step-by-Step Solution:
Verification / Alternative check:
Example: N=13. Remainders: 13 mod 2=1 (LSB), 6 mod 2=0, 3 mod 2=1, 1 mod 2=1 → bits (from first to last remainder) 1,0,1,1 ⇒ reversed 1101₂, which is correct.
Why Other Options Are Wrong:
Common Pitfalls:
Writing remainders in the order generated without reversing, which results in a mirrored binary number.
Final Answer:
LSB
Discussion & Comments