Convert the following:
Q.) Convert the following:
Subject: Digital Systems1. Convert decimal 10.625 to binary.
To convert a decimal number to binary, we can use the following steps:
- Divide the decimal number by 2 and note the remainder.
- Divide the quotient from step 1 by 2 and note the remainder.
- Repeat step 2 until the quotient is 0.
- The binary representation of the original decimal number is the sequence of remainders from steps 1 to n, read from bottom to top.
Using these steps, we can convert 10.625 to binary as follows:
10.625 ÷ 2 = 5 remainder 0.625
5 ÷ 2 = 2 remainder 0.5
2 ÷ 2 = 1 remainder 0
1 ÷ 2 = 0 remainder 1
Therefore, the binary representation of 10.625 is 1010.101.
2. Convert hexadecimal 3A7 to decimal.
To convert a hexadecimal number to decimal, we can use the following steps:
- Multiply each hexadecimal digit by its corresponding power of 16.
- Add the results from step 1 to get the decimal representation of the hexadecimal number.
Using these steps, we can convert 3A7 to decimal as follows:
3 × 16^2 = 768
A × 16^1 = 160
7 × 16^0 = 7
768 + 160 + 7 = 935
Therefore, the decimal representation of 3A7 is 935.
3. Convert octal 523 to decimal.
To convert an octal number to decimal, we can use the following steps:
- Multiply each octal digit by its corresponding power of 8.
- Add the results from step 1 to get the decimal representation of the octal number.
Using these steps, we can convert 523 to decimal as follows:
5 × 8^2 = 320
2 × 8^1 = 16
3 × 8^0 = 3
320 + 16 + 3 = 339
Therefore, the decimal representation of 523 is 339.
4. Convert binary 11001101 to decimal.
To convert a binary number to decimal, we can use the following steps:
- Multiply each binary digit by its corresponding power of 2.
- Add the results from step 1 to get the decimal representation of the binary number.
Using these steps, we can convert 11001101 to decimal as follows:
1 × 2^7 = 128
1 × 2^6 = 64
0 × 2^5 = 0
0 × 2^4 = 0
1 × 2^3 = 8
1 × 2^2 = 4
0 × 2^1 = 0
1 × 2^0 = 1
128 + 64 + 8 + 4 + 1 = 205
Therefore, the decimal representation of 11001101 is 205.