Verification Flashcards

1
Q

manual testing

A

a human executes a program and verifies that it does what was intended

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

automated testing

A

the test is run automatically by a computer

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

manual analysis inspection

A

humans do it

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

program analysis

A

computers do it

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

empirical

A

manual testing and automated testing

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

analytrical

A

inspection (manual) and program analysis (automated)

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

defect

A

subset of a program’s code that exhibits behavior that violates a program’s specifications.

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

failure

A

program behavior that results from a defect executing.

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

bug

A

vaguely refers to either the defect, the failure, or both.

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

test coverage

A

executing all of the possible control flow paths through the various conditionals in your program

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

unit tests

A

verify that functions return the correct output.

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

integration tests

A

verify that when all of the functionality of a program is put together into the final product, it behaves according to specifications. Integration tests often operate at the level of user interfaces, clicking buttons, entering text, submitting forms, and verifying that the expected feedback always occurs.

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

regression tests

A

verify that behavior that previously worked doesn’t stop working.

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

symbolic execution

A

verify all possible paths through the function, finding the paths that result in correct and incorrect values. called program analysis if automatic.

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

The benefits of analysis is that it can demonstrate that

A

a program is correct in all cases.

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

static analysis tool

A

popular type of automatic program analysis tools; These tools read programs and identify potential defects using the types of formal proofs. typically result in a set of warnings, each one requiring inspection by a developer to verify, since some of the warnings may be false positives

17
Q

Compilers verify the

A

syntax, grammar, and for statically-typed languages, the correctness of types.

18
Q

code reviews (inspections)

A

read the program analytically, following the control and data flow inside the code to look for defects.

19
Q

modern code reviews help

A

find defects, stimulate knowledge transfer between developers, increase team awareness, and help identify alternative implementations that can improve quality