Intro to Python Project Stem Unit 6 Test

Quiz
•
Instructional Technology
•
9th - 12th Grade
•
Hard
Karen Theodosopoulos
FREE Resource
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.
Similar Resources on Wayground
10 questions
Software educativo

Quiz
•
11th Grade
10 questions
MATERIALES, TECNOLOGIA Y ENERGIA

Quiz
•
5th - 10th Grade
7 questions
THE AUTOMOBILE SUSPENSION SYSTEM

Quiz
•
10th Grade
10 questions
Software Educativo

Quiz
•
10th Grade
10 questions
DMI KD 9

Quiz
•
12th Grade
10 questions
Vehicle Suspension Quiz

Quiz
•
12th Grade
5 questions
Frames Per Second in Film and Television Quiz

Quiz
•
9th - 12th Grade
10 questions
Av1 3°Tri 9°ano

Quiz
•
9th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade