WorksheetsScratch programming
Total questions: 48
Worksheet time: 30mins
What is the missing code block?
The following flowchart is to find the area of a rectangle. Identify the required inputs and mark them all.
Area
Length
Depth
Width
A shop gives a 10% discount on the total bill. Complete the following flowchart by selecting the most suitable process.
discount = bill - discount
discount = bill*20/100
discount = discount*100/10
discount = bill* 10/100
What is the suitable code block to join two words in Scratch?
You are calculating the area of a triangle. Identify all the input that you need.
Base
Length
Perpendicular Height
Width
What is the code block you need to start a program or take an action?
Motion
Event
Variables
Operators
You are creating a flowchart to find the average of three subjects. Complete the missing part on the flowchart.
marks
mark 1+mark 2+mark 3
mark1 * mark 2
mark 1 + mark 2
Identify the suitable code block to calculate the perimeter of a rectangle
What are the main components of an algorithm?
Input
Process
Output
Stop
Solve: 10 + 10*10 = ?
(Hint: Use BODMAS rule)
200
110
100
210
Which of the following is a CONDITIONAL
jump 5 times
if you see an arrow then jump 5 times else sit down
if you see an arrow
An INPUT is
information that goes INTO a computer or device
information that comes OUT of a computer or device
An OUTPUT is
information that goes INTO a computer or device
information that comes OUT of a computer or device
An example of an INPUT would be
A ball
Sound
A keyboard
An example of an OUTPUT would be
A ball
Sound
A Keyboard
what is a LOOP function?
something that only happens once
something that gets repeated
What is a program
A set of instruction to complete a task
something you watch on TV
What is a BUG in a program?
a small insect
an error in the code
The word sequence means
to stop
to do something in order
When we played Rosie's Path, what happens if the program was wrong?
We had to fix the bug and try again
We just gave up
Computers must translate everything into binary
True
False
Binary is the only language a computer can understand
True
False
High Level Code is easier for humans to understand as it is written in English
True
False
Which generation?
Machine Code - Low
Assembly Code - Low
High Level
Which generation?
Machine Code - Low
Assembly Code - Low
High Level
The blocks don't need to be joined, as long as they are on the script area, they will run.
True
False
What type of coding is Scratch?
Non-Textual
Textual
What color blocks allow the code to start running?
Green
Red
Blue
Yellow
Which of these blocks can be identified as Iteration?
wait 1 second
set score to 0
forever
create clone of myself
What color blocks allow movement/motion in Scratch?
Blue
Yellow
Red
Green
What is the definition of an Algorithm?
A question to be answered
A set of instructions to perform a process.
A list of instructions
The answer to a question
What is the key word used for when code is repeated or looped?
Isolation
Instantaneous
Script
Iteration
It is possible to add Maths into Scratch, what color blocks are these?
Green
Blue
Yellow
Orange
It is possible to add Maths into Scratch, what is the Scratch Key Word used for it?
Calculations
Operators
Calculators
Operations
Data can be stored in a Scratch program, what is data saved in?
Variable
Operators
Variant
Script
What shape will this code draw?
Circle
Square
Triangle
Rectangle
Which code block allows scratch to draw on the stage?
Pen Down
Pen Up
Pen In
Pen Out
Which block allows you to make decisions (choices)?
A program is a set of instructions that tells the computer what to do
True
False
A script is made up of blocks with instructions that tells the sprite what to do
True
False
What is the purpose of an algorithm?
Sort data
Solve a problem
Add numbers together
Give instructions to a destination
Which of the following statements best describes the term 'code'?
A secret message, eg Caesar Cipher.
A standard of dress, eg dress code.
The instructions that are written in a programming language, eg Scratch.
The instructions that are written in a code, eg a secret message.
In the programming language Scratch, what is the purpose of the "script"?
It is a character in a game or program.
It is the background in a game or program.
It is the instructions for the program.
It is used to keep the score or add a timer.
Which of the following symbols means "greater than"?
<
**
/
>
Will the sprite move from it's position after this code?
Yes
No
Where do you find the images of backdrops to insert in scratch?
Script
Backdrop
Costume
Gallery
Which categories does this command blocks belong to?
Looks
Sensing
Sound
Motion
Leo is writing a "Digital Pet" program in Scratch. What is Leo using here to store how thirsty his pet is?
A costume
A sprite
A function
A variable
