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 CTAL-TTA Exam - 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:

0/2000 characters
Cristal
3 months ago
Totally agree, MC/DC is essential for those multiple conditions!
upvoted 0 times
...
Arleen
3 months ago
I think decision coverage could work too, but not as thorough.
upvoted 0 times
...
Cyndy
3 months ago
Statement coverage won't cut it for safety-critical systems.
upvoted 0 times
...
Dorothea
4 months ago
Surprised they didn't mention path coverage! Seems important.
upvoted 0 times
...
Pilar
4 months ago
MC/DC coverage is definitely the way to go for this.
upvoted 0 times
...
Elina
4 months ago
I feel like API coverage is more about testing the interface rather than the internal logic, so it might not be the best choice here.
upvoted 0 times
...
Starr
4 months ago
I practiced a similar question where we had to choose between different coverage types, and I think statement coverage was the least effective for complex decisions.
upvoted 0 times
...
Launa
4 months ago
I'm not entirely sure, but I think decision coverage might be sufficient since it covers multiple conditions, right?
upvoted 0 times
...
Lezlie
5 months ago
I remember studying that MC/DC coverage is really important for systems where failure can lead to major incidents, especially in avionics.
upvoted 0 times
...
Germaine
5 months ago
I'm leaning towards MC/DC coverage. With the safety-critical nature of the application and the complex decision logic, that seems like the most thorough and appropriate testing approach.
upvoted 0 times
...
Jeffrey
5 months ago
Hmm, I'm not sure. API coverage could be a good option too, since we need to ensure the sensor management component is working properly with the rest of the system.
upvoted 0 times
...
Golda
5 months ago
Okay, let's see. The code has no loops but does have multiple conditions in the decisions. That sounds like MC/DC coverage might be the best approach here.
upvoted 0 times
...
Chi
5 months ago
This seems like a tricky one. I'll need to think carefully about the different testing options and how they apply to the given scenario.
upvoted 0 times
...
Julianna
10 months ago
I'm just glad I don't have to write this code. Choosing the right testing strategy is like playing chess with a blindfold on.
upvoted 0 times
...
Sarah
10 months 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
Alba
9 months ago
API coverage is more suitable for web applications, not for embedded systems like this.
upvoted 0 times
...
Alba
9 months ago
MC/DC coverage is definitely the way to go for this type of software.
upvoted 0 times
...
...
Helene
10 months 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
10 months 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
Felicidad
9 months ago
A: Yeah, statement coverage might miss some important conditions in the code.
upvoted 0 times
...
Kayleigh
9 months ago
B: I agree, MC/DC coverage is more thorough than statement coverage.
upvoted 0 times
...
Josphine
9 months ago
A: I think MC/DC coverage would be the best option for this software.
upvoted 0 times
...
...
Harley
10 months ago
I'm not sure, I think Decision coverage could also be a good choice.
upvoted 0 times
...
Jolanda
10 months 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
10 months 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
Cassi
9 months ago
Statement coverage may not be sufficient for this software, we need to ensure every decision is thoroughly tested.
upvoted 0 times
...
Melvin
9 months ago
I agree, decision coverage is essential for testing software with multiple conditions.
upvoted 0 times
...
Kimbery
9 months ago
MC/DC coverage is crucial for ensuring the reliability of the software in critical systems.
upvoted 0 times
...
...
Gearldine
10 months ago
I agree with Kandis, MC/DC coverage is the most thorough option.
upvoted 0 times
...
Kandis
10 months ago
I think the best option would be MC/DC coverage.
upvoted 0 times
...

Save Cancel