Program Development & Testing Flashcards

1
Q

Syntax error

A

Error that is caused by incorrect arrangement of words and symbols used in the programming language

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

Run-time error

A

Error that occurs while the program is running, usually causing the program to crash or hang

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

Logic error

A

Error that occurs that does not give an expected outpuf

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

Examples of syntax error

A
  • Spelling mistakes
  • Incorrect sequence of symbols in source code
  • Missing symbols in source code
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Examples of run-time error

A
  • Incorrect use of commands
  • Improper validation of input data
  • Uses of conditions that causes program to go out of control
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Examples of logic error

A
  • Use of incorrect or incomplete algorithm
  • Use of wrong Boolean expression
  • Use of wrong data type
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Normal conditions (normal data)

A

Situations where input data follows what is expected during normal use of the program

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

Boundary conditions (abnormal data)

A

Situations where input data is at the limit of what the program is designed to cope with or where special handling is required

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

Error conditions (extreme data)

A

Situations where input data would normally be rejected by the program

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