wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Coding Quiz 1

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Python is

a)

a general-purpose, high level programming language.

b)

a snake.

c)

a machine-learning algorithm.

d)

coding used to create spreadsheets.

2.

An action that is repeated over and over is called

a)

a square.

b)

a repeat.

c)

a loop.

d)

a sequence.

3.

A class schedule is an example of

a)

a loop.

b)

a function.

c)

a variable.

d)

a line of code.

4.

An example of a infinite loop is

a)

a pencil.

b)

a smart phone.

c)

a laptop.

d)

a clock.

5.

A finite loop

a)

repeats forever.

b)

repeats a specific number of times.

c)

stops immediately.

d)

quits the program.

6.

Computers won't do anything

a)

unless you tell them to do it.

b)

except make mistakes.

c)

right.

d)

without crashing.

7.

Python was originally created by

a)

Bill Gates.

b)

Steve Jobs.

c)

Guido van Rossum.

d)

Monty Python.

8.

The Python project started in 1991 as a

a)

spreadsheet.

b)

complicated coding interface.

c)

Christmas holiday hobby.

d)

website.

9.

How much does Python cost to download and use?

a)

$10 a month.

b)

$599.

c)

Nothing. It's free.

d)

Your eternal soul.

10.

According to the Zen of Python,

a)

Cake is better than ice cream.

b)

Simple is better than complex.

c)

Flat is better than round.

d)

Readability doesn't matter.