Chapter 7: Algorithm design and problem solving Flashcards
Definition of analysis
part of the program development life cycle; a process of investigation, leading to the specification of what a program is required to do
Definition of design
part of the program development life cycle; uses the program specification from the analysis stage to show how the program should be developed
Definition of coding
part of the program development life cycle; the writing of the program or suite of programs
Definition of testing
part of the program development life cycle; systematic checks done on a program to make sure that it works under all condition
Definition of abstraction
a method used in the analysis stage of the program development life cycle; the key elements required for the solution to the problem are kept and any unnecessary details and information that are not required are discarded
Definition of decomposition
a method used in the analysis stage of the program development life cycle; the key elements required for the solution to the problem are kept and any unnecessary details and information that are not required are discarded
Definition of top-down design
the breaking down of a computer system into a set of sub-systems, then breaking each sub-system down into a set of smaller sub-systems, until each sub-system just performs a single action
Definition of inputs
the data used by the system that needs to be entered while the system is active
Definition of processes
the tasks that need to be performed by a program using the input data and any other previously stored data
Definition of outputs
information that needs to be displayed or printed for the users of the system
Definition of storage
data that needs to be stored in files on an appropriate media for use in the future
Definition of structure diagram
a diagram that shows the design of a computer system in a hierarchical way, with each level giving a more detailed breakdown of the system into sub-systems
Definition of flowchart
a diagram that shows the steps required for a task (sub-system) and the order in which the steps are to be performed
Definition of algorithm
an ordered set of steps to solve a problem
Definition of pseudocode
a simple method of showing an algorithm; it describes what the algorithm does by using English key words that are very similar to those used in a high-level programming language but without the strict syntax rules