2. Date: _____________________________________
1
Internet Safety
The rules your class came up with during the first lesson.
Do Don’t
Scan for viruses often
Beware of cyberbullying
Respect “no means no”
Have fun!
Try all tasks!
Trust strangers
Enter unfamiliar chat rooms
Give out personal information
Go onto strange websites or
open strange emails
3. Date: _____________________________________
2
Parts of a Computer
L.O. Learn the parts of a computer and how they work together.
Label the following images with the terms in the box below.
Printer Monitor Hard Drive Mouse
USB Port CD Rom System Unit Keyboard
Label each component as an input or an output.
Contains CPU, memory,
disk drives, and hard
drive.
4. Date: _____________________________________
3
What other computer parts can you think of that are not pictured?
Where are each of the discussed components located in a laptop?
Monitor Hard Drive Mouse
USB Port CD Rom System Unit Keyboard
Where are the rest of the pieces?
5. Date: _____________________________________
4
How Computers Remember
L.O. Learn how computers remember and store information.
Computers save everything, text, pictures, and sounds, in its own “language” known as
___________________. This language consists of only two characters, _____________
and _____________________.
This is the computer’s alphabet.
To use the binary alphabet, directly translate your letters into the given numbers; be
sure to watch capitals and punctuation.
For example: (C and t are underlined for clarity purposes)
You try. Translate the word “Sit”
____________________________________________________________________
Come up with your own word to translate: _______________ (English)
_______________________________________________________________ (binary)
Cat = 010000110110000101110100
6. Date: _____________________________________
5
Numbers in Binary
L.O. to be able create numbers in
binary and convert numbers in
binary into decimal.
Usually, when you count, you go (first
ten):
_____________________
_____________________
What happens after 9 in decimal? Or 99? Or 999?
This is called the decimal number system, there are ten digits, and then a new place
value is formed as they repeat.
In binary, there are only two digits, how do you count them?
Decimal Binary Decimal Binary
0 5
1 6
2 7
3 8
4 9
Generally when writing binary numbers, they are followed by small twos to prevent
confusing them with decimal numbers.
1012 ≠ 101
What are the place values in the decimal number system? If I had a number such as
4618, would the value of each digit be?
Thousands Hundreds Tens Units (Ones)
7. Date: _____________________________________
6
After one, each is multiplied by ten, the base of the decimal number system.
Thousand Hundred Ten Unit (One)
1 x10 x 10 x 10
=
1 x 10 x 10
=
1 x10
=
1
Do you notice any other patterns?
______________________________________________________________________
What do you thing the place values of number in the binary system would be?
EXAMPLE – If you were given the number 01012, can we find out what it is in decimal
without counting?
______________________________________________________________________
_____________________________________________________
_____________________________________________________
EXAMPLE 2 – What would 11012 be in decimal?
11012
_______________________________________________
9. Date: _____________________________________
8
Data Measures
Each digit in a binary number is called a bit. It requires ______ bits to make a byte.
1,000 bytes makes a ______________________ (KB).
1,000,000 bytes makes a _____________________ (MB).
1,000,000,000 bytes makes a ______________________ (GB).
What are some examples of things that use these data measures?
All file types are saved using binary codes. Below, match the file type to the type of
thing it saves, some have more than one file type; it might be easier if you colour-code
(for instance, all pictures types will have green lines).
Item File Type
Text
.jpeg
.itune
Picture
.doc
.gif
Music
.mp3
.txt
.bmp
Each of these file types look different when you run them, but to the computer they all
look the same.
10. Date: _____________________________________
9
Internet
L.O. Learn how internet search results are generated and ranked.
What is your preferred search engine? _______________________________________
How often do you search for things on the internet? (check one)
Once /
Day
Couple
times /
Week
Once /
Week
Less
Have you ever wondered why the internet gives you the results it does?
Run a web search on a country of your choice. Write your choice here: _____________
A website is selected based on three signal types: Site-Level Signals, Page-Level
Signals, and Off-Site Signals.
Site-Level signals include how trustworthy a site is. Click on your first result, how
trustworthy does it look to you? Why?
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
Page-Level signals are about the classification of the site. Each web browser has
indexed the web differently. If you could describe your number one result using three
words, what you pick? (For example: country name, government, geography)
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
Off-Site signals refer to how trustworthy the sites are that your result links to. Are there
any links on your site that lead to another website (ie. Wikipedia)? How trustworthy do
they appear?
______________________________________________________________________
______________________________________________________________________
How do you expect your answers to the above questions to be different if you selected a
result from the fifth page of results?
11. Date: _____________________________________
10
Better Searching
L.O. learning to focus search parameters to obtain better search results.
There are many tips and tricks that can be employed when
searching the web if you are looking very particular results.
Search for ‘jaguar top speed’. What are you expecting to find?
_____________________
What did your search find? Was it what you were expecting?
______________________________________________________________________
Now try searching for ‘jaguar top speed –car’. What are the websites you got this time
about? What do you think it means to include ‘-word’ in your search?
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
However, notation is important when searching, if a hyphen is connected two words rather
than one, it will only return webpages where those two words are used next to each other.
When you look things up, the internet uses you words as key terms,
it will also look up synonyms of your words. For instance, if I look
for killer whales, my search results will give me orcas. If you put
quotes around your search terms, it will look up those words
specifically (it’s great for looking up songs you don’t remember the
name of!). Give it a try! Did you get the song you were expecting?
Lyrics used: ____________________________________________________________
Song returned: __________________________________________________________
Using two periods between to numbers with no spaces (..) searches the internet for
anything that occurs within that range. What do you expect to see if you type in
1914..1918?
______________________________________________________________________
Give two examples of things you found other than what you expected to see:
______________________________________________________________________
You can use an asterisk (*) and the internet will return
anything that matches. Use with quotes to find variations of
common phrases, for example, “a * saved is a * earned”.
Last but not least, type in: do a barrel roll.
12. Date: _____________________________________
11
Boolean Logic
L.O. to understand the basics of Boolean logic and complete a truth table.
Boolean logic is the basis of most programs. The basic operators of Boolean logic are:
“AND”, “OR”, and “NOT”.
They start with a statement that is either true or false and build upon that.
Example:
P = It is daytime.
True False
What would NOT(P) mean? ________________________________________________
Q = It is raining.
True False
What would NOT(Q) mean? ________________________________________________
A truth table shows various combinations of these statements.
In a table with only one statement, that statement is either true of false.
P NOT(P)
In an OR table, if at least one statement is true, then P OR Q is true as well. In an AND
table, both statements have to be true.
P Q P OR Q P Q P AND Q
T F
T T
F F
F T
13. Date: _____________________________________
12
Try These!
Fill in the following truth tables.
L = The lights are off.
L NOT(L)
What does NOT(L) mean?
____________________
____________________
R = Someone is snoring.
N = It is night time.
R N R AND
N
Z = There is lightning.
Q = It is raining.
Z Q Z OR Q
G = I am playing video games.
X = I own an Xbox.
G X G AND
X
C = I am writing in pencil.
E = I am writing in pen.
C E C OR E
M = Cows moo.
M NOT(M)
14. Date: _____________________________________
13
How are truth tables similar to binary?
__________________________________________
__________________________________________
__________________________________________
In the following Venn Diagrams label where you would find:
1. P OR Q
2. P AND Q and NOT(P), and NOT(Q).
P Q
P Q
15. Date: _____________________________________
14
Algorithms
L.O. break down tasks into smaller components.
What is the difference between the two images you drew?
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
An algorithm is a series of steps used to solve a problem.
The steps have to be very precise to ensure the computer comes to the same answer each
time.
16. Date: _____________________________________
15
Write out an algorithm for walking a dog.
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
17. Date: _____________________________________
16
Write an algorithm for feeding a cat.
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
18. Date: _____________________________________
17
Here is an algorithm for washing dishes, see how many mistakes you can find. How would
you fix them?
1.0 Put all the dishes in the sink
1.1 Gather all dishes
1.2 Put dishes in sink
1.3 Put plug in
2.0 Add soap
3.0 Turn water on
3.1 Fill to halfway point
4.0 Wash dishes
4.1 Using sponge, wipe all dishes with soapy water
4.2 Rinse off excess soap
5.0 Put clean dishes in drain rack
6.0 Put dishes away when dry
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
19. Date: _____________________________________
18
Bubble Sort
L.O. to understand an algorithm used by computers.
A bubble sort is commonly used by computers to sort objects from smallest to largest.
1. Compare each pair of adjacent elements from the beginning of an array and, if they
are in reversed order, swap them.
1.1 Repeat for each pair in the set.
2. If at least one swap has been done, repeat step 1.
Example: use to sort the set {8, 9, 5, 7, 1} from smallest to largest.
Begin
Is the first value
smallerthanthe
next?
Yes
No
Move to next
pair of numbers.
Switch the
numbers.
Are all numbers
in order?
End
Yes
No
21. Date: _____________________________________
20
Coding in Scratch
L.O. Utilize Scratch to create an animation.
Scratch is a web-based, visual introduction to coding that can be used to create animations
and tell stories.
http://scratch.mit.edu
Click on create at the top of the page. It will take you to a page where you can begin
creating. The default sprite is a cat but it can be changed as easily as the background.
The “Scripts” tab is where all of the coding controls are located.
Command List Sample
Experiment, try and make a sprite dance.
Selectvarioustypesof commands
Causessprite totake 10 steps,
numberof stepscan be changed.
_____________________________
_____________________________
Changessprites horizontal positionby
10. The distanceschangedcanbe
altered.
The sprite,
background,andthe
sprite’sappearance
can be changedtoo!
Be sure to try outall
the commands!
22. Date: _____________________________________
21
Make your sprite walk 20 steps, play a drum, and rotate 180 degrees.
Write out the code you used to do this and the colours of each command:
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
Controls
Controls in Scratch allow you to control how often, or under what conditions, things
happen. For example, you can have your sprite repeat an action a certain number of
times.
What will this snippet of code do when run?
________________________________________________________
________________________________________________________
________________________________________________________
__________________________________________________________________
__________________________________________________________________
if-thenstatement:If the conditioninthe <_>it performsthe enclosedactions,
otherwise itskipsthatsegmentandcontinueswithwhatisbelow.
if-elsestatement:If the conditioninthe <_> itperformsthe enclosedactions,
otherwise itperformsthe actionsenclosedinthe “else”sectionbefore
continuingwiththe code..
Currentlysettostop all actionon the screen,can be changedto onlystopa
particularsprite.
23. Date: _____________________________________
22
What will this code do?
_________________________________________________
_________________________________________________
_________________________________________________
_________________________________________________
Variables
Just like math, computer codes have variables, things that can change value depending
on the circumstances. They can be used to vary how long different loops run for. Follow
these steps to incorporate variables into your code:
1. Click on the orange “Data” tab and click on “Make a
Variable”.
2. Name your variable. Variables are generally given
names representative of their functions; for example, a
variable whose value is gained by adding two numbers
together may be called sum.
3. In codes, variables must be given an initial value.
Generally, this is zero, but you can chose something
else for your variables. This should go at the beginning of
your code.
4. Using the green “Operators” tab, you can use variables to
create conditions for loops to abide by.
5. To ensure your loops do not run indefinitely, make your
variable changes in value every time your loop runs.
Experiment using variables in your codes.
What will this code do when run?
______________________________________________
______________________________________________
______________________________________________
______________________________________________
__________________________________________________________________________________________________
24. Date: _____________________________________
23
Animation
L.O. Combine everything learned in ICT thus far to create an animation.
You are tasked with creating a Scratch animation that tells a story.
In your first week, you will create the story board. Draw simple sketches to detail the
concept of your story and how the motion will progress.
In the second week you will write the algorithm for you story. Having this step planned
out properly will make the coding much easier. What steps do your sprites have to follow
to do what you want them to?
You will then be given two weeks to create your code. You will be expected to save your
code for future use.
On the fifth week, we will share the animations as a class.
Success Criteria:
Check each of the following off the list when you are certain it is contained in your code:
Criteria
I have drawn out the story for my code.
I have written an in depth algorithm for my code.
My story has a background.
My code includes at least one event block (brown)
My code includes at least one variable (orange).
My code includes at least one control loop (if or if-else)
(yellow).
My code includes at least one sensing block (light blue).
My code includes at least one operator block (green).
I have at least two forms of output (sound, motion, text, etc.)
I have at least two forms of input (green flag, buttons)
Be sure to ask for help if you are unclear in any steps or something is not working as
planned.
34. Date: _____________________________________
33
Success Criteria
Parts of a Computer
Pupil Criteria Teacher
I can label the parts of a computer.
I can differentiate between input and output.
Is there anywhere I can improve or areas of
difficulty?
How Computers Remember
Pupil Criteria Teacher
I know the numbers in the binary language.
I can translate simple text into binary.
I can name at least two file types.
I can turn binary numbers into decimal numbers.
Is there anywhere I can improve or areas of
difficulty?
35. Date: _____________________________________
34
The Internet
Pupil Criteria Teacher
I can perform basic keyword web searches.
I can describe at least two of the ways search engines
select my search results.
I can focus my web searches to exclude unwanted content
(using quotes or -).
I question the trustworthiness of all web content and
check resources when applicable.
I can use the internet safely and responsibly.
Is there anywhere I can improve or areas of
difficulty?
Boolean Logic
Pupil Criteria Teacher
I can use “AND” statements.
I can use “OR” statements.
I understand “NOT” statements.
I filled in truth tables.
Is there anywhere I can improve or areas of
difficulty?
36. Date: _____________________________________
35
Algorithms
Pupil Criteria Teacher
I can break tasks down into smaller, more manageable
tasks.
I can give very explicit instructions to others and
computers.
I have written an algorithm.
I have reviewed an algorithm for errors.
I have corrected errors within an algorithm.
I can understand simple computer algorithms such as
bubble sort.
I used the bubble sort algorithm to sort numbers.
Is there anywhere I can improve or areas of
difficulty?
Scratch Coding
Pupil Criteria Teacher
I can like blocks of code together to make a string of
commands.
I can integrate various types of outputs into my codes (for
example, motion and sound).
I can use multiple types of inputs in my code (for
example, the green flag, the keyboard, or colour sensing).
I can use various types of control loops (for example,
repeat, if, and if-else).
I can include variables in my code.
I can plan the outcome of a code prior to beginning.
Is there anywhere I can improve or areas of
difficulty?