3.1.3 Differences between Static Testing and Dynamic Testing Flashcards

1
Q

Static testing and dynamic testing practices complement e…

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

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 d… ; however, there are some d… that can only be found by either “ “ or d…
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 d… causes failures from which the a… are determined through s…
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 l… through the “ “ that are rarely “e…“ or h… using d…
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 n… while d… can only be applied to e…
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 q… that aren’t dependent on e… (e.g. “ “), while d… can be used to measure q… that are dependent on e… (e.g. p… ).
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 c… (e.g.
    • variables with u…
    • undeclared “ “
    • unreachable or d…
    • excessive c…
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 “a…” 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 “ “, “t…“ 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… )
A
  • inaccuracies
    test basis coverage
    acceptance criterion
How well did you know this?
1
Not at all
2
3
4
5
Perfectly