0% found this document useful (0 votes)
17 views6 pages

Binary and Decimal Conversion Answers

The document provides answer keys for various number system conversions including binary to decimal, decimal to binary, binary to octal, and more. Each section lists a series of conversions with corresponding results. The document serves as a reference for understanding the relationships between different numerical representations.

Uploaded by

omkarsingh240582
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views6 pages

Binary and Decimal Conversion Answers

The document provides answer keys for various number system conversions including binary to decimal, decimal to binary, binary to octal, and more. Each section lists a series of conversions with corresponding results. The document serves as a reference for understanding the relationships between different numerical representations.

Uploaded by

omkarsingh240582
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Binary to Decimal — Answer Key

1. 10101 → 21
2. 110011 → 51
3. 1001110 → 78
4. 111000 → 56
5. 1010101 → 85
6. 1101101 → 109
7. 10000011 → 131
8. 11110000 → 240
9. 01010101 → 85
10. 10111101 → 189

Decimal to Binary — Answer Key

1. 32 → 100000
2. 57 → 111001
3. 98 → 1100010
4. 123 → 1111011
5. 156 → 10011100
6. 199 → 11000111
7. 245 → 11110101
8. 321 → 101000001
9. 444 → 110111100
10. 512 → 1000000000

Binary to Octal — Answer Key

1. 110010 → 62
2. 1010110 → 126
3. 11100101 → 345
4. 001110010 → 162
5. 100011111 → 437
6. 010101101 → 255
7. 11011101 → 335
8. 001001011 → 113
9. 111100110 → 746
10. 101010010 → 522

Octal to Binary — Answer Key

1. 45 → 100101
2. 72 → 111010
3. 135 → 1011101
4. 241 → 10100001
5. 376 → 11111110
6. 641 → 110100001
7. 725 → 111010101
8. 513 → 101001011
9. 704 → 111000100
10. 777 → 111111111

Binary to Hexadecimal — Answer Key

1. 11010110 → D6
2. 101010111 → 157
3. 111100001 → 1E1
4. 001011110 → 5E
5. 100110101 → 135
6. 010111010 → BA
7. 011011011 → DB
8. 110000111 → 187
9. 100001101 → 10D
10. 111011001 → 1D9

Hexadecimal to Binary — Answer Key

1. A9 → 10101001
2. F3 → 11110011
3. 5E → 1011110
4. C7 → 11000111
5. 1AF → 110101111
6. 2B9 → 1010111001
7. D4 → 11010100
8. 9F → 10011111
9. 7C9 → 11111001001
10. 3AD → 1110101101

Decimal to Octal — Answer Key

1. 58 → 72
2. 97 → 141
3. 143 → 217
4. 200 → 310
5. 255 → 377
6. 312 → 470
7. 444 → 674
8. 567 → 1067
9. 789 → 1425
10. 999 → 1747

Octal to Decimal — Answer Key

1. 127 → 87
2. 341 → 225
3. 456 → 302
4. 702 → 450
5. 645 → 421
6. 513 → 331
7. 774 → 508
8. 205 → 133
9. 620 → 400
10. 736 → 478

Binary to Gray Code — Answer Key

1. 1010 → 1111
2. 1100 → 1010
3. 11101 → 10011
4. 01011 → 01110
5. 10011 → 11010
6. 00101 → 00111
7. 01110 → 01001
8. 10111 → 11100
9. 11010 → 10111
10. 11100 → 10010

Gray Code to Binary — Answer Key

1. 1011 → 1101
2. 1101 → 1001
3. 0110 → 0100
4. 1110 → 1011
5. 0101 → 0110
6. 0011 → 0010
7. 1001 → 1110
8. 01101 → 01001
9. 11010 → 10011
10. 10100 → 11000

Decimal to BCD — Answer Key

1. 49 → 0100 1001
2. 205 → 0010 0000 0101
3. 317 → 0011 0001 0111
4. 428 → 0100 0010 1000
5. 536 → 0101 0011 0110
6. 609 → 0110 0000 1001
7. 784 → 0111 1000 0100
8. 890 → 1000 1001 0000
9. 934 → 1001 0011 0100
10. 101 → 0001 0000 0001

BCD to Decimal — Answer Key


1. 0100 0111 → 47
2. 0010 0101 0111 → 257
3. 0001 0110 0100 → 164
4. 0111 1001 → 79
5. 0101 0011 0011 → 533
6. 0011 1000 0110 → 386
7. 0101 0100 → 54
8. 1001 1001 → 99
9. 0001 0011 0101 → 135
10. 0100 0101 1001 → 459

