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 6 Question 28 Discussion

Posted by Sheridan on Dec 05, 2024 at 06:07 PM

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: C

Stress testing is the most appropriate method for identifying weak areas in code that may cause performance issues, especially under conditions of extreme load or stress. This type of testing deliberately pushes the system beyond its normal operational capacity to see how it behaves under stress, which can help reveal vulnerabilities in error recovery and transactional integrity that are not apparent under normal conditions. Stress testing can provide early insights into potential failure points and help prioritize areas for improvement before full-scale deployment.


Get Premium CTAL-TTA Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
37 comments · newest first
FL
Floyd 10 months ago
Definitely 67%, those tests miss some scenarios.
CA
Carman 11 months ago
Test 1 and 3 cover key decisions, but not all.
BR
Brittani 11 months ago
Wait, are we sure about the coverage?
AL
Alishia 11 months ago
That seems high, I’d guess 75%.
AD
Adelle 11 months ago
I think the decision coverage is 80%.
WA
Wayne 12 months ago
I recall that each decision needs to be tested at least once for full coverage. I’m leaning towards 80% since it seems like we hit most of the key decisions with those tests.
SH
Shakira 12 months ago
I'm a bit confused about how being a gold card holder affects the decision points. Did we cover how many decisions are actually made in this situation?
ER
Erinn 12 months ago
I think we practiced a similar question where we had to determine coverage based on different test cases. I feel like 75% might be the right answer here.
AL
Alline 1 year ago
I remember we talked about decision coverage in class, but I'm not entirely sure how to calculate it for this scenario.
ST
Stephania 1 year ago
This is a tricky one, but I think I can handle it. I'll need to really focus on understanding the control flow and how the different test cases exercise the various decision points. Hopefully, I can work through this systematically and arrive at the correct answer.
PA
Patrick 1 year ago
Okay, I think I've got this. The key is to identify the decision points in the control flow graph and then determine which ones are covered by the three test cases. I'll make sure to carefully consider each test case and how it exercises the different paths through the graph.
AL
Alton 1 year ago
Hmm, I'm a bit unsure about how to approach this. The control flow graph has a few different decision points, and I'll need to make sure I understand how they relate to the test cases. I may need to sketch this out on paper to visualize it better.
TO
Tora 1 year ago
This looks like a straightforward decision coverage question. I'll need to carefully trace the control flow graph and determine how many decisions are covered by the three test cases.
NI
Nikita 1 year ago
This question is a real turbulence, but I'm confident the answer is C) 75%. After all, I've got a frequent flyer card, and I'm always ready to get bumped for a free upgrade!
TO
Tonette 1 year ago
Ah, the joys of air travel! Bumped from a flight - that's a classic. As for the question, I'm going with D) 80%. Why? Because that's the number of flights I've been bumped from in the last year. Just kidding, I think the answer is C) 75%.
QU
Quentin 1 year ago
↳ replying to Tonette
I'm leaning towards A) 60% as the level of decision coverage achieved.
AR
Arleen 1 year ago
↳ replying to Tonette
Well, I believe it's D) 80% based on the information provided.
GA
Garry 1 year ago
↳ replying to Tonette
I'm not so sure, I think it might be B) 67%.
RI
Rikki 1 year ago
↳ replying to Tonette
I agree with you, I also think the answer is C) 75%.
MA
Markus 1 year ago
Hold on, I'm just trying to wrap my head around this control flow graph. It looks like a choose-your-own-adventure book from the 80s! Anyway, I think B) 67% is the right answer.
CL
Clorinda 1 year ago
↳ replying to Markus
Yeah, it seems like the three tests cover a good portion of the decision points.
PE
Pearlene 1 year ago
↳ replying to Markus
I think B) 67% makes sense based on the tests described.
YU
Yuriko 1 year ago
↳ replying to Markus
I agree, the control flow graph can be a bit confusing at first.
RA
Rasheeda 1 year ago
Hmm, I'm not so sure about that. The question says there are 3 tests, but it doesn't specify if they cover all the possible outcomes of the decisions. I'm leaning towards D) 80%.
VA
Vallie 1 year ago
↳ replying to Rasheeda
Yeah, I agree. The tests seem to cover all scenarios, so D) 80% makes sense.
CO
Corinne 1 year ago
↳ replying to Rasheeda
I think the tests cover all possible outcomes, so I would go with D) 80%.
VI
Vivan 1 year ago
↳ replying to Rasheeda
Test 1 covers gold card holder getting upgraded, Test 2 covers non-gold card holder staying in economy, Test 3 covers person getting bumped.
CE
Ceola 2 years ago
I think the answer is C) 75%. The control flow graph shows 4 decision points, and the 3 tests cover 3 of them, which gives 75% decision coverage.
KE
Keneth 1 year ago
↳ replying to Ceola
Exactly, C) 75% is the most accurate based on the coverage achieved by the tests.
VE
Vesta 1 year ago
↳ replying to Ceola
That makes sense, 75% decision coverage seems correct.
JE
Jenise 1 year ago
↳ replying to Ceola
I agree, the answer is C) 75%.
SH
Shakira 1 year ago
↳ replying to Ceola
Right, those percentages would be too low based on the information given.
TU
Tula 1 year ago
↳ replying to Ceola
That makes sense, so it's not 60% or 67% then.
VE
Vesta 1 year ago
↳ replying to Ceola
I agree, the answer is C) 75% because the 3 tests cover 3 out of 4 decision points.
ER
Ernie 2 years ago
I'm not sure, but I think it might be 75%.
DE
Delpha 2 years ago
I agree with Ming, the tests cover 67% of the decisions.
MI
Ming 2 years ago
I think the level of decision coverage achieved is 67%.
0/2000 characters

Save Cancel