wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Intro to Python Unit 6 Vocabulary Quizs

Total questions: 9

Worksheet time: 5mins

Name
Class
Date
1.

A 'Frame' in programming is:

a)

a data structure used for storing information

b)

a type of loop

c)

a conditional statement

d)

a function

2.

What is the function of 'create_frame'?

a)

To initialize a new frame for data storage

b)

To delete an existing frame

c)

To modify the properties of a frame

d)

To duplicate a frame

3.

What is a 'Global variable'?

a)

A variable that is accessible throughout the entire program

b)

A variable that is only accessible within a function

c)

A variable that is only accessible within a class

d)

A variable that is only accessible within a module

4.

The 'draw_line' function is used to:

a)

Create a new line in a document

b)

Draw a straight line on a canvas

c)

Erase a line from a drawing

d)

Save a drawing to a file

5.

The 'draw_text' function is used to:

a)

Render text on a display or image

b)

Draw shapes like circles and rectangles

c)

Create animations

d)

Handle user input

6.

The purpose of the 'draw_polygon' function is to:

a)

create a circle

b)

draw a polygon

c)

erase a shape

d)

fill a color

7.

In programming, what is a 'Local variable'?

a)

A variable that is only accessible within a module

b)

A variable that is only accessible within a class

c)

A variable that is only accessible within a function

d)

A variable that is accessible throughout the entire program

8.

What does the 'draw_circle' function do?

a)

It draws a square.

b)

It draws a circle.

c)

It draws a triangle.

d)

It draws a rectangle.

9.

RGB is used for ______ in Python.

a)

color representation

b)

data analysis

c)

machine learning

d)

web development