nerdexam
iSQI

CTFL_SYLL_4.0 · Question #208

Which of the following types of bug are more likely to be found by static testing then by dynamic testing?

The correct answer is B. Variables that were declared in the code without initialization. Static testing involves reviewing the code, requirements, and design documents without executing the code. It is effective in finding certain types of bugs that do not require the code to be run. One common example of such a bug is variables that are declared but not…

Static Testing

Question

Which of the following types of bug are more likely to be found by static testing then by dynamic testing?

Options

  • AA sub-system that does not perform the intended functionality
  • BVariables that were declared in the code without initialization
  • CFunctions that take much longer time to complete than expected
  • DCrashes of the application

How the community answered

(27 responses)
  • A
    4% (1)
  • B
    85% (23)
  • C
    4% (1)
  • D
    7% (2)

Explanation

Static testing involves reviewing the code, requirements, and design documents without executing the code. It is effective in finding certain types of bugs that do not require the code to be run. One common example of such a bug is variables that are declared but not initialized. These issues can be detected through code inspections or static analysis tools, which can identify uninitialized variables, missing declarations, and other coding standard violations without the need to execute the code.

Topics

#static testing#dynamic testing#uninitialized variables#code analysis

Community Discussion

No community discussion yet for this question.

Full CTFL_SYLL_4.0 Practice