Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
26 Cards in this Set
- Front
- Back
A series of steps that tells how to solve a problem
|
Algorithm
|
|
Boolean Expression
|
An expression that evalutes to either true of false.
|
|
A variable used to store a value that is updated during run time.
|
Counter
|
|
Decision structure
|
A statement that executes code depending on a Boolean expression.
|
|
Function
|
A type of procedure that returns a value.
|
|
Variables and constants accessible by every procedure in a form module.
|
Global
|
|
Global declaration
|
Variables and constants declared using the keyword "Private" in the general section of the Code Editor window.
|
|
Variables and constants declared in a procedure.
|
Local declaration
|
|
An error caused by statements that are syntactically correct but produce undesired or unexpected results.
|
Logic Error
|
|
Logical operators
|
Operators (And, Or, and Not) that may be used to form a Boolean expression.
|
|
Used by an object to perform an action
|
Method
|
|
One or more statements within a statement.
|
Nested Statements
|
|
An algorithm created using both English and Visual Basic code.
|
Pseudocode
|
|
Operators (=, <,<=, >, >=, and <>) that may be used to form a Boolean expression.
|
Relational operators
|
|
The accessibility, or visibility, of variables and constants among procedures.
|
Scope
|
|
<>
|
Not equal to relational operator used to determine if one value is not equal to another.
|
|
What is the formula for the funtion "Rnd"?
|
int(Rnd*a+b)
|
|
If a counter was going to be called "x", the counter statement would be ...
|
x = x + (value of incremation)
|
|
List the six data types
|
Long, integer, single, double, currency, and string
|
|
What is the difference between long and integer?
|
Small whole numbers are integers, while large whole numbers (over 32700) are long.
|
|
What is the difference between single and double data types?
|
Small decimals are single data types and very large decimals are double.
|
|
When should global and local declarations be used?
|
Global declarations should only be used when a variable or constant will be used in more than one procedure. A local variable or constant should be used when only one procedure requires it.
|
|
Why should we NOT declare ALL variables or constants as global?
|
It slows the program down and it is not efficient.
|
|
Every object on the form MUST have an __________
|
Event Procedure
|
|
Before using the Rnd function, the word _________ should be placed on the Form_load.
|
Randomize
|
|
Good programmer style: put _____ before each object name AND _____ each line of code.
|
Prefix, indent
|