Getting Started: © 2011 Lero
Getting Started: © 2011 Lero
Getting Started
This workbook is available for free download for personal and educational use thanks to a generous grant by ICS Skills. It is distributed under a
Creative Commons Attribution-Non Commercial-NoDerivs licence, which means that you are free to copy, distribute, and display the workbook
provided you make no changes to the content (including the attribution to the authors and these license terms); you may not use this workbook for
commercial purposes, and you may not alter, transform, or build upon this work. We encourage the use of this material in educational settings, and
you are welcome to print your own copy of the book and distribute worksheets from it to students. We welcome enquiries and suggestions, which
should be directed to the authors (see www.lero.ie/educationoutreach).
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
Fo
ld
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
Check out the “Scratch Introductory Video” in the resources section of Module 1
at http://www.scratch.ie/students
4 | Scratch Workbook
Don’t Forget to Save your Work
Exercises
n Assemble the commands from the 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
p 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
E Tabs
F Scripts Area
G Tool Bar
6 | Scratch Workbook
Playing with Pictures
Module 1 | 7
Exercises
n 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
n 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
p 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
n 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
o 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
n 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
s Match the letters from the diagram of the
Scratch paint Editor to the correct description.
A. Colour palates
B. Current Colours
C. Zoom
D. Change Size
E. Rotate
F. Toolbar
G. Add image from a file
H. Flip
t Which of the following is the most accurate description of the project that is being saved in the
image below?
Module 1 | 15
u 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
w 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
Module 1: References
Images used for Computers Rule the World (Page 2), Farmers Problem (Page 11)
Taken from http://www.morguefile.com/, http://www.freefoto.com and Irish Computer Society.
| 17