InterviewSolution
| 1. |
Convert binary to decimal 101100 10001101 |
|
Answer» Answer: 10001101 ➡141, Step 1: WRITE down the BINARY number: 10001101 Step 2: Multiply each DIGIT of the binary number by the CORRESPONDING power of two: 1x2^7 + 0x2^6 + 0x2^5 + 0x2^4 + 1x2^3 + 1x2^2 + 0x2^1 + 1x2o0 Step 3: Solve the powers: 1x128 + 0x64 + 0x32 + 0x16 + 1x8 + 1x4 + 0x2 + 1x1 = 128 + 0 + 0 + 0 + 8 + 4 + 0 + 1 Step 4: Add up the numbers written above: 128 + 0 + 0 + 0 + 8 + 4 + 0 + 1 = 141. This is the decimal equivalent of the binary number 10001101. 101100 ➡44, Step 1: Write down the binary number: 101100 Step 2: Multiply each digit of the binary number by the corresponding power of two: 1x2^5 + 0x2^4 + 1x2^3 + 1x2^2 + 0x2^1 + 0x2^0 Step 3: Solve the powers: 1x32 + 0x16 + 1x8 + 1x4 + 0x2 + 0x1 = 32 + 0 + 8 + 4 + 0 + 0 Step 4: Add up the numbers written above: 32 + 0 + 8 + 4 + 0 + 0 = 44. This is the decimal equivalent of the binary number 101100 |
|