Search Header Logo

Python Shapes and Colors

Authored by Kristin Hardeman

Instructional Technology

8th Grade

Used 1+ times

Python Shapes and Colors
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When drawing shapes, what is the optional final argument for the draw functions?

height

center

line width

area

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What can happen if the wait() function call is not used in a graphical animation program?

The program crashes because it tries to do too many things at once.

The program animates too fast to be seen clearly.

The program doesn't display any drawings.

The program won't be allowed to open a new window.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

As you move downward on the screen, the y-coordinate in Python...

Remains constant

Gets bigger

Is always zero

gets smaller

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the maximum number of points that can be used to draw a polygon?

2

10

56

There is no maximum

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why isn't the tuple in the code below a valid color tuple?

Color tuples don't use integers bigger than 255.

Color tuples only use floats, not integers.

Color tuples have two integers, not three.

It is a color tuple.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To draw a filled yellow star, which draw call should be used?

pygame.draw.line()

pygame.draw.circle()

pygame.draw.rectangle()

pygame.draw.polygon()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What can you tell about the following two lines just from looking at the draw statements?

pygame.draw.line(window, b, (0, 0), (50, 50))

pygame.draw.line(window, g, (100, 50), (50, 50))

They connect to each other at one end.

They are both vertical.

They take up the entire window.

They are both black lines.

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?

Discover more resources for Instructional Technology