Chapter 15 Software development Flashcards

1
Q

Which are the two ways of solving a problem?

A

Bottom up - Starting with the smaller problem and than build on it
Top-Down - Stepwise refinement using pseudo-code, flowcharts or structure charts

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

What is a syntax error?

A

A syntax error is an error in which a program statement does not follow the rules of the language

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

What is prettyprinting?

A

Prettyprinting is highlighting commands in programming languages.

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

What is a logic error?

A

Logic error is an error in the logic of the solution that causes it not to behave as intended.

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

What is a run-time error?

A

A run-time error is an error that causes program execution to crash or freeze

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

What is test data?

A

Test data are carefully chosen values that will test a program

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

What is black-box testing?

A

Black-box testing is the process of comparing expected results with actual results when a program is run.

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

What is white-box testing?

A

White-box testing is testing every path through the program code.

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

What does debugging mean?

A

Debugging means finding and correcting errors in a program.

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

What is dry-run?

A

Dry-run is the process of checking the execution of an algorithm or program by recording variable values in a trace table

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

What is a trace table?

A

A trace table is a table with a column for each variable that records their changing values

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

What does correcting maintenance mean?

A

Correcting maintenance means correcting identified errors

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

What does adaptive maintenance mean?

A

Adaptive maintenance means amending a program to enhance functionality or in response to specification changes

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