Search Header Logo

Python CMU review 1-3

Authored by David Bergevin

Computers

11th Grade

Used 4+ times

Python CMU review 1-3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following has a syntax error?

Rect(50, 50, 100, 300, fill=white)

Circle(300, 300, 75, borderWidth=5)

Line(50, 50, 100, 100, border=None)

Oval(200, 150, 200, 200, dashes=True)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does fill=None do to the shape?

Makes the fill empty

Makes the entire shape invisible

Sets opacity to 0

Changes fill to match background

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which code draws a star that is closest to the shape of a circle?

Star(80, 130, 35, 7, roundness=20)

Star(160, 130, 35, 7, roundness=40)

Star(240, 130, 35, 7, roundness=60)

Star(320, 130, 35, 7, roundness=80)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many coordinate values are needed to draw a black polygon with 3 sides of different lengths?

2

4

6

8

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Looking at the following fonts, which is not supported?

Arial

Courier

Times New Roman

Monospace

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you set the width of a line?

borderWidth

width

lineWidth

Linewidth

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value we use to indicate an empty shape property?

'Empty'

none

'None'

None

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?