You are on page 1of 19

Name:

Y
ea
Year-
Section:

r
8

D
at
a
R
ep
re
se
nt
ati
on
Binary Numbers

Can you decode the following messages?

1
Representing the numbers 0 – 7 with binary

2
Score:

Homework /12
1. Draw the correct number of dots on each card for a binary number.

2. What is the value of these binary numbers?


01110 =

01000 =

10010 =

11111 =

3. Decode these numbers:


∧∧∨∨∧ =
(∧ = 0, ∨ = 1)
✔✔✔✖✖ 
(✖ = 0, ✔ = 1)
 

3
( = 0,  = 1)

4
5
ASCII Codes
065 083 067 073 073 032 105 115 032 097 032 099 111
                         
100 101 032 102 111 114 032 114 101 112 114 101 115
                         
101 110 116 105 110 103 032 069 110 103 108 105 115
                         
104 032 099 104 097 114 097 099 116 101 114 115 032
                         
097 115 032 110 117 109 098 101 114 115
                   
08 06 07 07 03 10 09 10 10 11 03 10
065
3 7 3 3 2 9 7 7 1 5 2 5
                         
03 11 11 11 11 10 09 10 10 03 11 11
116 2 2 1 5 5 5 8 8 1 2 6 1
                         
11 11 09 11 11 10 10 11 03 10 09 11
032 6 4 7 0 5 2 1 4 2 0 7 6
                         
03 10 11 11 10 03 11 11 10 03 09 11
097 2 2 4 1 9 2 1 0 1 2 9 1
                         
11 11 11 10 11 03 11 11 03 09 11 11
109 2 7 6 1 4 2 6 1 2 7 0 1
                         
10 10 11 04
116 4 1 4 6
6
         

7
Read only the first page of information about representing text here:
http://goo.gl/6440qg Score:
then answer the following questions.
/5
1. What form must data be in for a computer to be able to process it?
o Binary
o Denary
o Ternary
2. What code can be used to convert text into binary?
o Python
o ASCII code
o Binary code
3. How many characters can the ASCII code store?
o 129
o 128
o 266
4. What is included in the ASCII code?
o Just letters and numbers
o Just letters
o Letters, numbers, symbols and control characters
5. What is the name of the code created to allow computers to represent other
languages?
o World Wide Web
8
o Unicode
o WLC (World Language Code)

9
Challenge 1
Metadata
Size: 10 x 10 pixels
0 – White
1 – Black

0 0 0 0 0 0 0 0 0 0 0 1
0 0 1 0 1 1 1 0 0 1 0 0
1 0 0 1 0 0 0 1 0 0 1 0
0 1 0 0 0 1 1 1 1 0 0 1
0 0 0 1 1 1 1 0 0 1 0 0
0 1 0 0 1 0 0 1 0 0 0 1
0 0 1 0 0 1 0 0 0 1 0 0
1 0 1 1 1 0 0 0 0 0 0 0
0 0 0 0

10
Challenge 2

Metadata
Size: 8 x 11 pixels
00 – Pink
01 – Yellow
10 – White
11 – Green

10 10 10 10 10 10 10 10 10 00 10 00
10 00 10 10 10 10 00 00 00 10 10 10
10 00 00 01 00 00 10 10 10 10 00 00
00 10 10 10 10 00 10 00 11 00 10 10
10 10 10 10 11 10 10 10 10 10 10 10
10 11 10 10 10 11 11 11 10 11 11 10
10 10 11 11 11 11 10 10 10 10 10 10
11 10 10 10

11
1. Create a black and white bitmap image from this template. Remember…
each pixel can only be either all black or all white…

2. Create a black and white bitmap image from this template (16x16)

12
3. What do you notice about the quality of the two images?

4. What does pixellation mean?

5. Which image is more pixellated? How can you tell?

13
6. Explain how the resolution of an image (the number of pixels it contains)
affects the quality of the image. Marks will be awarded for the quality of
your written communication.

14
Score:

/6
1. Match up the key terms to their correct definition:

Key Term Definition


Information stored as separate
Analogue values usually represented as
numbers.
Measuring the amplitude of a sound
Digital wave at regular points in time, and
converting them to a binary value.
Continuous data, eg the second hand
Sampling on an analogue watch displays each
second and the space in between.

2. Write analogue and digital in the correct place in this sentence.

When a sound wave is first produced, the signal is ______________________.

However, to be stored on a computer, it must be converted to

______________________.

3. What is metadata?
o Data that isn't needed
o Data that gives information about other data
o Data that is saved for later use
6
4. What does an analogue to digital converter do?
o Samples a sound wave at regular intervals then converts these to binary
o Makes an image smaller
15
o Assigns binary code to text

16
0 to 9 in Binary
Number Binary Number Binary
0 5
1 6
2 7
3 8
4 9

ASCII Alphabet in Binary


Letter Binary Letter Binary
A N
B O
C P
D Q
E R
F S
G T
H U
I V
J W
K X
L Y
M Z

SPACE 

17
Extension Tasks
Here is a list of extension activities for you to complete. Each activity
completed will gain you a points for taking responsibility for your own learning.

Seen by
Task 
teacher?

Create a ‘how-to’ guide to explain how to convert a binary


number into a denary (normal) number.

Create your own character set with a numerical code and


write your own secret message using it. Make sure you
include your reference list so that someone can decipher
it!

Create a poster containing a pixelated image, and


explaining the key terms:
- metadata
- pixel
- RGB values
- resolution

18

You might also like