
Python Chapter 5: Functions
Authored by Alejandro Hidalgo
Information Technology (IT)
Professional Development
Used 6+ 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
parameter
function
expression
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A design technique that helps to reduce the duplication of code within a program and is a benefit of using functions is .
code reuse
divide and conquer
debugging
facilitation of teamwork
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The first line of a function definition is known as the .
body
introduction
initialization
header
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You a function to execute it.
define
call
import
export
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A design technique that programmers use to break down an algorithm into functions is known as .
top-down design
code simplification
code refactoring
hierarchical subtasking
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A is a diagram that gives a visual representation of the relationships between functions in a program.
flowchart
function relationship chart
symbol chart
hierarchy chart
7.
MULTIPLE CHOICE QUESTION
30 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.
placeholder
pass
pause
skip
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?