NEW
Font size
WorksheetsPacMan programming mini test
Total questions: 12
Worksheet time: 6mins
A character which can be controlled in Scratch is known as...
Sprite
NPC
Player
Icon
A different design for a sprite or a background is known as a...
Design
Costume
Style
Look
What is the name of the variable in this block of code?
Green flag
ghost_direction
random
left-right
How many times will this block of code run when the program starts?
Once
It will loop continuously
4 times
A random number of times between 1 and 4
What does the blue block of code shown do?
Stops sprites turning upside down or sideways
Only allows them to move left and right (up and down not allowed).
Makes sprites start spinning around.
How many times will this block of code run when the program starts?
Once
It will loop continuously
4 times
A random number of times between 1 and 4
When this code is run, the ghost still walks through a wall. What is the most likely reason?
The green colour (in 'touching color') is a different colour to the maze walls.
The 'move steps' need to be changed to +5.
The code is not running continuously to detect walls being touched.
When will this block of code switch the sprite costume to 'costume 1'?
When the game starts
Repeatedly through a forever loop
When the sprite is touching sprite 1
Never
What happens if the sprite with this code touches a sprite called 'sprite 1'?
It will change to costume 2 and make the score equal to 1.
It will change to costume 1 and make the score equal to 1.
It will change to costume 2 and increase the score by 1.
What is the name of the variable in this block of code?
score
costume1
Sprite1
costume2
This code is on a PacMan sprite. What would need to change to program events for a left arrow being pressed?
'Point in direction' changed to -90
'Point in direction' changed to 180
Wait changed to -0.1
This code is on a PacMan sprite. When will this code run?
Continuously from when the game starts.
Continuously after the right arrow is pressed once.
Only when the right arrow is being pressed.
