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 5 Question 2 Discussion

Posted by Bulah on Mar 04, 2024 at 05:05 AM

Consider the following specification:

If you are flying with an economy ticket, there is a possibility that you may get upgraded to business class, especially if you hold a gold card in the airline's frequent flier program. If you don't hold a gold card, there is a possibility that you will get 'bumped' off the flight if it is full when you check in late.

This is shown in the control flow graph below. Note that each box (i.e., statement, decision) has been numbered.

Three tests have been run:

Test 1: Gold card holder who gets upgraded to business class

Test 2: Non-gold card holder who stays in economy

Test 3: A person who is bumped from the flight

What is the level of decision coverage achieved by these three tests?

Suggested Answer: B

The control flow graph provided illustrates the decision points for an airline's upgrade and boarding process. Decision coverage is a measure of the percentage of decision points executed during testing:

Test 1 covers the decision points: Gold card? (Yes) and Business full? (No).

Test 2 covers: Gold card? (No) and Economy full? (No).

Test 3 covers the decision that leads to being bumped from the flight, which is Economy full? (Yes) and Business full? (Yes).

From the given tests, the decision points for Gold card? (No) and Business full? (No) are not tested, leaving us with 4 out of 6 decision points covered, which is approximately 67% decision coverage.


Get Premium CTAL-TTA Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
22 comments · newest first
TA
Talia 10 months ago
I agree, 75% seems right!
EA
Earleen 11 months ago
Definitely 67%, based on the tests.
NY
Nydia 11 months ago
Wait, how do we know it's not 60%?
OR
Ora 11 months ago
Nah, I believe it's 80%.
KR
Krissy 11 months ago
I think it's 75% coverage.
MA
Matthew 12 months ago
I feel like we might be missing some coverage since not all paths are tested. Maybe 67% sounds more accurate?
BE
Benedict 12 months ago
If I remember correctly, each decision should be covered by at least one test case. I wonder if 75% is the right answer based on the tests we have.
NI
Nickolas 12 months ago
I think the tests cover different scenarios, but I can't recall if they hit all the decision points. It feels like we practiced something similar.
OZ
Ozell 1 year ago
I remember we discussed decision coverage in class, but I'm not entirely sure how to calculate it based on the tests provided.
LE
Lenna 1 year ago
The control flow graph is a bit complex, but I think I can break it down step-by-step. I'll make sure to consider all the possible paths and scenarios to determine the level of decision coverage.
JO
Johnetta 1 year ago
This seems straightforward enough. I'll go through the control flow graph, identify the decisions, and then check which ones are covered by the test cases. I'm confident I can get the right answer.
SH
Sheron 1 year ago
I'm a bit confused by the concept of decision coverage. Can someone explain it to me in simple terms? I want to make sure I understand it before I try to solve this.
PE
Pearline 1 year ago
Okay, let's see. The key is to identify the number of decisions in the control flow graph and then check which ones are covered by the three test cases. I think I can work this out.
LE
Lezlie 1 year ago
Hmm, this looks like a tricky one. I'll need to carefully analyze the control flow graph and the test cases to determine the level of decision coverage.
CO
Cora 1 year ago
This seems like a tricky situation. I'll need to carefully review the Joint Commission standards to determine the right approach.
MA
Malcolm 1 year ago
Okay, I think I've got a strategy for this. The business practitioner should meet with the Business Owner and Architect to get their input and help resolve the conflict.
RO
Rory 1 year ago
Hmm, this is a tricky one. I'm not sure if giving everyone an equal budget is the best approach, since people might have different development needs. Maybe the outside training option would be better?
CE
Celestina 1 year ago
I feel like I've seen a question like this, and I leaned towards the Next factor, but I'd want to double-check before committing.
MY
My 2 years ago
I think D) 80% makes sense. Test 1 covers more decisions and all three tests together cover 80% of the decisions.
JU
Justa 2 years ago
That's true. Test 1 covers more decisions than the other tests. Maybe the answer is actually D) 80%.
CO
Corazon 2 years ago
I agree with that. But isn't it possible that test 1 covers more decisions than the other tests?
JU
Justa 2 years ago
I think the answer is B) 67% because two out of three tests branch each decision point.
0/2000 characters

Save Cancel