wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Practice for G7-Checjpoint 1

Total questions: 18

Worksheet time: 9mins

Name
Class
Date
1.

What is the term for steps you follow to solve a problem?

a)

Program

b)

Python

c)

Algorithm

d)

Hack

2.

An ------------- is a set of instructions designed to perform a specific task

a)

Program

b)

Hack

c)

Algorithm

d)

Python

3.

Which flowchart shape below should you use for decisions?

a)
b)
c)
d)
4.

Which flowchart shape below should you use for input/output data?

a)
b)
c)
d)
5.

Which flowchart shape below should you use for Process/Action?

a)
b)
c)
d)
6.

Which flowchart shape below should you use for start/stop?

a)
b)
c)
d)
7.

Which command should you use to display the text to the screen?

a)

text()

b)

Print

c)

output()

d)

print()

8.

Which command should you use to let the user enter data?

a)

input()

b)

Print

c)

output()

d)

print()

9.

Which symbol should you use to assign a value to a variable?

a)

+

b)

=

c)

%

d)

->

10.

What is the name of a variable that does not change value?

a)

constant variable

b)

algorithm

c)

value

d)

constant

11.

What is wrong with the following code?

a)

There is no space after the word 'print'.

b)

There are no speech marks (" ") around the text in the brackets.

c)

The print should start with a big P.

d)

There should be no brackets ( ).

12.

Look at the flowchart below. What is the output for Price?

a)

13

b)

12

c)

10

d)

3

13.

What does the following code do in python?

a)

It creates a variable called ‘ahmedAge’ and sets it to 12. It then adds 1 and then outputs the variable value.

b)

It prints out a variable called ‘ahmedAge’, then sets it to 13 and adds 3.

c)

It creates a variable called ‘ahmedAge’ and sets it to 21. It then adds 2 and then outputs the variable value.

d)

It creates a variable called ‘print’, then adds 1.

14.

Look at the code below. What is the output for ahmedAge?

a)

13

b)

12

c)

10

d)

3

15.

What is the output of the following code?

a)

20

b)

10

c)

7

d)

17

16.

What are the two errors in the code below?

a)

‘EMIRATES’ should not be in capital letters and the number 7 is wrong.

b)

‘2EMIRATES’ should be ‘EMIRATES’ and ‘Print’ should be ‘print’.

c)

The print should be PRINT and there should be no brackets ‘()’.

d)

There should be two equals signs and ‘Print’ should be ‘print’.

17.

What is the error in the code below?

a)

Input should not be started in capital letters

b)

favfood should be ‘FAVFOOD’

c)

The print should be PRINT

d)

There should be two equals signs

18.

Look at the code below. What is the output for omarAge?

a)

5

b)

20

c)

25

d)

35