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

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

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?

Show Suggested Answer Hide Answer
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.


Contribute your Thoughts:

0/2000 characters
Lorrine
4 months ago
I think we should double-check those calculations.
upvoted 0 times
...
Breana
4 months ago
Complexity of 4 means no defect too, right?
upvoted 0 times
...
Earleen
4 months ago
Wait, what if it was actually 6? That sounds off.
upvoted 0 times
...
Justa
4 months ago
I agree, 3 is below the max limit.
upvoted 0 times
...
Tasia
5 months ago
Cyclomatic complexity is 3, so no defect!
upvoted 0 times
...
Tamar
5 months ago
I’m not completely confident, but I thought if it’s exactly 5, it might still be acceptable, right?
upvoted 0 times
...
Jarod
5 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.
upvoted 0 times
...
Matthew
5 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.
upvoted 0 times
...
Francesco
5 months ago
I remember we discussed cyclomatic complexity in class, and I think it’s about counting the number of linearly independent paths.
upvoted 0 times
...
Mireya
5 months 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.
upvoted 0 times
...
Xuan
5 months 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.
upvoted 0 times
...
Maryann
5 months 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.
upvoted 0 times
...
Tatum
6 months 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.
upvoted 0 times
...
Joye
6 months 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.
upvoted 0 times
...
Amber
6 months 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.
upvoted 0 times
...
Bette
6 months 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.
upvoted 0 times
...
Daniela
11 months 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.
upvoted 0 times
Casie
10 months ago
Yeah, the cyclomatic complexity is over the limit, so a defect should be reported.
upvoted 0 times
...
Vicki
10 months ago
I agree, D is the correct choice.
upvoted 0 times
...
...
Apolonia
11 months ago
But the maximum allowed cyclomatic complexity is 5, so D seems to be the right choice.
upvoted 0 times
...
Lynelle
11 months 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.
upvoted 0 times
Vincent
10 months ago
Definitely going with D on this one.
upvoted 0 times
...
Afton
10 months ago
Exactly, it's important to stick to the limits set for a reason.
upvoted 0 times
...
Vernice
10 months ago
Yeah, it's like they were asking for a defect to be reported.
upvoted 0 times
...
Erick
11 months ago
I agree, setting the limit at 5 and then having a complexity of 6 is definitely a mistake.
upvoted 0 times
...
...
Brendan
11 months 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.
upvoted 0 times
...
Leota
11 months 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.
upvoted 0 times
...
Huey
11 months ago
I disagree, I believe the correct answer is A.
upvoted 0 times
...
Apolonia
12 months ago
I think the correct answer is D.
upvoted 0 times
...

Save Cancel