Which additional set of test cases is needed to achieve both 100% statement coverage and 100% decision coverage? 3 credits [K3]
Suggested Answer: C
Get Premium ATTA Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
27 comments · newest first
NO
Nobuko
10 months ago
100% coverage sounds too good to be true...
MA
Mattie
11 months ago
Wait, how can we achieve both with just one set of tests?
PA
Paris
11 months ago
Not sure about that, I feel like Option D has more coverage.
CH
Chauncey
11 months ago
I think Option B is the best choice!
AL
Alethea
11 months ago
We need to cover all branches for decision coverage.
TH
Theron
12 months ago
I feel like option A might be the right choice, but I can't quite remember why. I need to think about the conditions we covered in our notes.
DO
Domonique
12 months ago
I'm a bit confused about how to determine if we have 100% coverage. I hope I can remember the criteria we went over.
AN
Andra
12 months ago
I think we practiced a similar question in class, and I recall that we needed to ensure all branches were tested. Maybe it's option C?
AS
Ashanti
1 year ago
I remember we discussed the difference between statement and decision coverage, but I'm not sure which test cases would cover both fully.
AZ
Azalee
1 year ago
This is a good opportunity to demonstrate my understanding of testing principles. Let me think through the different options carefully.
SA
Salena
1 year ago
I'm feeling pretty confident about this one. Statement and decision coverage are core testing concepts, so I should be able to figure out the right additional set of test cases.
BO
Boris
1 year ago
Okay, I think I've got a strategy for this. I'll need to identify the key decisions in the code and make sure I have test cases that exercise both the true and false branches.
CY
Cyndy
1 year ago
Hmm, I'm a bit unsure about this one. I'll need to review my notes on statement and decision coverage to make sure I understand the requirements.
CL
Clay
1 year ago
This looks like a tricky question. I'll need to carefully consider the different coverage criteria and how they relate to the test cases.
RE
Reita
1 year ago
Option C seems like the safest bet. But who knows, the exam gods might have something else in mind for us.
GA
Garry
1 year ago
Let's just hope for the best and pick Option C.
BE
Bettyann
1 year ago
Hmm, I'm not sure. Option D could also work.
EV
Eveline
1 year ago
I'm leaning towards Option B, actually.
AR
Arleen
1 year ago
I think Option C is the way to go.
RE
Renea
1 year ago
Oh man, these questions make my head spin. Maybe I should have studied more cat videos instead of testing techniques.
ME
Melda
1 year ago
Hmm, I'm leaning towards Option D. It just feels right, you know? But I could be way off base here.
BE
Bette
1 year ago
Yes, Option A looks like the best choice for this scenario.
TI
Tijuana
1 year ago
I think Option B might be the way to go, but I'm not entirely sure. This coverage stuff can be tricky.
RO
Rozella
1 year ago
I agree, Option B is the most likely option to achieve both 100% statement and decision coverage.
KE
Kenneth
1 year ago
Option B covers both statement and decision coverage, so that seems like the best choice.
MA
Marquetta
2 years ago
I agree. Option A seems like it could help achieve both 100% statement and decision coverage.
BE
Bette
2 years ago
I think we need to consider both statement and decision coverage for this question.