ISTQB Certified Tester Foundation Level (CTFL v4.0) ISTQB-CTFL Question # 95 Topic 10 Discussion

ISTQB Certified Tester Foundation Level (CTFL v4.0) ISTQB-CTFL Question # 95 Topic 10 Discussion

ISTQB-CTFL Exam Topic 10 Question 95 Discussion:
Question #: 95
Topic #: 10

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?


A.

int x = 1.

int y = 2.

int y = 3.

X = y=z;


B.

int x = 1.

int y = 2.

int z = 3.

X = z-y


C.

int x = 1.

Int y = 2.

Int z = 3.

Z = x +y


D.

int y = 2

Int z = 3.

Y = z+y


Get Premium ISTQB-CTFL Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.