AP Computer Science Number Systems Review
List all the digits in the binary number system from smallest in value to largest in value
0, 1
List all the digits in the hexadecimal number system from smallest in value to largest in value
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F
Convert the decimal number 20 to binary
0001 0100 (Base 2)
Convert the decimal number 28 to binary
0001 1100 (Base 2)
Convert the decimal number 10 to hexadecimal
10 (Base 16)
Convert the decimal number 10 to binary
1010 (Base 2)
Convert the decimal number 14 to binary
1100 (Base 2)
What is the sum of 12 and the hexadecimal number 1CD (Base 16)?
12 + 0001 1100 1011 = 12 + 459 = 471
Convert the decimal number 20 to hexadecimal
15 (Base 16)
How many digits are in the hexadecimal number system?
16
What is the base of the hexadecimal number system?
16
What is the sum of 18 and the binary number 1101 0001 (Base 2)?
18 + 209 = 227
Convert the decimal number 28 to hexadecimal
1C (Base 16)
How many digits are in the binary number system?
2
What is the base of the binary number system?
2
What digits are in the hexadecimal number system but not in the decimal number system?
A, B, C, D, E, F
Convert the decimal number 14 to hexadecimal
E (Base 16)