Binary worksheet 1 – Basic conversions

advertisement
Computer Science - Binary 1
Name: __________________________
Criteria 5
1. Convert the following binary numbers to decimal:
Note – you will need to write in the column values yourself
.
Decimal
1
0
1
0
0
1
0
0
.
1
0
0
0
1
0
1
1
0
0
0
.
1
0
1
1
1
0
0
0
1
1
0
.
0
1
1
2. Try converting the following binary numbers to decimal, without using the grid
Note – you might like to jot the column values above the numbers
Binary
Decimal
Binary
Decimal
0110.00
10011.011
1001.010
011011.1001
3. Convert the following decimal numbers to binary:
Note – you will need to write in the column values yourself
.
Decimal
.
27.0
.
132.75
.
148.875
4. Try converting the following decimal numbers to binary, without using the grid
Note – you might like to jot the column values above the numbers
Binary
Decimal
Binary
Decimal
12.0
198.25
3.375
201.0625
5. Convert the following decimal numbers to binary
Binary
Decimal
3.6
Claremont College 2014, based on Rosny College 2012
Binary
Decimal
5.7
Page 1 of 2
6. Every character on a keyboard is represented by an ASCII code. These ASCII codes are 8 bit
binary numbers. Referring to the ASCII character set, answer the following questions:
a. Convert these characters to their decimal numbers:
R
O
B
!
b. For each of the letters above, convert the decimal numbers into their 8-bit binary
representations:
c. Convert the following binary sequences to their decimal equivalent:
0010 0110
0101 0000
0111 0000
0010 0000
d. Convert the above decimal values into their ASCII characters:
e. What is the numeric difference between the uppercase and lowercase versions of
each letter of the alphabet?
Claremont College 2014, based on Rosny College 2012
Page 2 of 2
Download