Functions in Python

Quiz
•
Computers
•
University
•
Hard
Corneille NDJEUMOU
Used 12+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
JS - Knowledge Check

Quiz
•
University
20 questions
Python Programming Quiz

Quiz
•
9th Grade - University
10 questions
C++ Functions

Quiz
•
University
10 questions
Python For

Quiz
•
University
20 questions
C PROGRAMMING LANGUAGE

Quiz
•
University
15 questions
PROGRAMMING IN PYTHON - UNIT II - TEST 2 - MCQS

Quiz
•
University
20 questions
EXAMEN DAND-JS 2P

Quiz
•
University
12 questions
Python Functions and Docstrings Quiz

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade