1/25
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No study sessions yet.
Address
A variable’s location in memory where its value is stored
Argument
A variable or value passed to a procedure
Class
A data type used to declare an object
Documentation
Comments that describe a procedure and any preconditions or postconditions of the procedure
Function procedure
A procedure that performs a specific task and then returns a value. Also just called a “function”
General procedure
A user-defined Sub procedure
Lifetime
The time in which a variable exists in memory
Parameter
A variable declared in a procedure to accept the value or address of an argument
Pass
Giving data to a procedure
Postcondition
A statement of what must be true at the end of a procedure if the procedure has worked properly. Also just called “post”
Precondition
The initial requirements of a procedure. Also just called “pre”
Procedure
A block of code that performs a specific task. Procedures simplify a program by dividing it up into smaller, more manageable tasks
Reference parameter
A variable declared in a procedure to accept the address of the argument. Reference parameters can alter the value of the variable arguments used in the procedure call
Static variable
A variable with a scope local to the procedure in which it is declared and a lifetime the duration of the program
Sub procedure
A procedure that is an event procedure or a general procedure
Value parameter
A variable declared in a procedure to accept a copy of an argument. Value parameters cannot alter the value of the arguments used in the procedure call
Add Procedure command
Used to add a procedure to the Code Editor window. Found in the Tools menu
ByRef
Keyword used to declare a reference parameter in a general procedure
ByVal
Keyword used to declare a value parameter in a general procedure
Call
Statement used to execute a general procedure
End Function
Statement used to end the Function statement
End Sub
Statement used to end the Sub statement
Function
Statement used to declare a function procedure
LoadPicture
Function used to change the image in an image box
Static
Keyword used in place of Dim to declare a static variable
Sub
Statement used to declare a procedure