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
10 questions
Inheritance

Quiz
•
University
20 questions
Programming Concepts in C

Quiz
•
University
19 questions
Get started with python

Quiz
•
University
10 questions
python quiz

Quiz
•
6th Grade - Professio...
15 questions
C++ Quiz-1

Quiz
•
University
12 questions
Ex - Python Control Statements

Quiz
•
University
20 questions
Kuis LPK Fungsi

Quiz
•
University
20 questions
Python Programming Quiz

Quiz
•
9th Grade - University
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade