wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Python Review

Total questions: 16

Worksheet time: 8mins

Name
Class
Date
1.

Algorithms . . .

a)

can only be typed on a computer

b)

are no longer used

c)

are hard to understand

d)

can be written in any language

2.

The output for a Boolean data type will be

a)

up or down

b)

yes or no

c)

true or false

d)

left and right

3.

Which company does not use Python programming?

a)

Kolache Factory

b)

Netflix

c)

Amazon

d)

Google

4.

Compiled programming languages are

a)

faster

b)

slower

c)

not available for Chromebooks

d)

are not used on computers

5.

String data types must have

a)

=

b)

$$

c)

?

d)

" "

6.

Which two are examples of an algorithm?

a)

website

downloads

b)

recipe

flowchart

c)

pencil

notebook

d)

laptop

tablet

7.

What symbol must be used to "call" a function?

a)

<

b)

#

c)

*

d)

@

8.

In Python coding, items in a list must be separated by a

a)
  • -

minus sign

b)

!

exclamation point

c)

%

percent sign

d)

,

comma

9.

What is the name of this data type?

a)

function

b)

boolean

c)

integer

d)

string

10.

A _____ is the "boss". It tells the computer hardware what to do.

a)

Program

b)

Algorithm

c)

Principal

d)

URL

11.

Interpreted programming languages

a)

turn off computers

b)

speed up a computer

c)

run slower

d)

can't be used on computers

12.

Python is a popular programming language used to make computer games.

a)

true

b)

false

13.

Which of the 2 are Interpreted program languages?

a)

Assembler

C++

b)

Go

CLEO

c)

Python

JavaScript

d)

C

Rust

14.

Which of the 2 are Compiled program languages?

a)

C++

Rust

b)

Ruby

PHP

c)

Pearl

SQL

d)

Python

JavaScript

15.

Which of the following shows a Python conditional statement?

a)

b)

c)

d)

16.

Which two (2) are Interpreted programming languages?

a)

COBOL

Java

b)

Rust

Go

c)

C++

Scratch

d)

JavaScript

Python