Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Code.org Express course 6th Grade

Total questions: 32

Worksheet time: 32mins

Name
Class
Date
1.

What does this code do?

a)

Moves forward 1 time

b)

Moves forward forever

c)

Moves forward 5 times

d)

Moves left

2.

An error in a program that prevents the program from running as expected.

a)

bug

b)

debugging

c)

for loop

d)

binary

3.

Finding and fixing errors in a program.

a)

debugging

b)

bug

c)

nested loop

d)

event

4.

Finding and fixing errors in a program.

a)

debugging

b)

bug

c)

nested loop

d)

event

5.

Look at the puzzle and the code below. What can you fix in the code to help the bird get to the pig?

a)

Remove a move forward block

b)

Add a move forward block

c)

Change the first turn block to left

d)

Change the second turn block to left

6.

A loop that continues to repeat while a condition is true.

a)

while loop

b)

until loop

c)

for loop

d)

bug

7.

A loop command that tells you to do something only up to the point that something becomes true.

a)

until loop

b)

conditional

c)

nested loop

d)

while loop

8.

What shape does this code make?

a)

Rectangle

b)

Triangle

c)

Square

d)

Circle

9.
A placeholder for a piece of information that can change.
a)
Variable
b)
Condition
c)
Program
d)
Loop
10.

the action of doing something over and over again

a)

for loop

b)

while loop

c)

bug

d)

loop

11.

Can this code be written better?

a)

Yes, by using loops (repeat blocks)

b)

No, this is the best way to right this code

12.

statements that only run under certain conditions

a)

conditionals

b)

paramenter

c)

reflect

d)

variable

13.

A list of steps to finish a task.

a)

Algorithm

b)

Program

c)

Bug

14.

How long are the sides of this shape?

a)

2 pixels

b)

120 pixels

c)

150 pixels

d)

Purple pixels

15.

What is an algorithm?

a)

a list of shopping items you need

b)

a list of tech items you want

c)

a list of steps to complete a task

16.

Look at the puzzle. What can you fix in the code so the bird will make it to the pig?

a)

Change the first turn block to left

b)

Remove a move forward block

c)

Add a move forward block

d)

Change the second turn block to left

17.

Is there more than one way to code a puzzle?

a)

No

b)

No, but you can make up your own design

c)

Yes

d)

Yes, but it will be counted wrong

18.

If you weren't able to complete a challenge the first time you should

a)

pout

b)

give up

c)

try again

d)

bang on the keyboard

19.

What does this code do?

a)

Moves forward, turns, moves forward

b)

Moves forward 2 times, turns left, moves forward 2 more times

c)

Moves forward 4 times and turns left

d)

Moves and turns

20.
a loop within a loop, an inner loop within the body of an outer one.
a)
Nested Loop
b)
Condition
c)
while loop
d)
For Loop
21.

An algorithm that has been coded into something that can be run by a machine.

a)

Program

b)

Variable

c)

Function

d)

Input

22.

A loop that continues to repeat while a condition is true.

a)

while loop

b)

for loop

c)

until loop

d)

exact loop

23.

A command that tells you to do something only up to the point that something becomes true.

a)

while loop

b)

for loop

c)

until loop

d)

counter loop

24.

A piece of code that you can easily call over and over again.

a)

program

b)

block

c)

conditional

d)

function

25.

Loops that have a predetermined beginning, end, and increment (step interval).

a)

for loop

b)

while loop

c)

until loop

d)

repeat loop

26.

A loop within a loop

a)

for loop

b)

while loop

c)

nested loop

d)

while loop

27.

Unit size on a computer screen

a)

degree

b)

inch

c)

pixel

d)

binary

28.

A unit of angle measure.

a)

pixel

b)

degree

c)

circle

d)

fraction

29.

Statements that only run under certain conditions.

a)

events

b)

actions

c)

functions

d)

conditionals

30.

What kind of loop would be MOST helpful to complete this puzzle?

a)

Until loop; because you could program it to go around and get nectar until it's done.

b)

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.

c)

For loop; because you can set the "count" to 3 since there are three sides that are the same.

d)

While loop; because you could program the bee to keep moving forward while the condition that there is still nectar is true.

31.

Which of the following examples IS NOT an example of a conditional?

a)
b)
c)
d)
32.

Which of the for loops is set up correctly to complete this maze?

a)
b)
c)
d)