Python Shapes and Colors

Python Shapes and Colors

8th Grade

10 Qs

quiz-placeholder

Similar activities

Adobe Illustrator

Adobe Illustrator

8th Grade

15 Qs

Pygame

Pygame

6th - 8th Grade

10 Qs

Lesson1_Level4

Lesson1_Level4

6th - 12th Grade

11 Qs

Занятие_25_09

Занятие_25_09

6th - 8th Grade

15 Qs

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

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

8th Grade

14 Qs

JavaScript Test 1: Shapes and Printing

JavaScript Test 1: Shapes and Printing

2nd - 9th Grade

10 Qs

javascript - khan academy

javascript - khan academy

6th - 8th Grade

11 Qs

Small Basic Quiz

Small Basic Quiz

7th - 9th Grade

12 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?