Functions in Python

Functions in Python

Assessment

Flashcard

Computers

University

Practice Problem

Hard

Created by

Wayground 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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?