Search Header Logo

Python Shapes and Colors

Authored by Kristin Hardeman

Computers

8th Grade

Used 4+ times

Python Shapes and Colors
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which line contains color tuples? A: r = pygame.Rect(0, 0, 400, 400) B: pygame.draw.ellipse(window, (0, 255, 255), r)

A

B

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What color is represented by the tuple (0, 0, 0)?

black

white

green

blue

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What color is represented by the tuple (255, 255, 255)?

black

white

green

blue

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following shapes must be defined on a separate line before you can draw it?

circle

line

rectangle

polygon

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The three values in a color tuple stand for what three colors?

black white grey

red green blue

yellow magenta cyan

red blue yellow

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A gradient is a

line applied to the shape of the object

gradual transition from one color to another

coding function that calls the library

shadowing of the variable

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python, to draw a shape with a border, you draw the same shape _______.

once

twice

3 times

not at all

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?