P2 Testing Flashcards

(6 cards)

1
Q

What is the purpose of testing

A

Check a program meets user requirements
Check program works(detect errors)
Allows errors to be fixed and make sure there are no problems

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

When does iterative testing take place

A

During development (while writing)

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

When does final testing take place

A

At the end of production

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

What is a syntax error

A

Error that breaks the rules of the programming language, program cannot run

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

What is a logic error

A

Program produces an unexpected output but it still runs

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

What are the 4 types of test data

A

Normal, meaning inside the range
Boundary, meaning on the edge of expectation
Invalid, correct data type but outside range
Erroneous, incorrect data type

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