Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

ASTQB Exam CTAL Topic 3 Question 19 Discussion

Actual exam question for ASTQB's CTAL exam
Question #: 19
Topic #: 3
[All CTAL Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Timothy
7 days ago
The loadbalancing mode is definitely specified at the virtual server level, so I'm going to choose option C.
upvoted 0 times
...
Lucy
12 days ago
I think the centralized nature results in inter-application dependencies, making it tough to scale independently. Sounds familiar from our case studies.
upvoted 0 times
...
Reuben
12 days ago
This is a tricky one. I'm not sure if any of the options are quite right. Maybe we need to assign the same attribute value for the CUSTOMER_CONTACT_ID field instead? That could be a way to ensure each customer only sees their own orders. I'll have to double-check option D.
upvoted 0 times
...
Jestine
19 days ago
Ah, I think I see the issue. The namespace prefixes in lines 5 and 8 don't match the variable names. Correcting those should do the trick.
upvoted 0 times
...

Save Cancel