Ch.1 Flashcards
A program
a set of instructions provided by a human to a computer to solve a problem.
Problem Analysis
Make the definition understandable to the computer.
Input-Process-Output chart may be used.
Algorithm design
Algorithm is the rule or the sequence used in problem-solving. We may use mathematical module construction, flowchart design and pseudocode writing.
Program coding
A computer program is written in a specific programming language with a specific syntax.
Syntax
is a grammatical rule for programming.
Program debugging and testing
Bugs are errors in a program, debugging is the process of searching and removing the bugs in a program.
Syntax error
a structural error as the syntax rules are violated.
Runtime error
an error occurs when the program executes. (For example, some devices are
disconnected.)
Logic error
an error due to wrong logic in designing the program or the programmer didn’t consider
some possibilities during Algorithm Design.
Program documentation
Documentation records details of a program. It usually includes code comment, interface description, quick
start guide, etc.
Top-down approach
A big problem is broken down into smaller parts. Each part is further broken down and solved separately.
It is usually used with larger problem.
A program manual is helpful for …….
co-operation between programmers and future maintenance.