Professional Documents
Culture Documents
Assembly Code
Assembler
Compiler
source code (high level language) -> object code (machine code), then executes
Interpreter
Procedure
completely self-contained subprogram which may be called from the main program
defined and given an identifier which may be used like any other programming
instruction
Function
Variable
Event Procedure - procedure which is run when a certain event is triggered by the user
Scope - refers to the range of statements for which a variable (or procedure is valid). A
variable doesn't exist outside its scope
Parameter
Passing by value - a copy of the variable is used and is discarded when the subprogram
exits
Passing by reference - the memory location of the data is issued and the changes made to
the subprogram affect the variable permanently
Module
Array
finite set of data items of the same type grouped together (referred to) using a
single identifier
static structure
Stack - a LIFO list, dynamic, implemented with an array, can be empty or full
Linked list - dynamic structure, similar to normal list, pointers rather than physical position
used to point to next item in list
Algorithm
Standard Modules
Binary Search
faster
split data into two structures and compare search item with middle item