Visual Basic Chapter 7

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/25

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No study sessions yet.

26 Terms

1
New cards

Address

A variable’s location in memory where its value is stored

2
New cards

Argument

A variable or value passed to a procedure

3
New cards

Class

A data type used to declare an object

4
New cards

Documentation

Comments that describe a procedure and any preconditions or postconditions of the procedure

5
New cards

Function procedure

A procedure that performs a specific task and then returns a value. Also just called a “function”

6
New cards

General procedure

A user-defined Sub procedure

7
New cards

Lifetime

The time in which a variable exists in memory

8
New cards

Parameter

A variable declared in a procedure to accept the value or address of an argument

9
New cards

Pass

Giving data to a procedure

10
New cards

Postcondition

A statement of what must be true at the end of a procedure if the procedure has worked properly. Also just called “post”

11
New cards

Precondition

The initial requirements of a procedure. Also just called “pre”

12
New cards

Procedure

A block of code that performs a specific task. Procedures simplify a program by dividing it up into smaller, more manageable tasks

13
New cards

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

14
New cards

Static variable

A variable with a scope local to the procedure in which it is declared and a lifetime the duration of the program

15
New cards

Sub procedure

A procedure that is an event procedure or a general procedure

16
New cards

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

17
New cards

Add Procedure command

Used to add a procedure to the Code Editor window. Found in the Tools menu

18
New cards

ByRef

Keyword used to declare a reference parameter in a general procedure

19
New cards

ByVal

Keyword used to declare a value parameter in a general procedure

20
New cards

Call

Statement used to execute a general procedure

21
New cards

End Function

Statement used to end the Function statement

22
New cards

End Sub

Statement used to end the Sub statement

23
New cards

Function

Statement used to declare a function procedure

24
New cards

LoadPicture

Function used to change the image in an image box

25
New cards

Static

Keyword used in place of Dim to declare a static variable

26
New cards

Sub

Statement used to declare a procedure