Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

ISTQB Exam CTAL-TTA Topic 6 Question 19 Discussion

Actual exam question for ISTQB's CTAL-TTA exam
Question #: 19
Topic #: 6
[All CTAL-TTA Questions]

You are testing software that will be used in nuclear power plants. The particular piece of code you are testing has been classified as SIL 2. The following section of code falls under this classification:

If ((A > B) or (C > D)) and (E = F) then print A

Endif

Which of the following sets of test data would supply the minimum tests needed to achieve the "highly recommended" level of coverage?

Show Suggested Answer Hide Answer
Suggested Answer: A

In software testing, especially within contexts like nuclear power plants, achieving a 'highly recommended' level of coverage often requires strategic test case selection to verify all logical conditions are accurately assessed. For the condition 'If ((A > B) or (C > D)) and (E = F) then print A', the critical tests involve evaluating the boolean logic.

Test Case Analysis: Test Set 1 is selected because it should ideally include scenarios where:

Both conditions (A > B) and (C > D) are true, and (E = F) is true to ensure the print statement executes.

One of the conditions (A > B) or (C > D) is false while the other is true, combined with (E = F) being true, to test the OR logic.

Both conditions (A > B) and (C > D) are false with (E = F) being true, which should not trigger the print statement, testing the AND logic.

Condition where (E != F), irrespective of other conditions, to confirm that the print statement does not execute.


Contribute your Thoughts:

Dorothy
2 months ago
Set 2 covers all the conditions in the code snippet, ensuring thorough testing.
upvoted 0 times
...
Xenia
3 months ago
Why do you think Set 2 is the correct answer?
upvoted 0 times
...
Dorothy
3 months ago
I disagree, I believe the answer is Set 2.
upvoted 0 times
...
Jamey
3 months ago
Hmm, wonder if the developers had a little too much caffeine when they wrote this code. Hope the testers are wide awake!
upvoted 0 times
Elza
3 months ago
B) Set 3
upvoted 0 times
...
Germaine
3 months ago
A) Set 1
upvoted 0 times
...
...
Xenia
3 months ago
I think the answer is Set 3.
upvoted 0 times
...
Myra
4 months ago
Set 2 seems like the best choice to cover the minimum tests. I mean, who wants to be responsible for a meltdown, right?
upvoted 0 times
Sophia
2 months ago
Sherman: Exactly, safety first when it comes to testing this kind of software.
upvoted 0 times
...
Sherman
2 months ago
Definitely, we can't take any chances with code that's used in nuclear power plants.
upvoted 0 times
...
Dominga
3 months ago
I agree, Set 2 looks like the safest option for testing.
upvoted 0 times
...
...
Levi
4 months ago
Looks like we need to test the edge cases for this SIL 2 code. Can't afford any mistakes in a nuclear power plant!
upvoted 0 times
Mickie
3 months ago
Let's make sure we test thoroughly before implementing this code.
upvoted 0 times
...
Holley
3 months ago
I think we should go with Set 3 for the tests, it covers the edge cases well.
upvoted 0 times
...
Alton
3 months ago
I agree, safety is the top priority when it comes to nuclear power plants.
upvoted 0 times
...
Casandra
3 months ago
We definitely need to cover all possible scenarios with this code.
upvoted 0 times
...
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77