
Functions in Python
Authored by Corneille NDJEUMOU
Computers
University
Used 12+ 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
30 sec • 1 pt
A group of statements that exist within a program for the purpose of performing a specific task is a(n) ___.
block
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The first line of a function definition is known as the ___.
body
introduction
header
initialization
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
You ___ a function to execute it.
define
import
export
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The ___ keyword is ignored by the Python interpreter and can be used as a placeholder for code that will be written later.
pause
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A ___ is a variable that is created inside a function.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A(n) ___ is the part of a program in which a variable may be accessed.
loop
scope
area of visibility
declaration space
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A(n) ___ is a special variable that receives a piece of data when a function is called.
argument
header
module
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 Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?