Software Design & Development Flashcards
Actual Parameter
The value(s) sent from the main program to the procedure.
Robust
Program will cope with invalid data without crashing.
Top Down Design
Problem is split in to small easier to solve ones.
Stepwise Refinement
Process of continually using top down design until each problem is very easy to solve.
Local Variable
These variables only work in the loop, procedure or class they are created in. Such variables are only loaded in to RAM if that particular procedure is used.
Global Variable
These variables can be accessed from any point in a program. Such variables are loaded in to memory as soon as the program is run.
Parameter
These allow us to pass data into procedures.
Function
A piece of code that takes in data (parameters) and processes it to return a single value which can be assigned to a variable.
Procedure
A block of code in a program. It does not have to return a value, but often they can return several values.
Formal Parameter
Placeholders at the top of a procedure that receive the values that have been sent as parameters from the main program.
Linear Search Algorithm
Algorithm used to find a value in a list (array).
Find Minimum Algorithm
Algorithm used to find the smallest value in a list (array).
Find Maximum Algorithm
Algorithm used to find the largest value in a list (array).
Count Occurrences
Algorithm used to find out how many times a value appears in a list (array).
Integer
A positive or negative whole number.
Real
A positive or negative number with a decimal point.
1D Array
A data structure that holds only ONE type of data.
Record
A data structure that can hold SEVERAL different data types in the one unit.
Array of Records
The data structure that holds all the records collectively in one unit.
Sequential File
File type where data is stored in a particular order.
Open File
This will open a sequential file so that the program can read data from the file or write data to the file.
Create File
This allows a new file to be made that can be written to or read from.
Read File
This means to take the data from the file and insert it in to arrays (it can be variables or records as well). However you have to open the file first.
Write File
Data added to a file and is saved to it permanently and is there even when the power is switched off.