WorksheetsIntro to Python Unit 6 Vocabulary Quizs
Total questions: 9
Worksheet time: 5mins
A 'Frame' in programming is:
a data structure used for storing information
a type of loop
a conditional statement
a function
What is the function of 'create_frame'?
To initialize a new frame for data storage
To delete an existing frame
To modify the properties of a frame
To duplicate a frame
What is a 'Global variable'?
A variable that is accessible throughout the entire program
A variable that is only accessible within a function
A variable that is only accessible within a class
A variable that is only accessible within a module
The 'draw_line' function is used to:
Create a new line in a document
Draw a straight line on a canvas
Erase a line from a drawing
Save a drawing to a file
The 'draw_text' function is used to:
Render text on a display or image
Draw shapes like circles and rectangles
Create animations
Handle user input
The purpose of the 'draw_polygon' function is to:
create a circle
draw a polygon
erase a shape
fill a color
In programming, what is a 'Local variable'?
A variable that is only accessible within a module
A variable that is only accessible within a class
A variable that is only accessible within a function
A variable that is accessible throughout the entire program
What does the 'draw_circle' function do?
It draws a square.
It draws a circle.
It draws a triangle.
It draws a rectangle.
RGB is used for ______ in Python.
color representation
data analysis
machine learning
web development
