Intro To Functions Flashcards

1
Q

Function

A

Reusable sequence of statements designed to do a particular job, provides a way to split the programs into smaller modular chunks easier to test, organize, use

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

User-defined functions

A

Functions written by the user

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

Function call

A

Expression that tells the cpu to interrupt the current function call and execute another

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

Caller

A

Function initiating the function call

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

Calee (called function)

A

Function being called

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

Function body

A

Curly braces and everything in between

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

Function calling function

A

Any functio can be called multiple times, but they can’t be nested

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