Ch.1 Flashcards

1
Q

A program

A

a set of instructions provided by a human to a computer to solve a problem.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Problem Analysis

A

Make the definition understandable to the computer.

Input-Process-Output chart may be used.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Algorithm design

A
Algorithm is the rule or the sequence used in problem-solving. We may use mathematical module
construction, flowchart design and pseudocode writing.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Program coding

A

A computer program is written in a specific programming language with a specific syntax.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Syntax

A

is a grammatical rule for programming.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Program debugging and testing

A

Bugs are errors in a program, debugging is the process of searching and removing the bugs in a program.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Syntax error

A

a structural error as the syntax rules are violated.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Runtime error

A

an error occurs when the program executes. (For example, some devices are
disconnected.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Logic error

A

an error due to wrong logic in designing the program or the programmer didn’t consider
some possibilities during Algorithm Design.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Program documentation

A

Documentation records details of a program. It usually includes code comment, interface description, quick
start guide, etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Top-down approach

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

A program manual is helpful for …….

A

co-operation between programmers and future maintenance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly