nerdexam
ISTQB

ISTQB-CTFL · Question #73

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?

Sign in or unlock ISTQB-CTFL to reveal the answer and full explanation for question #73. The question stem and answer options stay visible for context.

Static Testing

Question

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?

Options

  • Aint x = 1.
  • Bint x = 1.
  • Cint x = 1.
  • Dint y = 2

Unlock ISTQB-CTFL to see the answer

You've previewed enough free ISTQB-CTFL questions. Unlock ISTQB-CTFL for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#static analysis#code defects#type checking#automated analysis
Full ISTQB-CTFL Practice