3.1.3 Differences between Static Testing and Dynamic Testing Flashcards

1
Q

Static testing and dynamic testing practices complement …

They have similar objectives like supporting the detection of “ “ in w… but there are some …

A

each other.

defects
work products
differences too.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  • Static testing and dynamic testing (with analysis of failures) can both lead to the … ; however, there are some … that can only be found by either “ “ or …
A

detection of defects
defect types
static
dynamic testing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  • Static testing finds defects directly, while … causes failures from which the … are determined through …
A

dynamic testing
associated defects
subsequent analysis.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  • Static testing may more easily detect defects that … through the “ “ that are rarely “ “ or … using …
A

lay on paths
code
executed
hard to reach
dynamic testing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  • Static testing can be applied to … while … can only be applied to …
A

non-executable work products,
dynamic testing
executable work products.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  • Static testing can be used to measure … that aren’t dependent on … (e.g. “ “), while … can be used to measure … that are dependent on … (e.g. …
A

quality characteristics
executing code
maintainability
dynamic testing
quality characteristics
executing code
performance efficiency).

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

Typical defects that are easier and/or cheaper to find through static testing include:
- def… (e.g.
- incon…
- amb…
- cont…
- omi…
- inac…
- dup…

A
  • Defects in requirements
    • inconsistencies
    • ambiguities
    • contradictions
    • omissions
    • inaccuracies
    • duplications )
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
  • Design d… (e.g.
    • inefficient d…
    • poor m… )
A
  • defects
    • database structures
    • modularization
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
  • Certain types of … (e.g.
    • variables with …
    • undeclared “ “
    • unreachable or d…
    • excessive …
A
  • coding defects
    • undefined values
    • variables
    • duplicated code
    • code complexity)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
  • Deviations from “ “ (e.g. lack of “ “ to n… in c…
A
  • standards
    • adherence
      naming conventions
      coding standards)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
  • Incorrect interface s…
    • (e.g. mismatched “ “, “ “ or o…
A
  • specifications
    • number
      type
      order of parameters)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
  • Specific types of s… (e.g. buffer “ “)
A
  • security vulnerabilities
    overflows
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
  • Gaps of “ “ in t… (e.g. missing tests for an …
A
  • inaccuracies
    test basis coverage
    acceptance criterion
How well did you know this?
1
Not at all
2
3
4
5
Perfectly