
Ch 5 Functions - Python
Authored by Carlos Melendez
Instructional Technology
9th - 12th Grade
Used 11+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A group of statements that exist within a program for the purpose of performing a specific task is a(n) _______
block
parameter
function
expression
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
You _____ a function to execute it
define
call
import
export
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A ______ is a variable that is created inside a function
global variable
local variable
hidden variable
none of the above; you cannot create a variable inside a function
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A(n) ______ is a piece of data that is sent into a function
argument
parameter
header
packet
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A _______ variable that is assigned the value of an argument when the function is called
argument
header
parameter
packet
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A variable that is visible to every function in a program file is a _____
local variable
universal variable
program-wide variable
global variable
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
This type of function returns either True or False
Binary
true_false
Boolean
logical
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?