Binary CS Thinking Example 2
Follow the full solution, then compare it with the other examples linked below.
Example 2
mediumConvert binary to decimal.
Solution
- 1 Step 1: Write place values (right to left): .
- 2 Step 2: Multiply each digit by its place value: .
- 3 Step 3: .
Answer
Each position in binary represents a power of 2. Converting to decimal means summing the powers of 2 where the binary digit is 1.
About Binary
Binary is a base-2 number system that uses only two digits, 0 and 1, to represent all values. Each digit position represents a power of 2, and computers use binary because electronic circuits have exactly two states: on and off.
Learn more about Binary โ