wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Python Quiz 8.3

Total questions: 12

Worksheet time: 7mins

Name
Class
Date
1.

What does the print statement do?

a)

Prints out a printer

b)

Takes a screenshot

c)

Nothing

d)

Prints to the screen

2.

In Python, what is a variable?

a)

A choice

b)

Boolean

c)

Something the computer remembers

d)

A String

3.

What does a variable do?

a)

Nothing

b)

Lists numbers

c)

Prints to the screen

d)

Stores data until it is needed

4.

What is a Syntax Error

a)

Problem with the computer

b)

Problem with the typed code

c)

Working code

d)

Stored data

5.

Print("Hello There")

a)

will print "Hello There" to the screen

b)

Will print on paper

c)

Syntax Error

d)

Screenshots the code

6.

What is an input?

a)

A maths input machine

b)

Something that requires the user to type something in.

c)

A variable

7.

Booleans give either a True or False response?

a)

True

b)

False

8.

In programming, what is an integer?

a)

Numbers

b)

Words printed on the screen

c)

An Input

d)

A Variable

9.

Complete the code: Name= (a)   ("What is your name?")

10.

Characters and numbers in between speech marks " " is know as...

a)

A string

b)

A Variable

c)

An Input

d)

Selection

11.

Python is a text based language

a)

True

b)

False

12.

Before running a Python script, what needs to be done?

a)

Printed

b)

Rehearsed

c)

Saved

d)

Run