CMU Python Intro Flashcard

CMU Python Intro Flashcard

Assessment

Flashcard

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

10 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Which of these values determines the width (from left to right) of the rectangle? Rect(175, 300, 50, 100, fill='silver') Options: 175, 300, 50, 100

Back

50

2.

FLASHCARD QUESTION

Front

Which of these is the starting location of the rectangle? Rect(175, 300, 50, 100, fill='silver') Options: (175, 300), (300, 50), (50, 100), (175, 100)

Back

(175, 300)

3.

FLASHCARD QUESTION

Front

Which of these has a syntax error? Rect(0, 0, 400, 400, fill=blue), Rect(0, 0, 400, 400, fill="blue"), Rect(0, 0, 400, 400)

Back

Rect(0, 0, 400, 400, fill=blue)

4.

FLASHCARD QUESTION

Front

What do all of these circles have in common? Options: Same radius, Same diameter, Same center, same color

Media Image

Back

Same center

5.

FLASHCARD QUESTION

Front

How many circles will be visible in this code?

Media Image

Back

Just 1 circle

6.

FLASHCARD QUESTION

Front

What is the default fill value? Options: None, black, white, none of the above

Back

black

7.

FLASHCARD QUESTION

Front

Rect(100, 50, 200, 250)
What is the x-coordinate of the top right corner of the rectangle?

Back

300

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?