Valid ISTQB-CTFL Dumps shared by ExamDiscuss.com for Helping Passing ISTQB-CTFL Exam! ExamDiscuss.com now offer the newest ISTQB-CTFL exam dumps, the ExamDiscuss.com ISTQB-CTFL exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com ISTQB-CTFL dumps with Test Engine here:
The following requirement is given "Set X to be the sum of Y and Z". All the following four implementations have bugs. Which one of the following bugs can be caught by Static Analysis?
Correct Answer: A
Static analysis is a technique that analyzes the source code or other software artifacts without executing them. Static analysis can detect defects such as syntax errors, coding standards violations, potential security vulnerabilities, or logical flaws. Static analysis can catch the bug in the first implementation, as it contains two syntax errors: the variable y is declared twice, and the assignment statement X = y=z is invalid. Static analysis cannot catch the bugs in the other three implementations, as they are logical errors that do not violate any syntax rules, but produce incorrect results. Verified References: [A Study Guide to the ISTQB Foundation Level 2018 Syllabus - Springer], Chapter 3, page 25-26.