Font size
WorksheetsCode.org
Total questions: 65
Worksheet time: 41mins
What does this code do? (a)
An error in a program that prevents the program from running as expected. (a)
Look at the puzzle and the code below. What can you fix in the code to help the bird get to the pig?
Remove a move forward block
Add a move forward block
Change the first turn block to left
Change the second turn block to left
What shape does this code make? (a)
the action of doing something over and over again
for loop
while loop
bug
loop
Can this code be written better?
Yes, by using loops (repeat blocks)
No, this is the best way to write this code
What is a behavior?
an action you want the sprite to perform over & over
an action that causes something to happen
doing something over and over again
statements that run under certain conditions
A list of steps to finish a task.
Algorithm
Program
Bug
How long are the sides of this shape?
2 pixels
120 pixels
150 pixels
Purple pixels
What is an algorithm?
a list of shopping items you need
a list of tech items you want
a list of steps to complete a task
Look at the puzzle. What can you fix in the code so the bird will make it to the pig?
Change the first turn block to left
Remove a move forward block
Add a move forward block
Change the second turn block to left
A loop within a loop
for loop
while loop
nested loop
while loop
Another term for an "if-else" statment is
loops
function
conditional
algorithm
Conditionals
run lines of code a specified number of times
check to see if a statement is true or false before running code
always will run a set of commands
will always skip a set of commands
In this code, the condition that needs to be checked is
repeat 2 times
if at flower
get nectar
move forward
There are 2 loops nested in this set of code. The Outer loop will cause the sprite to move (a) and the inner loop will cause the sprite to move (b) .
conditional
click event
nested loops
background
sprite
Read the diagram for the conditional statement. According to the diagram, if it is not 10:00 p.m. (a) . If it is 10:00 p.m., (b) .
A part of the program that does not work correctly.
Bug
Break
Loop
The action of doing something over and over again.
Looping
Bugging
Programming
The art of creating a program.
Artistic
Programming
Looping
What is a list of steps that you can follow to finish a task?
Code
Program
Algorithm
What is an algorithm?
a list of shopping items you need
a list of tech items you want
a list of steps to complete a task
What is debugging?
taking an insect out the computer
fixing a program in an algorithm
breaking down a problem
What does this code do?
Moves forward 1 time
Moves forward forever
Moves forward 5 times
Moves left
What does this code do?
Moves forward, turns, moves forward
Moves forward 2 times, turns left, moves forward 2 more times
Moves forward 4 times and turns left
Moves and turns
What blocks would be needed for Laurel to collect all the jewels?
Where is the mistake in this algorithm?
6th box should be "shade"
5th box should be "left arrow"
4th box should be "down arrow"
Use loops to draw this staircase.
Each stair step is 50 pixels long and 50 pixels tall
You will need to turn 90 degrees in each direction
The following blocks will allow the bee to eat all the nectar.
True
False
Solve the puzzle
What is this called
Reapet
Nested Loop
Loop
Nothing
Nested Loop is
Loop inside another Loop
The action of doing something over and over again.
an action causing something to happen
A loop that continues to repeat while a condition is true.
while loop
until loop
for loop
bug
A loop command that tells you to do something only up to the point that something becomes true.
until loop
conditional
nested loop
while loop
statements that only run under certain conditions
conditionals
paramenter
reflect
variable
What is an algorithm?
a list of shopping items you need
a list of tech items you want
a list of steps to complete a task
Look at the puzzle. What can you fix in the code so the bird will make it to the pig?
Change the first turn block to left
Remove a move forward block
Add a move forward block
Change the second turn block to left
What does this code do?
Moves forward, turns, moves forward
Moves forward 2 times, turns left, moves forward 2 more times
Moves forward 4 times and turns left
Moves and turns
Sequencing
Part of a program that does not work correctly.
Putting commands in correct order so computers can read the commands.
An action that causes something to happen.
to write instructions for a computer.
What kind of loop would be MOST helpful to complete this puzzle?
Until loop; because you could program it to go around and get nectar until it's done.
Nested loop; because it's the same on all sides, so you could nest the loop to complete one of the sides into a repeat 3 times loop.
For loop; because you can set the "count" to 3 since there are three sides that are the same.
While loop; because you could program the bee to keep moving forward while the condition that there is still nectar is true.
Which of the following examples IS NOT an example of a conditional?
How many times will the bee collect nectar if it follows the entire path?
5
7
8
6
The following blocks will allow the bee to eat all the nectar.
True
False
Another term for an "if-else" statment is
loops
function
conditional
algorithm
statements that only run under certain conditions
conditionals
paramenter
reflect
variable
Conditionals let your program
Repeat code to increase efficiency
Make decisions to follow a different path
Run in the right order
Give a set of commands a custom name
The cloud is blocking the view. There could be a flower under this cloud. If there is a flower, the bee will need to collect nectar once. If there is not a flower the bee should do nothing. Take a good look at the code below. What do you think will happen after you click "Run"?
The bee will move to the cloud and try to get nectar, no matter what.
The bee will move to the cloud and only try to get nectar if there is a flower underneath.
The bee will move to the cloud and then do nothing, no matter what.
The bee will not reach the cloud.
Which of these problems will this code solve?
All of these
None of these
Use the if/else block to collect nectar at flowers and make honey at honeycomb. Remember: if there is a flower, the bee only needs to get nectar once. If there is a honeycomb, the bee only needs to make honey once.
None of these
Which of these describes the block shown?
When something happens, start this algorithm.
If the statement is true do this code.
If the condition is true do this code. If the statement is false, do something else.
Repeat this code a certain number of times.
All of these
Which of these describes the block shown?
When something happens, start this algorithm.
If the statement is true do this code.
If the statement is true do this code. If the statement is false, do something else.
Repeat this code a certain number of times.
All of these
Which of these describes the block shown?
When something happens, start this algorithm.
If the statement is true do this code.
If the condition is true do this code. If the statement is false, do something else.
Repeat this code a certain number of times.
All of these
Which of these describes the block shown?
When something happens, start this algorithm.
If the statement is true do this code.
If the condition is true do this code. If the statement is false, do something else.
Repeat this code a certain number of times.
All of these
how to change the size of the girl?
Which block is used to remove the sprite?
Which block we used to set the size?
Which block is used to make new sprite with there name?
Which block we used to make sprite without there name?
