SDD : Testing Flashcards

1
Q

The main reasons for testing

A
  • To identify errors
  • To ensure that software is fit for purpose
  • To ensure that code is efficient
  • To ensure that code is maintainable
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Test Data - Normal

A

This is data that the program should be expected to use in normal operation

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

Test data - Extreme

A

This is data at the edge of what is acceptable, such as high and low limits or boundaries

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

Test Data - Exceptional

A

This is invalid data. Robust programs should reject this

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

A test Plan

A

A test plan is a set of test data which should systematically and comprehensively test the software to ensure that it meets the original specification.

Will include, normal, extreme and exceptional data

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

Syntax error

A

These are mistakes in the programming ‘grammar’ e.g. forgetting to put a semi colon or close a bracket.

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

Execution error

A

An execution error is one which causes te program to stop when it is run e.g. divide by zero, trying to writing to file which does not exist.

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

Logical error

A

An error in the logic of the code such as using ˂ instead of ˃ or AND instead of OR. The program will execute the code but will produce unexpected results.

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

Dry run

A

A dry run is a manual run through pseudocode or the source code of the program

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

Brekapoints

A

A breakpoint is a set at a point in a program where it will stop execution so that the values of variables can be examined;

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

Watchpoint

A

Watchpoints are assigned to variables. They stop the execution of the program when a variable changes or when the contents of a specific variable or expression meets a paarticular condition.

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