wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

code.org Course C Lesson 1-6

Total questions: 48

Worksheet time: 48mins

Name
Class
Date
1.

a)
b)
c)
d)
2.

a)
b)
c)
d)
3.

a)
b)
c)
d)
4.

a)
b)
c)
d)
5.

a)
b)
c)
d)
6.

a)
b)
c)
d)
7.

Which TWO (2) WORK?

a)
b)
c)
d)
8.

Does this code work?

a)

Yes

b)

No

9.
a)
b)
c)
d)
10.

What block is used to pick up the treasure?

a)

Pick up

b)

Collect

c)

Get

d)

Win

11.

What is the repeated pattern?

a)

Forwards, left. Forwards, right.

b)

Forwards, right. Forwards, left.

c)

Forwards, left.

d)

Forwards, right.

12.

How many times does she repeat Forwards, left. Forwards, right?

a)

3

b)

4

c)

5

d)

6

13.

Which is better?

a)
b)
14.

Why is it GOOD to look out for repeated patterns?

a)

We can LOOP repeated patterns to save time and space

b)

I like pwetty patterns

c)

Patterns are important in science and maths

d)

It took Mr Reynolds 10 minutes to write the longer code :-(

15.

What's the obvious missing code to complete the puzzle in THIS example?

a)

Collect

b)

Forward

c)

Left

d)

Right

16.

How many are needed to collect all of the treasure with the long code?

a)

2

b)

3

c)

4

d)

5

17.
a)
b)
c)
d)
18.

a)
b)
c)
19.

a)
b)
c)
d)
20.

Why is **repeat 2** pointless in the case of the last puzzle?

a)

Repeat 2 is the same as forwards + forwards.

b)

I don't get repeats!

c)

She doesn't go forwards 2 at all

21.

Which THREE are correct?

a)
b)
c)
d)
22.

This WORKS. Why is it not the best?

a)

It's inefficient. Too many blocks were used!

b)

It works, so what!

23.
a)
b)
c)
d)
24.

a)
b)
c)
d)
25.

In real life, would the person be able to TRY and pick up something, BUT THEN MOVE ON if there was nothing there??

a)

YES. This is an example of code that doesn't think like a human. If only there was a "If = treasure" block!

b)

No. Humans are like computers and only follow the code, exactly as written.

26.
a)
b)
c)
d)
27.

a)
b)
28.

how we can make the game work

a)

Move forward

b)

click RUN

c)

I don't know

d)

Nothing

29.

Putting The Steps in a correct order  

a)

Sequencing

b)

Algorithm

c)

Debugging

30.

Solve the puzzle

a)
b)
c)
d)
31.

What is the meaning of Bug

a)

Problem

b)

Fix The Problem

c)

animal

d)

Don't know

32.

Debugging means Fix The Problem

a)

True

b)

False

33.

Where is the Bug

a)

Step 1

b)

Step 2

c)

Step 3

d)

Step 5

34.

Solve this puzzle

a)
b)
c)
d)
35.

Solve the Puzzle

a)
b)
c)
36.

Solve the Puzzle

a)
b)
c)
37.

Solve the Puzzle

a)
b)
c)
d)
38.

What block is missing from the code to make it work correctly?

a)
b)
c)
39.

Use the picture and the letter of the steps to decide which 2 steps would be next in the algorithm to make a paper airplane?

C, A, F, ______,

a)

G, D

b)

B, E

c)

E, H

40.

Does the following code help Laurel collect all the jewels?

a)

Yes

b)

No

41.

Which word means writing the steps of code in order?

a)

Sequence

b)

Binary

c)

Loop

d)

Debug

42.

Which word means to fix a mistake in the code?

a)

Sequence

b)

Binary

c)

Loop

d)

Debug

43.

Part of a program that does not work correctly.

a)

Variable

b)

Bug

c)

Parameter

d)

Sprite

44.

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

a)

Program

b)

Parameter

c)

Code

d)

Bug

45.

Finding and fixing problems in an algorithm or program.

a)

Unbugging

b)

Sprite

c)

Property

d)

Debugging

46.

A list of steps to finish a task

a)

Bug

b)

Algorithm

c)

Condition

d)

Constant

47.

feeling annoyed or angry because something is not the way you want it

a)

programming

b)

algorithm

c)

variable

d)

frustrated

48.

trying again and again, even when something is very hard

a)

persistence

b)

frustrated

c)

bug

d)

while loop