wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Python Quiz Lessons 2 to 4

Total questions: 7

Worksheet time: 2mins

Name
Class
Date
1.

2**4

a)

8

b)

16

c)

0.5

2.

"santa"*4=

a)

error

b)

santa4

c)

elf

d)

santasantasantasanta

3.

This statement goes at the beginning of a python turtle graphics program to create an instance of a turtle to draw with...

a)

Turtle.Draw

b)

turtle = Turtle()

c)

Get.a.turtle

d)

Turtle.up()

4.

This window is called

a)

the python shell

b)

the turtle shell

c)

the editor

5.

Python is a compiled language...

a)

True

b)

False

6.

firstname = "Elf"

prit(firstname)

#the code above will result in what type of error?

a)

semantic

b)

syntax

c)

run time

7.

One drawback of the waterfall method of software development is

a)

too circular

b)

too complicated

c)

too linear