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 17 Discussion

Posted by Carylon on Jul 17, 2024 at 02:36 PM

Consider the following control flow graph:

The control flow represents a software component of a car navigation system. Within the project the maximum cyclomatic complexity to be allowed is set at 5.

Which of the following statements is correct?

Suggested Answer: C

Static analysis is the best technique for identifying the root causes of issues in a legacy system where small functional enhancements take disproportionately long to implement. This technique involves examining the code without executing it to detect potential vulnerabilities, coding errors, and complexities. Static analysis can highlight problematic code segments and inefficient coding practices that may contribute to the increased time required for implementing changes, thereby assisting in addressing these systemic issues efficiently.


Get Premium CTAL-TTA Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
29 comments · newest first
LO
Lorrine 10 months ago
I think we should double-check those calculations.
BR
Breana 11 months ago
Complexity of 4 means no defect too, right?
EA
Earleen 11 months ago
Wait, what if it was actually 6? That sounds off.
JU
Justa 11 months ago
I agree, 3 is below the max limit.
TA
Tasia 11 months ago
Cyclomatic complexity is 3, so no defect!
TA
Tamar 12 months ago
I’m not completely confident, but I thought if it’s exactly 5, it might still be acceptable, right?
JA
Jarod 12 months ago
I practiced similar questions, and I feel like if it’s calculated at 6, that definitely means a defect needs to be reported.
MA
Matthew 12 months ago
I’m a bit unsure, but I think if the complexity is below the maximum of 5, then no defect should be reported.
FR
Francesco 1 year ago
I remember we discussed cyclomatic complexity in class, and I think it’s about counting the number of linearly independent paths.
MI
Mireya 1 year ago
I've got it! The cyclomatic complexity is 5, not 6. So the correct answer is option C - no defect needs to be reported.
XU
Xuan 1 year ago
Wait, I'm a bit confused. I thought the maximum allowed cyclomatic complexity was 5, but the question says the component has a complexity of 6. I better double-check my work.
MA
Maryann 1 year ago
Okay, let me think this through step-by-step. I see 6 decision points, so the cyclomatic complexity should be 6. That means option D is the correct answer.
TA
Tatum 1 year ago
Hmm, this looks tricky. I'll need to carefully count the number of decision points in the control flow graph to determine the cyclomatic complexity.
JO
Joye 1 year ago
I'm leaning towards option A to restore the previous version. It seems the most direct way to roll back the app without having to go through a full uninstall/reinstall process.
AM
Amber 1 year ago
I'm not entirely sure about this one. I'll have to review the material on column visualizations and sorting again before I can decide on the best approach.
BE
Bette 1 year ago
Okay, let's think this through. Disconnecting the server is probably the quickest way to stop the immediate threat, but I'd also want to analyze the source and figure out how the attacker got in so we can prevent future incidents.
DA
Daniela 1 year ago
Okay, let me get this straight - the component is too complex, but they're saying it's not a defect? I think the car navigation system just wants to take a few wrong turns, that's all. D is the right choice.
CA
Casie 1 year ago
↳ replying to Daniela
Yeah, the cyclomatic complexity is over the limit, so a defect should be reported.
VI
Vicki 1 year ago
↳ replying to Daniela
I agree, D is the correct choice.
AP
Apolonia 2 years ago
But the maximum allowed cyclomatic complexity is 5, so D seems to be the right choice.
LY
Lynelle 2 years ago
Haha, who's the genius that thought a complexity of 5 was acceptable when the limit is 5? Way to push the boundaries there! Definitely going with D.
VI
Vincent 1 year ago
↳ replying to Lynelle
Definitely going with D on this one.
AF
Afton 1 year ago
↳ replying to Lynelle
Exactly, it's important to stick to the limits set for a reason.
VE
Vernice 1 year ago
↳ replying to Lynelle
Yeah, it's like they were asking for a defect to be reported.
ER
Erick 1 year ago
↳ replying to Lynelle
I agree, setting the limit at 5 and then having a complexity of 6 is definitely a mistake.
BR
Brendan 2 years ago
Hmm, I'm not sure why anyone would think this is not a defect. If the limit is 5 and the component's complexity is 6, that's just math, right? D is the only logical answer.
LE
Leota 2 years ago
Wait, so the maximum allowed cyclomatic complexity is 5, but the component's complexity is 6? Looks like a clear defect to me. Option D is the way to go here.
HU
Huey 2 years ago
I disagree, I believe the correct answer is A.
AP
Apolonia 2 years ago
I think the correct answer is D.
0/2000 characters

Save Cancel