Module1_2.0
Module1_2.0
Getting Started
© 2013 Lero
Computers Rule the World
Computers, Internet websites, calculators and mp3 players simply would not function without software.
Thousands of lines of code are required for your modern mobile phone or games console to operate.
Take a look at some amazing facts that show us how software is present everywhere we look in our
everyday lives.
The first computers were huge machines. For The technology contained in a single handheld
example, the ENIAC computer weighed nearly console exceeds all the computing power that was
thirty tons and occupied 680 square feet of floor used to put the first man on the moon.
space. ENIAC contained more than nineteen
thousand vacuum tubes and performed about five
thousand addition or subtraction operations every
second. That is super slow for today but it was
super fast back in those days. Today computers are
tiny compared to what they were in 1949.
$60 billion
Value of merchandise sold on eBay in 2009, this is
the equivalent to the GDP of Cuba.
Glen Beck (background) and Betty Snyder (foreground)
program the ENIAC in BRL building 328.
So
To
ld
Le
r
Sa
1... 2 abc 3 def Dublin native Brian Fallon set up Daft.ie in 1996.
It was his transition year mini-company in
4 ghi 5 jkl 6 mno St. Mary’s College, Rathmines.
Daft is now Ireland’s biggest property website
and is estimated to be worth millions.
According to the Irish telecom regulator ComReg,
an average of 25 million text messages are sent in
Ireland every day.
2 | Scratch Workbook
Say “Hello” to Scratch
Module 1 | 3
Using Scratch
4 | Scratch Workbook
Exercises
Assemble the commands from the events, control and motion areas of Scratch. Write a description
of what happens in the script when the green flag is clicked.
Script Description
Module 1 | 5
The Scratch Interface Quiz
Task:
Look at the Scratch Interface above.
In the table below see if you can match the letters to the different features of the Scratch Interface:
A Blocks palette
B Stage
C Sprite list
D Tool Bar
E Tabs
F Scripts Area
6 | Scratch Workbook
Playing with Pictures
Module 1 | 7
Exercises
Modify the script below to make the cat move across the stage as the costume changes. Make it
appear like it is going for a walk.
8 | Scratch Workbook
Tell me what to do
Algorithms
Giving Directions
From the town hall, follow Orchard Road for 2 kilometres until you reach a set of
traffic lights. Turn left onto Western Road. Continue driving along Western Road
until you reach a T-junction. Turn Right onto O’Connell Avenue and continue
forward for 1 kilometre until you pass the Post Office on your left. Just after the
Post Office turn left onto Meadow Drive. Mary’s house is the second house on
the right.
Module 1 | 9
Exercises
In the box below write a good computer algorithm to explain how to top up your mobile phone
credit. Make sure you use a step by step clear set of instructions.
Computers do not have these things. Look back on the 3 algorithms on the previous page.
In the box below list 3 algorithms that you execute in your daily life.
1. ___________________________________________________________________
___________________________________________________________________
2. ___________________________________________________________________
___________________________________________________________________
3. ___________________________________________________________________
___________________________________________________________________
10 | Scratch Workbook
Solve the Farmers problem
A farmer has to take three items, a dog, a goat and a cabbage, across a river.
He has a boat but it can only take two objects at once, in other words, the farmer
and one other item.
If the dog and the goat are left together the dog will bite the goat.
If the goat and the cabbage are left together the goat will eat the cabbage.
Write an algorithm to tell the farmer how to get the three items across the river.
Module 1 | 11
Playing With Music
Often when using a computer it needs to respond to an event triggered by the user. For example a
computer will react when you press buttons on a joy pad when playing a game or simulating piano
playing on a keyboard.
Exercises
Create a script using Scratch that will make your sprite move in different directions using the arrow
keys. When you have a working script use it to fill in the blank commands below.
12 | Scratch Workbook
Using Scratch commands from the sounds block palette get your sprite to play a musical scale
when the space key is pressed.
Module 1 | 13
End of Module Quiz
A software application that allows users to make voice and video calls over the Internet is called
A. YouTube
B. Facebook
C. Skype
D. Ebay
14 | Scratch Workbook
Match the letters from the diagram of the
Scratch paint Editor to the correct description.
A. Colour palates
B. Current Colours
C. Zoom
D. Flip
E. Toolbar
F. Add image from a file
Module 1 | 15
A written explanation that can be attached to code as shown is known as
A. A Comment
B. A Cursor
C. A Sticky Note
D. A Script
Identify the script below that matches the game instruction. Hit “a” to move left and hit “b” to move
right
A.
B.
C.
D.
16 | Scratch Workbook