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 CTAL Exam - Topic 1 Question 17 Discussion

Use the following code;x=1y=2z=3If (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 needed to test the path coverage?
B) 3
A) 2
C) 4
D) 1

ASTQB CTAL Exam - Topic 1 Question 17 Discussion

Actual exam question for ASTQB's CTAL exam
Question #: 17
Topic #: 1
[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 needed to test the path coverage?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Gerald
9 months ago
But what if there's an edge case we're missing?
upvoted 0 times
...
Audry
9 months ago
I agree, 3 is the minimum here.
upvoted 0 times
...
Tamra
9 months ago
Wait, are we sure about that? Seems like it could be 4.
upvoted 0 times
...
Karan
10 months ago
Definitely need at least 3 for full coverage!
upvoted 0 times
...
Marjory
10 months ago
I think 3 test cases should cover all paths.
upvoted 0 times
...
Peggie
10 months ago
This question seems straightforward. I think the answer is B - automatically adjusting thresholds as normal KPI values change over time.
upvoted 0 times
...
Ernie
10 months ago
Hmm, I'm a bit confused by the wording of the question. I'll need to re-read it a few times to make sure I understand the scenario fully before selecting an answer.
upvoted 0 times
...
Marica
10 months ago
Hmm, I'm a bit unsure about this one. I know we need to test the homogeneity of variance assumption, but I can't quite remember the specific syntax. Let me think this through...
upvoted 0 times
...
Margarita
10 months ago
Okay, let me see if I can break this down. The question is asking whether the ISCC function is used by the IVR-TServer in network mode. I'm guessing the key is understanding the role of the IVR-TServer and how it might interact with the ISCC function.
upvoted 0 times
...
Wilbert
10 months ago
Definitely C. Forward scheduling is all about minimizing the time between when an order is placed and when it's delivered, which reduces lead times.
upvoted 0 times
...
Valentin
10 months ago
Increasing the maxFileSize of the TAR segmentstore sounds familiar. I think we discussed it as a way to handle larger data volumes, but is it always effective for performance?
upvoted 0 times
...

Save Cancel