Search Header Logo

Intro to Python Project Stem Unit 6 Test

Authored by Karen Theodosopoulos

Instructional Technology

9th - 12th Grade

Used 2+ times

Intro to Python Project Stem Unit 6 Test
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

Definition: A function that draws a circle on the canvas.

draw_box

draw_polygon

create_frame

draw_circle

Answer explanation

The function 'draw_circle' specifically indicates the action of drawing a circle on the canvas, making it the correct choice. The other options do not relate to drawing a circle.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Definition: A variable declared outside of a function, that can be used anywhere in a program.

Global variable

Global constant

Function

Parameter

Answer explanation

A global variable is defined outside any function, allowing it to be accessed throughout the program. This contrasts with local variables, which are confined to their respective functions. Thus, the correct answer is 'Global variable'.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Definition: A container that holds the graphics.

Segment

Packet

Page

Frame

Answer explanation

A 'Frame' is a container that holds graphics, making it the correct choice. Other options like 'Segment', 'Packet', and 'Page' do not specifically refer to a graphics container.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Definition: A function that creates the frame to hold the drawing.

global

draw_line

create_frame

draw_polygon

Answer explanation

The correct answer is 'create_frame' because it directly refers to a function that establishes the structure needed to hold a drawing, aligning perfectly with the provided definition.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Definition: A function that draws a line on the canvas.

draw_box

create_frame

draw_line

draw_polygon

Answer explanation

The question defines a function that specifically draws a line on the canvas. The correct choice, 'draw_line', directly matches this definition, while the other options refer to different shapes or frames.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Definition: A command used to mix and create colors in Python using red, green and blue.

CMYK

PIXEL

RGB

BINARY

Answer explanation

The RGB color model uses red, green, and blue light to create a broad spectrum of colors. It is the standard method for color mixing in digital applications, making 'RGB' the correct answer.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A function that draws a polygon on the canvas.

draw_circle

draw_box

draw_polygon

write()

Answer explanation

The function 'draw_polygon' specifically indicates the action of drawing a polygon on the canvas, making it the correct choice. The other options either refer to different shapes or actions unrelated to polygons.

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?