wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Code.org Express Course -> Lesson 10

Total questions: 19

Worksheet time: 15mins

Name
Class
Date
1.
a)
b)
c)
d)
2.

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

a)
b)
c)
3.

I can do what with this..

a)

Click it because it's pink.

b)

Repeat my steps with LESS puzzle pieces.

c)

Looks kind if weird.

4.

What does this code do?

a)

Moves forward 1 time

b)

Moves forward forever

c)

Moves forward 5 times

d)

Moves left

5.

What shape does this code make?

a)

Rectangle

b)

Triangle

c)

Square

d)

Circle

6.

Define PATTERN RECOGNITION.

a)

A sequence of instructions.

b)

Looking for similarities and trends.

c)

Breaking a task into smaller tasks.

d)

Focusing on what is important and ignoring what is unnecessary.

7.

Define DECOMPOSITION

a)

Breaking a task into smaller tasks.

b)

Looking for similarities and trends.

c)

A sequence of instructions.

d)

Focusing on what is important and ignoring what is unnecessary.

8.

Why is Pattern Matching important to Computer Science?

a)

It helps us solve problems that have repeated actions

b)

It helps us write loops

c)

It helps us write algorithms in fewer steps by looping repeated steps.

d)

All of these

9.

George wanted to make a robot that prepared him a bowl of ice cream every day when he got home from work.He noticed that the robot made the same motion over and over again. He decided to loop that behavior in his program. What part of Computational Thinking was she using?

a)

Abstraction

b)

Decomposition

c)

Algorithm

d)

Pattern Matching

10.

What is the purpose of Computational Thinking?

a)

To confuse us

b)

To help us solve only Computer Science problems

c)

To help us with out homework

d)

To help us solve any problem that we are faced with

11.

Which of the following options of code condenses the pattern or patterns found in the original code?

a)
b)
c)

All of these

d)

None of these

e)
12.
a)
red, green
b)
red, red
c)
green, red
d)
green, green
13.
Where would the next red square be?
a)
bottom left
b)
top right
c)
top left
d)
bottom right
14.
What are the missing numbers in this pattern?
23, 33, ___, 53, ___, 73
a)
32, 62
b)
42, 63
c)
43, 63
d)
42, 62
15.
What is the pattern?
70,60,50,40
a)
add 10
b)
add 5
c)
subtract 10
d)
multiply 2
16.
How would you describe this pattern's rule?
16, 11, 6, 1
a)
Add 5
b)
Subtract 3
c)
Subtract 5
d)
Subtract 6
17.
What comes next in the pattern?
a)
small, big, medium
b)
medium, big, small
c)
big, small, medium
d)
big, medium, small
18.
How many counters would come next?
a)
5
b)
7
c)
9
d)
11
19.

Why do we need to look for patterns in problems?

a)

Patterns make it easier for us to solve complex problems

b)

We don't need to look for patterns

c)

Patterns make it more difficult complex problems