wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

G7CheckPoint1T1CCDI

Total questions: 12

Worksheet time: 6mins

Name
Class
Date
1.

A method used to break down problems into smaller parts. What is this called? (3 marks)

a)

Selection

b)

Repetition

c)

Decomposition

d)

Algorithm

2.

What is decomposition? (3 marks)

a)

A method you use to break down problems into smaller parts.

b)

When the program chooses which instructions to execute.

c)

Is when the program repeats instructions

d)

Steps you follow to solve a problem

3.

Which variable below is the best to store a person’s height?

a)

int_weight

b)

bln_height

c)

flt_height

d)

str_height

4.

Which variable below is the best to store a person’s name?

a)

str_name

b)

int_name

c)

bln_name

d)

flt_name

5.

Which one is an example of pseudocode? (3 marks)

a)

Input an age from the user

b)

x = 5+20

c)

print("Hello, Zachariah!")

d)

for count in range(20):

6.

Which one is NOT an example of pseudocode? (3 marks)

a)

Input an age from the user

b)

Add score to sum and save the answer in sum

c)

Output the answer

d)

for count in range(20):

7.

Which compound conditional code should go in the yellow box ?

a)

if int_age >=18 and int_age<=12

b)

if int_age >=12 and int_age<=18

c)

if int_age >=15 and int_age<=28

d)

int_age >=12 and int_age=18

8.

Which compound conditional code should go in the yellow box ?

a)

if int_age >=2 and int_age<=1

b)

if int_age >=4 and int_age<=28

c)

if int_age >=1 and int_age<=2

d)

int_age >=1 and int_age<=2

9.

Which one is a way to include already made code into your program?

a)

Use repetition

b)

Use loops

c)

Use compound conditionals

d)

Use libraries

10.

What do you use programming libraries for?

a)

You use libraries to remove functionality from your code.

b)

You use libraries to make your code longer.

c)

You use libraries to allow multiple conditions at the same time.

d)

You use libraries to add pre-made code to your program.

11.

Why is it important to get feedback on your project?

a)

Feedback helps you find ways to make your project worse.

b)

Feedback makes your project more expensive.

c)

Feedback will remove all the bugs in your code.

d)

Feedback helps you find ways to improve your project.

12.

What do you use feedback for?

a)

You use feedback to help make your project better.

b)

You use feedback to add code to your project.

c)

You use feedback to make your project more expensive.

d)

You use feedback to make your code shorter.