PDF File

Latest ASTQB CTAL Practice Questions BY Cobb

Question 1

Select the correct statement related to test techniques;

I . Software program should be running to perform dynamic analysis

II . Software program should be running to perform static analysis III.

Control flow analysis is part of dynamic analysis

IV . Data flow analysis is part of static analysis

  • A. I, II true. III, IV false
  • B. I, III true. II, IV false
  • C. I, IV true. II, III false
  • D. I true. II, III, IV false
Question 2

Use the following code;

x=1

y=2

z=3

If (x = = 2)

{

print "Hi There !";

}

else

{

print "Good bye";

}

z=x + y;

if (z ==4)

{

print "Welcome Back!";

}

else

{

print "Thank you";

}

How many test cases, at minimum, are required for statement coverage?

  • A. 4
  • B. 2
  • C. 3
  • D. 8