WorksheetsCode.org Coding Blocks
Total questions: 78
Worksheet time: 45mins
What is an ALGORITHM?
It is a computer
A set of step by step instructions for problem solving.
It's a math idea
What does the STEP button do in code.org?
It clicks through my code step by step to help me solve my code.
It is just an orange button
What is the RUN button?
It allows me to play/practice my algorithm
It makes my character run.
It is just a button
I can do what with this..
Click it because it's pink.
Repeat my steps with LESS puzzle pieces.
Looks kind if weird.
What is this puzzle piece?
Looks for items to grab (collect)
It is just a green button
I don't know
What is this called
An event block
A repeater
JUST a block
What color are event blocks?
Pink
Green
Blue
The area where we do coding is called_________
Stage
Toolbox
Workspace
All the area
If u want your artist to turn right ,which block do you choose?
All of these
The action of doing something over and over again.
Looping
Bugging
Programming
What will this block do
What is the use of this block?
It will set the size only
It will change the dancer
It will change the size of the dancer following the bass of the song
It will set its background
Can we select songs in Code.org
In artist lab
In Dance party
In Sprite lab
None of these
how we can make the game work
Move forward
click RUN
I don't know
Nothing
how we can move one step forward
Debugging means Fix The Problem
True
False
Solve this puzzle
Algorithm
Putting commands in correct order so computers can read the commands.
Finding and fixing problems in your algorithm or program.
An action that causes something to happen.
a step-by-step procedure for solving a problem
Bug
Part of a program that does not work correctly.
An algorithm that has been coded into something that can be run by a machine.
The art of creating a program.
An action that causes something to happen.
Which code will get the Angry Bird to the Pig?
What is wrong with the code to get Scrat to the acorn?
The first "move forward" is not needed.
The first "turn right" should be a "turn left"
The second "move forward" is extra
The last "turn right" should be a "turn left"
A part of the program that does not work correctly.
Bug
Break
Loop
What does this code do?
Moves forward 1 time
Moves forward forever
Moves forward 5 times
Moves left
Which of the code below will complete this puzzle?
How long are the sides of this shape?
2 pixels
120 pixels
150 pixels
Purple pixels
The language that programmers create and use to tell a computer what to do
Code
Command
Run Program
BINARY
A block is
an instruction in a coding program that can be joined to other blocks to build code
visual elements on a screen that are not text, such as pictures, icons and symbols
something a computer program can react to, such as a key being pressed or mouse being clicked
place to store data that can change in a program
Coding can be used to
Program robots
Create websites, games & apps
Tell computers what to do
All of the above
How many times will the bee collect nectar if it follows the entire path?
5
7
8
6
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
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
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
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
A list of steps to finish a task.
Algorithm
Program
Bug
How did the squirrel get the acorn? (simple way)
Do something again
Programming
Condition
Repeat
What do you need to do to get Squirell to the acorn?
Move around the broken ice to get Squirrel to the acorn.
which one is true?
Which one is true?
What does this code do?
Moves forward 1 time
Moves forward forever
Moves forward 5 times
Which block will make a new sprite?
What is a "behavior" in the sprite lab?
An action that a sprite performs continuously until it’s told to stop.
A graphic character on the screen with properties that describe its location, movement, and look.
An action that causes something to happen.
what are behaviors in sprite lab?
behaviors are used to do control the sprite,
Behaviors are blocks that tell the sprite to do a specific set of instructions
none of these
Which path will allow Angry Bird to reach the pig?
moveForward();
moveForward();
turnRight();
moveForward();
moveForward();
moveForward();
moveForward();
turnLeft();
moveForward();
moveForward();
moveForward();
moveForward();
turnLeft();
moveForward();
moveForward();
turnRight();
moveForward();
moveForward();
What will the code do?
the monster will move west-to-east in loop
the monster will move eastwards
the monster will move east in loop
the monster will dance
how to change the size of the girl?
After three moves, the bee is not on nectar. Will the bee collect nectar?
No, the code skips get_nectar()
Yes, the code runs get_nectar()
What shape does this code make?
Rectangle
Triangle
Square
Circle
In this section of code, if the bee is on a honeycomb, what will happen?
The bee will make honey.
The bee will move forward twice
The bee will get nectar.
You can't tell from this code
Which is the correct way to shorten this code?
(click the picture to make it bigger)
The artist has to draw a window for the spaceship.
How many times does the pattern need to repeat in order to complete the picture?
Which block would you use to replace the "?" in the code?
(click the picture to make it bigger)
What number should replace the "?" in the code?
3
4
12
11
How many lines will the artist draw based on the code in the picture?
1
2
3
4
Which of these blocks is a loop structure?
An algorithm that has been coded into something that can be run by a machine is a(n)...
program
code
command
wrong
Debug has two steps. They are...
seek and destroy the enemy
find and fix the problem
find and highlight the problem
raise your hand and ask for help
A nested loop is a(n)...
a loop inside a loop
a repeat loop
conditional loop
a nest with an egg
This loop is pink in Code.org. The programmer use the loop when there the code must be repeated a set number of times.
while loops
if-then loops
repeat loops
conditional loops
Which of these blocks gets the bunny to stop moving with arrow keys?
Which of these gets the computer to print "Duck" 5 times?
Behaviors are blocks that tell the sprite to do a specific set of instructions. Which of these makes the sprite wander around the screen?
Which of these blocks is a loop structure?
