GRADE: XI AY: 2026-27
Due Date:
DATE: Worksheet-2
Computer Science
Worksheet: Number Conversion Practice
Part 1: Decimal to Binary Conversion
1. Convert the following decimal numbers to binary:
a) 27 b) 53 c) 91 d) 128
Part 2: Binary to Decimal Conversion
2. Convert the following binary numbers to decimal:
a) 101101 b) 1100101 c) 1110011 d) 10000011
Part 3: Binary to Octal Conversion
3. Convert the following binary numbers to octal:
a) 110110 b) 1010101 c) 111101 d) 10010011
Part 4: Octal to Binary Conversion
4. Convert the following octal numbers to binary:
a) 36 b) 127 c) 54 d) 763
Part 5: Decimal to Octal Conversion
5. Convert the following decimal numbers to octal:
a) 95 b) 183 c) 364 d) 511
Part 6: Binary to Octal Conversion (Using Binary to Decimal
first)
6. Convert the following binary numbers to octal:
a) 110011 b) 1011011 c) 11100100 d) 10010110
Part 7: Decimal to Hexadecimal Conversion
1. Convert the following decimal numbers to hexadecimal:
a) 255 b) 512 c) 1024 d) 4096
Part 8: Hexadecimal to Decimal Conversion
2. Convert the following hexadecimal numbers to decimal:
a) 1A b) FF c) 2B d) C0DE
Part 9: Hexadecimal to Binary Conversion
3. Convert the following hexadecimal numbers to binary:
a) 7F b) A5 c) D0 d) 1B3
Part 10: Binary to Hexadecimal Conversion
4. Convert the following binary numbers to hexadecimal:
a) 1101 b) 101010 c) 11110000 d) 10011011
Answer Key
Part 1: Decimal to Binary Conversion
1. a) 11011 b) 110101 c) 1011011 d) 10000000
Part 2: Binary to Decimal Conversion
2. a) 45 b) 101 c) 115 d) 131
Part 3: Binary to Octal Conversion
3. a) 66 b) 125 c) 75 d) 223
Part 4: Octal to Binary Conversion
4. a) 110110 b) 101111 c) 101100 d) 111110011
Part 5: Decimal to Octal Conversion
5. a) 137 b) 267 c) 554 d) 777
Part 6: Binary to Octal Conversion (Using Binary to Decimal first)
6. a) 63 b) 133 c) 344 d) 226
Answers:
Part7.a) 255 decimal = FF hexadecimal
b) 512 decimal = 200 hexadecimal
c) 1024 decimal = 400 hexadecimal
d) 4096 decimal = 1000 hexadecimal
Part8.a) 1A hexadecimal = 26 decimal
b) FF hexadecimal = 255 decimal
c) 2B hexadecimal = 43 decimal
d) C0DE hexadecimal = 49374 decimal
Part 9a) 7F hexadecimal = 01111111 binary
b) A5 hexadecimal = 10100101 binary
c) D0 hexadecimal = 11010000 binary
d) 1B3 hexadecimal = 1100011 binary
Part10.a) 1101 binary = D hexadecimal
b) 101010 binary = 2A hexadecimal
c) 11110000 binary = F0 hexadecimal
d) 10011011 binary = 9B hexadecimal