Binary Numbers

Counting

Count from zero to sixteen in binary.
Do NOT use a lookup table or calculator to determine answers.
When finished, use a binary calculator to check answers.

Decimal Binary
0 0
1 ?
2 ?
3 ?
4 ?
5 ?
6 ?
7 ?
8 ?
9 ?
10 ?
11 ?
12 ?
13 ?
14 ?
15 ?
16 ?

Column Values

Write both the exponent and actual decimal value (e.g., 20 = 1) for the first sixteen columns of binary.
Do NOT use a lookup table or calculator to determine answers.
When finished, use a binary calculator to check answers.

Position 16th 15th 14th 13th 12th 11th 10th 9th 8th 7th 6th 5th 4th 3rd 2nd 1st
Power ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 20
Value ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 1

Converting from Binary to Decimal

Convert the following binary numbers to decimal.
Do NOT use a lookup table or calculator to determine answers.
When finished, use a binary calculator to check answers.

Binary Decimal
1 ?
11 ?
101 ?
1100 ?
10101 ?
110011 ?
1001001 ?
11100011 ?

Converting from Decimal to Binary

Convert the following decimal numbers to binary.
Do NOT use a lookup table or calculator to determine answers.
When finished, use a binary calculator to check answers.

Decimal Binary
0 ?
2 ?
6 ?
13 ?
22 ?
63 ?
100 ?
198 ?

Determining the Number of Bits Needed

Determine the number of bits needed for the following.
Do NOT use a lookup table or calculator to determine answers.
When finished, use a binary calculator to check answers.

Possibilities Bits Needed
2 ?
3 ?
6 ?
15 ?
30 ?
60 ?
100 ?
200 ?
500 ?
1000 ?

ANDing Binary Numbers

Determine the resulting binary number after ANDing a binary number and a binary mask.
Do NOT use a lookup table or calculator to determine answers.
When finished, use a binary calculator to check answers.

Binary
Number
10001000 10011001 11010000 10101010 11001100 10111101 10000001
Binary
Mask
10000000 11000000 11100000 11110000 11111000 11111100 11111110
Binary
ANDing
Result
???????? ???????? ???????? ???????? ???????? ???????? ????????

ANDing Decimal Numbers

Determine the resulting decimal number after ANDing a decimal number and a decimal mask.
Note: You will need to convert from decimal-to-binary, perform the ANDing, then convert the result from binary-to-decimal.
Do NOT use a lookup table or calculator to determine answers.
When finished, use a binary calculator to check answers.

Decimal
Number
130 177 193 232 15 97 35
Decimal
Mask
128 192 224 240 248 252 254
Decimal
ANDing
Result
??? ??? ??? ??? ??? ??? ???

Back to Understanding and Converting Base Number Systems