Programming - 2.6 Subprograms Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Abstraction:

A

the process of hiding unnecessary details so that only the important points remain.

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

Procedure:

A

a subprogram that contains set of statements that are executed when the procedure is called. Unlike a function , a procedure does not return a value too the main program.

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

Local variable:

A

a variable that is accessed only from within the subprogram in which it is created.

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

Global variable:

A

a variable that can be accessed from anywhere in the program, including inside subprograms.

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

Parameters:

A

values that are passed into a subprogram when it is called.

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

Scope:

A

the region of code within which a variable is visible.

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

Built in functions:

A

functions that are provided in most high level programming languages to perform common tasks.

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