Testing Flashcards

1
Q

Compile time error

A

Error checked by Python interpreter is run(Syntax errors usually)

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

Run time error

A

Error in which program structure is correct however it does not run as expected

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

Common syntax errors

A
Leaving out a keyword
Putting a keyword in the wrong place
Leaving out a symbol
misspelling a keyword
incorrect indentation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Logic error

A

Program passes compiling but produces incorrect or no results at all

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

Test

A

Run with a sample data to uncover errors

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

Debug

A

find the cause of a known error

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

Exhaustive testing

A

Run program using all possible inputs

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

Equivalence Classes

A

Group input values into sets of values with similar expected behaviour and choose candidate values

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

Boundary value

A

Choose values at, and on either of, the boundaries of the equivalence class

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

Path testing

A

Create test cases to test every path of execution of the program at least once

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

Statement coverage

A

Tests all statements at least once

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

Glass box testing

A

Testing that requires the programmer to examine the code

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

Black box testing

A

Testing that requires the creation of test cases based on the problem specification.

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