wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Python Review 3

Total questions: 10

Worksheet time: 10mins

Name
Class
Date
1.

A circle is the same as a Circle.

a)

True

b)

False

2.

What is this shape's gradient?

a)

gradient('red','blue')

b)

gradient('blue','red')

c)

fill = 'red,blue'

d)

gradient('purple')

3.

What type of error in this code will be found by the Autograder?


Rect(124,27,11,89

a)

Runtime Error

b)

Syntax Error

c)

Logical Error

d)

There is NO error

4.

What is this shape's gradient?

a)

gradient("red", "yellow", start="top")

b)

gradient("red", "yellow", start="bottom")

c)

gradient("red", "yellow", start="left")

d)

gradient("yellow", "red", start="top")

5.

Select the correct line of code.

a)

Rect (100, 30, 70, fill='red')

b)

Label ( 'hello', size=30, font='monospace', italic=True)

c)

Line (270, 180, 311, 205, lineWidth=4)

d)

Circle(10, 25, 13, fill=gradient 'blue' , 'gold' , start='right)

6.

Which will result in a shape with no fill?

a)

fill = No fill

b)

fill = "white"

c)

fill = "clear"

d)

fill = None

7.

What is the star with the LEAST roundness?

a)

A

b)

B

c)

C

d)

D

8.

Select all of the properties that we CAN use when coding in python.

a)

dashes

b)

rotateAngle

c)

bold

d)

color

9.

Select the INCORRECT line of code!

a)

Oval ( centerX, centerY, size/width, size/height, fill='white')

b)

Circle ( centerX, centerY, radius, roundness= # )

c)

Label ( 'text' , centerX, centerY, size= #, bold=True)

d)

Star ( centerX, centerY, radius, points, rotateAngle= #, fill= 'green' )

10.

After a month of learning coding, how confident are you in your coding ability

a)

I still have no idea what I am doing

b)

Its hard, but I am starting to get the hang of it

c)

I am now comfortable with coding

d)

I am very confident in my coding abilities