wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

python intro

Total questions: 17

Worksheet time: 8mins

Name
Class
Date
1.

What is a variable?

a)

A math operator

b)

An element, feature, or factor that is liable to vary or change.

c)

An if statement

d)

A computer system that can change

2.

What does print("hello) display?

a)

hello

b)

gives you an error

c)

"hello"

d)

"hello

3.

True is a boolean

a)

True

b)

False

c)

Neither

4.

What name do we give to a storage location in a computer program?

a)

variation

b)

data type

c)

data

d)

variable

5.

What data type is used to store a list of characters?

a)

real

b)

string

c)

integer

d)

boolean

6.

What data type is used to store whole numbers?

a)

integer

b)

real

c)

string

d)

boolean

7.

What is an algorithm

a)

a graphical representation of a computer program in relation to its sequence of functions.

b)

A step by step set of instructions to solve a specific problem

c)

a notation resembling a simplified programming language, used in program design.

d)

a high-level general-purpose programming language.

8.

What does IDE stand for?

a)

Integrated Development Environment

b)

Internet Development Editor

c)

Internet Development Environment

d)

Icelandic Development Editor

9.
What is syntax?
a)
Syntax is the word used to describe an error
b)
Syntax is the rules of the programming language
c)
It is used to read information
d)
It is used to output information 
10.

Finding and fixing the errors in a program

a)

Indentation

b)

Nesting

c)

Event Block

d)

Debugging

11.

Where can we “not” find computers?

a)

a smart phone

b)

a self driving car

c)

a video game console

d)

an old grand fathers clock

e)

an exercise machine

12.

Why do we learn Python?

a)

It's a really big snake

b)

It's the name of a very funny comedy show

c)

It's simple and easy to learn

d)

It's so rare that no one else knows it

13.
What symbol is used in python to assign values to a variable?
a)
equals =
b)
plus + 
c)
forward slash /
d)
asterisk *
14.
What is the name of the programming language we are learning?
a)
Scratch
b)
Python
c)
Pie thin
d)
Scribble
15.
What is the word (command) used to display numbers and text on the screen?
a)
print
b)
input
c)
output
d)
command
16.
What is the name of the programming language we are learning?
a)
Scratch
b)
Python
c)
Pie thin
d)
Scribble
17.

Is python an interpreter or compiler programming language?

a)

Compiler

b)

Interpreter