WorksheetsCode.org Express course 6th Grade
Total questions: 32
Worksheet time: 32mins
What does this code do?
Moves forward 1 time
Moves forward forever
Moves forward 5 times
Moves left
An error in a program that prevents the program from running as expected.
bug
debugging
for loop
binary
Finding and fixing errors in a program.
debugging
bug
nested loop
event
Finding and fixing errors in a program.
debugging
bug
nested loop
event
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
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
What shape does this code make?
Rectangle
Triangle
Square
Circle
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 right this code
statements that only run under certain conditions
conditionals
paramenter
reflect
variable
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
Is there more than one way to code a puzzle?
No
No, but you can make up your own design
Yes
Yes, but it will be counted wrong
If you weren't able to complete a challenge the first time you should
pout
give up
try again
bang on the keyboard
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
An algorithm that has been coded into something that can be run by a machine.
Program
Variable
Function
Input
A loop that continues to repeat while a condition is true.
while loop
for loop
until loop
exact loop
A command that tells you to do something only up to the point that something becomes true.
while loop
for loop
until loop
counter loop
A piece of code that you can easily call over and over again.
program
block
conditional
function
Loops that have a predetermined beginning, end, and increment (step interval).
for loop
while loop
until loop
repeat loop
A loop within a loop
for loop
while loop
nested loop
while loop
Unit size on a computer screen
degree
inch
pixel
binary
A unit of angle measure.
pixel
degree
circle
fraction
Statements that only run under certain conditions.
events
actions
functions
conditionals
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?
Which of the for loops is set up correctly to complete this maze?
