Functions in Python

Functions in Python

Assessment

Flashcard

Computers

University

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

14 questions

Show all answers

1.

FLASHCARD QUESTION

Front

A group of statements that exist within a program for the purpose of performing a specific task is a(n) ___.

Back

function

2.

FLASHCARD QUESTION

Front

The first line of a function definition is known as the ___.

Back

header

3.

FLASHCARD QUESTION

Front

You ___ a function to execute it.

Back

call

4.

FLASHCARD QUESTION

Front

The ___ keyword is ignored by the Python interpreter and can be used as a placeholder for code that will be written later.

Back

pass

5.

FLASHCARD QUESTION

Front

A ___ is a variable that is created inside a function.

Back

local variable

6.

FLASHCARD QUESTION

Front

A(n) ___ is the part of a program in which a variable may be accessed.

Back

scope

7.

FLASHCARD QUESTION

Front

A(n) ___ is a special variable that receives a piece of data when a function is called.

Back

parameter

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?