Chapter 3- Standard Subroutines Flashcards

1
Q

Argument/Actual parameter

A

Data transferred to a subroutine when a subroutine is called

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

Function

A

Subroutine that consists of a set of instructions, performs a specific task and normally delivers a result

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

Method

A

Procedure or function that defines the behaviour of and object (such as a Delphi component)

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

Parameter

A

When a subroutine is declared, the data values a subroutine can receive or return are called the parameters

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

Procedure

A

Subroutine that consists of a set of instructions, that executes a specific task/tasks. Delivers no results, or one or more than one result through the application of reference parameters

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

Reference parameter/variable parameter

A

Parameter where the address of the value used in the argument of the procedure is passed to the procedure. Procedure works with the value of the argument itself

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

Standard subroutine

A

Programming code that is written by the developers of Delphi. This code is then supplied to other programmers for them to use in their own programs

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

Subroutine

A

Program statements grouped together to perform specific tasks and to possibly deliver certain results

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

Unit

A
Module of code that can contain: 
•code associated with a form
•standard subroutines 
•programmer-developed subroutines
•programmer developed class
•programmer developed data module
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Value parameter

A

Parameter where the value used in the argument of the procedure is copied to the procedure, so the procedure works with a local copy. Changes to the value will not affect the argument

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