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

ISTQB Exam CTAL-TTA Topic 3 Question 35 Discussion

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

A new reusable software component that handles sensor management has been developed. It will be used in manufacturing processes that work at SIL 2 and avionics systems where failure could lead to a "major" incident. The code contains no loops but does contain decisions with multiple conditions. Which of the following would be the BEST structure-based testing option for the new software?

Show Suggested Answer Hide Answer
Suggested Answer: A

Context of the Problem:

The software component handles sensor management.

It is used in manufacturing processes that work at SIL 2 and avionics systems.

Failure could lead to a 'major' incident.

The code contains decisions with multiple conditions and no loops.

Safety Integrity Level (SIL) 2:

SIL 2 indicates that the software must adhere to stringent safety standards.

Avionics systems also require high safety standards due to the potential consequences of failure.

Testing Options:

MC/DC (Modified Condition/Decision Coverage):

MC/DC is essential for high-integrity and safety-critical systems like avionics.

Ensures each condition in a decision has been shown to independently affect the outcome.

Required by standards such as DO-178C for avionics software at certain levels.

API Coverage:

Focuses on testing the interfaces between components.

Important but not sufficient alone for high-integrity, safety-critical systems.

Decision Coverage:

Ensures that each decision point (i.e., if statements) is evaluated as both true and false.

Less comprehensive than MC/DC for safety-critical applications.

Statement Coverage:

Ensures that each statement in the code has been executed at least once.

Basic level of coverage, insufficient for safety-critical systems like those at SIL 2.

Best Option:

Given the high safety requirements (SIL 2, major incident potential), MC/DC coverage is the best option. It provides a thorough level of testing needed to meet safety standards.


Contribute your Thoughts:

Sarah
1 days ago
API coverage? What is this, a web app? This is hardcore embedded stuff, folks. MC/DC is the only way to fly!
upvoted 0 times
...
Helene
2 days ago
I believe MC/DC coverage is the best option because it ensures every decision in the code is tested independently.
upvoted 0 times
...
Matt
7 days ago
Hmm, I'm not so sure. Statement coverage might be the simplest, but it won't give you the full picture. Tough call!
upvoted 0 times
...
Harley
9 days ago
I'm not sure, I think Decision coverage could also be a good choice.
upvoted 0 times
...
Jolanda
20 days ago
I'd say Decision coverage is the better choice here. Covering all the possible combinations of those multiple conditions is crucial.
upvoted 0 times
...
Luis
23 days ago
MC/DC coverage is definitely the way to go for this type of mission-critical software. Gotta make sure those decision points are rock solid!
upvoted 0 times
...
Gearldine
26 days ago
I agree with Kandis, MC/DC coverage is the most thorough option.
upvoted 0 times
...
Kandis
27 days ago
I think the best option would be MC/DC coverage.
upvoted 0 times
...

Save Cancel