Page 47 - Touchcode_C4_Flipbook
P. 47
Let us break it down.
We need two eyes, one nose and a smile to make a smiley.
0000000 [as first row has no coloured box]
1 1 0010100 [as second row has two coloured boxes]
Here 1s represent coloured boxes and
0s represent non-coloured boxes.
Now, add the nose.
0000000
0010100 1 1
0001000 [as third row has one coloured box] 1
Now finish the face by adding the smile. Write 1 in the boxes that represent smile.
This can be represented as:
0000000
1 1 0010100
1 0001000
1 1 0100010 [as fourth row has two coloured box]
1 1 1 0011100 [as fifth row has three coloured box]
0000000
Level 3: Data Processing 45