Decimal to Excess-3 — Answer Key

1. 5 → 1000
2. 7 → 1010
3. 9 → 1100
4. 24 → 0101 0111
5. 39 → 0110 1100
6. 58 → 1000 1011
7. 73 → 1010 0110
8. 84 → 1011 0111
9. 95 → 1100 1000
10. 108 → 0100 0011 1011

Excess-3 to Decimal — Answer Key

1. 0110 → 3
2. 1000 → 5
3. 1010 → 7
4. 1100 → 9
5. 0101 1000 → 25
6. 0110 1010 → 37
7. 1100 0111 → 94
8. 1001 0100 → 61
9. 0011 1001 → 6
10. 0100 1100 → 19

Common questions

Powered by AI

Binary-coded decimal (BCD) represents each decimal digit with its equivalent 4-bit binary value, unlike traditional binary which converts the entire number. For instance, decimal 49 translates to BCD as 0100 1001 where '4' is represented as 0100 and '9' as 1001. The traditional binary form of 49 is 110001, differing as BCD maintains the decimal structure per digit .

To convert the decimal number 5 to its Excess-3 code, you add 3 to the decimal number and then express it in binary. For 5: 5 + 3 = 8, and the binary representation of 8 is 1000. Therefore, the Excess-3 code for the decimal number 5 is 1000 .

To convert the octal number 127 to decimal, multiply each digit by 8 raised to its power index from right to left. Therefore, 1*8^2 + 2*8^1 + 7*8^0 = 64 + 16 + 7 = 87. Consequently, the decimal equivalent of octal 127 is 87 .

The hexadecimal representation of the binary number 11010110 is D6. To convert binary to hexadecimal, you split the binary number into groups of four digits from the right. The binary 11010110 can be split into 1101 (D) and 0110 (6) which correspond to the hexadecimal digits D and 6 respectively. Therefore, the hexadecimal equivalent is D6 .

To convert the decimal number 57 into binary, you repeatedly divide the number by 2 and record the remainder until the quotient is 0. For 57: 57 ÷ 2 = 28 remainder 1, 28 ÷ 2 = 14 remainder 0, 14 ÷ 2 = 7 remainder 0, 7 ÷ 2 = 3 remainder 1, 3 ÷ 2 = 1 remainder 1, and finally, 1 ÷ 2 = 0 remainder 1. Writing the remainders in reverse order gives 111001. Therefore, the binary equivalent of decimal 57 is 111001 .

The Gray code equivalent of the binary number 11101 is 10011. To convert a binary number to Gray code, the most significant bit (MSB) in Gray code is the same as the MSB in binary. Each subsequent bit is calculated by XOR'ing the current binary bit with the previous binary bit. For 11101: the MSB is 1, next bit 1 XOR 1 = 0, 1 XOR 1 = 0, 1 XOR 0 = 1, 0 XOR 1 = 1. This results in 10011 .

To convert the binary number 10101 to its decimal equivalent, you need to multiply each bit by 2 raised to the power of its position index from right to left, starting at 0. So, 1*2^4 + 0*2^3 + 1*2^2 + 0*2^1 + 1*2^0 = 16 + 0 + 4 + 0 + 1 = 21. Therefore, the decimal equivalent of the binary number 10101 is 21 .

To convert the decimal number 255 to octal, divide the number by 8 repeatedly, recording the remainders, until the quotient is zero. For 255: 255 ÷ 8 = 31 remainder 7, 31 ÷ 8 = 3 remainder 7, 3 ÷ 8 = 0 remainder 3. Reading the remainders from top to bottom gives the octal number 377 .

To convert the octal number 341 to decimal, you multiply each digit by 8 raised to the power of its positional index from right to left. For number 341: 3*8^2 + 4*8^1 + 1*8^0 = 3*64 + 4*8 + 1*1 = 192 + 32 + 1 = 225. Thus, the decimal form of the octal number 341 is 225 .

To convert the hexadecimal value C7 to binary, each hexadecimal digit is converted to its 4-bit binary equivalent. For C7: 'C' in hexadecimal is 12 in decimal, which corresponds to 1100 in binary; '7' in hexadecimal is 7, which corresponds to 0111 in binary. Thus, the binary equivalent of the hexadecimal number C7 is 11000111 .

You might also like