Python Shapes and Colors

Python Shapes and Colors

8th Grade

10 Qs

quiz-placeholder

Similar activities

Grade 8 Review

Grade 8 Review

8th Grade

15 Qs

Computer Programming: Graphics

Computer Programming: Graphics

8th - 11th Grade

11 Qs

B3 HP4 SNLTW

B3 HP4 SNLTW

6th - 8th Grade

10 Qs

introduction to animation chapter 12

introduction to animation chapter 12

6th - 8th Grade

15 Qs

Python quiz - 2

Python quiz - 2

3rd - 10th Grade

10 Qs

М1У3 Python GameDEV

М1У3 Python GameDEV

3rd Grade - University

5 Qs

ինֆորմատիկա 8 .2

ինֆորմատիկա 8 .2

8th Grade

14 Qs

М1У1 Python GameDEW

М1У1 Python GameDEW

3rd Grade - University

5 Qs

Python Shapes and Colors

Python Shapes and Colors

Assessment

Quiz

Computers

8th Grade

Easy

Created by

Kristin Hardeman

Used 3+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?