Functions Flashcards

1
Q

This refers to a block of organized, reusable code that is used to perform a single, related action.

A

Function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

It provides better modularity for the applications, as well as a high degree of code reusing.

A

Function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

These are functions that you can create on your own.

A

User-defined functions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

This keyword introduces a function definition.

A

def

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

It is the variable listed inside the parentheses in the function definition.

A

Parameter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

These are information that can be passed into functions.

A

Arguments

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

It is used to avoid getting an error for a function definition with no content.

A

Pass statement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly