Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

KS3 GCSE Computer Science (Programming / Python)

Total questions: 10

Worksheet time: 9mins

Name
Class
Date
1.

Python is a (a)   level programming language?

2.

What is the type of error you receive when the rules of the programming language have been broken?

a)

sinful error

b)

taxable error

c)

syntax error

d)

synwave error

3.

Often programming can be done within an "IDE", but what does "IDE" stand for?

a)

input data easily

b)

initial design encoder

c)

integrated development environment

d)

inter dynamic execution

4.

location in memory that we use to store data is known as a ....?

a)

directory

b)

variable

c)

store

d)

locatorator

5.

If a variable value is changed from one type to another it is known as...?

a)

converting

b)

casting

c)

switching

d)

flipping

6.

Which of the following means "not equal to"

a)

<=

b)

==

c)

>=

d)

!=

7.

What would appear on the screen if the following code was run:

print ("Quiz"*3)

a)

Quiz

Quiz

Quiz

b)

Quiz*3

c)

SyntaxError

d)

QuizQuizQuiz

8.

If the following code was run, what would be the output? :

print (8/4)

a)

2

b)

SyntaxError

c)

2.0

d)

"8/4"

9.

What result would appear if you ran the following code:

carmodel = 'Ferrari'

print(type(carmodel))

a)

<class 'int'>

b)

<class 'str'>

c)

carmodel

d)

Ferrari

10.

What should be written in the code where ???? on line 7 currently is:

a)

elif

b)

else

c)

or

d)

and