wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Scrtach Python

Total questions: 50

Worksheet time: 39mins

Name
Class
Date
1.

Programming languages are used to communicate with computers

a)

True

b)

False

2.

A backdrop is 

a)

A type of sprite

b)

A background image or color

c)

A sound effect

d)

A code segment

3.

In Scratch, you can use _____ to control the flow of your program

a)

Loops

b)

Variables

c)

Functions

d)

Events

4.

Which category of blocks contains the "When Key Pressed" command?

a)

Motion

b)

Events

c)

Control

d)

Sensing

5.

What group of blocks controls movement of the Sprite?

a)

Control

b)

Sensing

c)

Motion

d)

Look

6.

Ava is programming a game and wants to make her character move smoothly across the screen. Which group of blocks includes the "Glide" block?

a)

Motion

b)

Looks

c)

Control

7.

During a coding class, Maya is trying to figure out which group of blocks includes the "Broadcast" block.

a)

Events

b)

Motion

c)

Control

8.

With Scratch we can make... ?

a)

Games

b)

Stories

c)

Animation

d)

All

9.

Where to find these codes?

a)
b)
c)
d)
10.

Where to find these codes?

a)
b)
c)
d)
11.

Where to find these codes?

a)
b)
c)
d)
12.
a)
b)
c)
d)
13.

What is this code?

a)

Say: What is that?

b)

Think: What is that?

14.

Which block of code is used to make the character change costume?

a)

Control

b)

Looks

c)

Motion

d)

Sensing

15.

What will happen when the green flag is clicked?

a)

Make the character spin

b)

Add a sprite

c)

Make the ball bounce

16.

In the programming language Scratch, what is the purpose of the "script"?

a)

It is a character in a game or program.

b)

It is the background in a game or program.

c)

It is the instructions for the program.

d)

It is used to keep the score or add a timer.

17.

Isla is trying to bake a cake for her friend's birthday. She needs a clear plan to follow so that she can successfully make the cake. What is the definition of an Algorithm?

a)

A set of instructions to perform a process.

b)

The answer to a question.

c)

A question to be answered

d)

A list of instructions.

18.

Green flag is used to ...

a)

stop the script

b)

run the script

c)

delete the script

19.

If this script is given to a sprite, what will the sprite say?

a)

3

b)

9

c)

2

d)

8

20.

If this script is given to a sprite, what will the sprite say?

a)

14

b)

10

c)

-10

d)

4

21.

What does this block mean? (Choose two)

a)

number of days = 12

b)

increase number of days by 12

c)

make the variable 'number of days' hold a value of 12

d)

Add 12 to whatever value number of days was holding before.

22.

Which category of block contains this block?

a)

Sensing

b)

Motion

c)

Operators

d)

Events

e)

Sound

23.

Which would make a sprite move up?

a)

Change X by 10

b)

Change Y by -10

c)

Change Y by 10

d)

Change X by -10

24.

Can we add sound to our scratch project ?

a)

Yes

b)

No

25.

When is this used?

a)

With the point in direction block.

b)

With the move block.

c)

When I want the game to end.

d)

When I want to change costume

26.

Can we add any variable in the motion block?

a)

True

b)

False

27.
You can paint a new costume for a sprite in Scratch?
a)
True
b)
False
28.

Using the Scratch “Pen” feature to write on the stage.

a)

script

b)

stage

c)

drawing

29.

Blocks that allows you to repeat scripts multiple times.

a)

looks

b)

script

c)

volume

d)

loops

30.

Graphical bubble that shows a sprite speaking.

a)

thought bubble

b)

speech bubble

31.

What does this code do?

a)

Follow the mouse

b)

Follow the sprite

c)

Look at the sprite

d)

Nothing

32.

What is a variable?

a)

Something that stores a value

b)

Something that never changes

c)

Something that is very valuable

33.

What does this programming construct do?

a)

Repeats code forever

b)

Run code when an condition is met

c)

Repeats code until a condition is met

34.

Name this programming construct

a)

If Statement

b)

Loop

c)

Variable

35.

Name this programming construct

a)

If Statement

b)

Loop

c)

Variable

36.

What does this programming construct do?

a)

Repeats code forever

b)

Repeats code until a condition is met

c)

Run code when a condition is met

37.

Function to control how and when the program start is

a)

control

b)

motion

c)

looks

d)

events

38.

Will this algorithm repeats itself?

a)

Yes

b)

No

39.
What symbol is used in python to assign values to a variable?
a)
equals =
b)
plus + 
c)
forward slash /
d)
asterisk *
40.
When you have an error in your code what is the term to summarise finding and fixing that error?
a)
Error checking
b)
Debugging
c)
Syntax finder
d)
Error finder
41.
What is Python?
a)
text based programming language
b)
word processor 
c)
spreadsheet
d)
block based programming language
42.
What does the term 'debug' mean?
a)
Identify errors and fix them.
b)
Making a calculation
c)
A set of instructions
d)
Looking at code
43.
In python the ' INTEGER data type' can be defined as...?
a)
holds alphanumeric data as text
b)
holds whole numbers
c)
holds numbers with a decimal point
d)
holds either ‘true’ or ‘false’
44.
In python the ' STRING data type' can be defined as...?
a)
holds alphanumeric text
b)
hold whole numbers
c)
holds numbers with a decimal point
d)
holds either a true or false value
45.
In python the ' FLOAT data type' can be defined as...?
a)
holds alphanumerical data
b)

holds whole numbers

c)

holds a decimal point in a number

d)
hold either true or false
46.
In python the ' BOOLEAN data type' can be defined as...?
a)
holds alphanumerical data
b)
holds whole numbers
c)
holds a number with a decimal point
d)
holds either true or false
47.

What is the output from the following code?

print ("hello world")

a)
Hello World
b)
hello world
c)
print hello world
48.
Which of the following is a float?
a)
new_var = 1234
b)
new_var = True
c)
new_var = 1.234
d)
new_var = "True"
49.

What is a flowchart?

a)

A flowchart is a text-based way of designing an algorithm

b)

A flowchart is a specific programming language

c)

A flowchart is a diagram that represents a set of instructions

50.

(44.5 ) what is this variable type?

a)

int

b)

char

c)

String

d)

float