Counting like a computer
Answers are for parents and teachers.
1
Convert 0100 and 0011 to denary.
0100 = 4. 0011 = 2 + 1 = 3.
2
Convert 1 and 11 to 4-bit binary.
1 = 0001. 11 = 8 + 2 + 1 = 1011.
3
Convert 01100100 to denary and 90 to 8-bit binary.
01100100 = 64 + 32 + 4 = 100. 90 = 64 + 16 + 8 + 2 = 01011010.
4
A computer stores “Go”. G = 71, o = 111. Write the 8-bit binary for each character.
G = 71 = 64 + 4 + 2 + 1 = 01000111. o = 111 = 64 + 32 + 8 + 4 + 2 + 1 = 01101111.
5
Explain why the character “3” is stored as the code 51 and not as 3.
“3” is a character, like a letter, so it has a code in the character set. The number 3 is used for sums. They are different things, like the string "3" and the integer 3.