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…
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)- A4% (1)
- B85% (23)
- C4% (1)
- D7% (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
Community Discussion
No community discussion yet for this question.