Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

iSQI Exam CTFL_Syll2018 Topic 5 Question 90 Discussion

Actual exam question for iSQI's CTFL_Syll2018 exam
Question #: 90
Topic #: 5
[All CTFL_Syll2018 Questions]

The flow graph below shows the logic of a program for which 100% statement coverage and 100% decision coverage is required on exit from component testing. [K4]

The following test cases have been run:

Test Case 1 covering path P,Q,R,U

Test Case 2 covering path P,Q,S,V

Test Case 3 covering path P,Q,S,W,X

Test case 4 covering path P,Q,S,W,Y

Refer to the exhibit

Show Suggested Answer Hide Answer
Suggested Answer: C

According to the user story checklist, the user story must contain the reason for the need, which is usually expressed by using the word ''so that'' or ''because''. For example, the user story could be rewritten as:

User Story US2018 As a bank account customer, I would like to transfer money from one account to another using the mobile banking application by using the drag and drop feature,so that I can easily manage my finances.

This way, the user story provides a clear value proposition and a justification for the need. The reason also helps to define the scope and priority of the user story, as well as to verify the acceptance criteria.


Contribute your Thoughts:

Karrie
1 months ago
I bet the developer who wrote this code was just having a bit of fun, throwing in those extra paths to trip us up. Time to put on my detective hat and crack this case!
upvoted 0 times
Coletta
1 days ago
A) Statement coverage is 100%; decision coverage is 100%
upvoted 0 times
...
...
Roslyn
1 months ago
Ah, the age-old debate of statement vs. decision coverage. It's like trying to decide between wearing socks or sandals - both have their merits, but ultimately, you just need to cover your bases, am I right?
upvoted 0 times
Della
2 days ago
B) Statement coverage is less than 100%; decision coverage is 100%.
upvoted 0 times
...
Christene
11 days ago
A) Statement coverage is 100%; decision coverage is 100%
upvoted 0 times
...
...
Edward
1 months ago
This is like a game of 'Guess the Path'! I'm feeling lucky. I'll go with A and hope for the best.
upvoted 0 times
Cecily
3 days ago
Fingers crossed for option A!
upvoted 0 times
...
Tamra
17 days ago
I agree, let's hope for the best!
upvoted 0 times
...
Gwen
19 days ago
I think A) Statement coverage is 100%; decision coverage is 100% is the correct answer.
upvoted 0 times
...
...
Donte
2 months ago
Hold on, let me draw this out on a napkin. Okay, I think I've got it. The answer has to be C, right? No, wait, maybe B... Ugh, decisions, decisions!
upvoted 0 times
Anissa
5 days ago
D) Statement coverage and decision coverage are both less than 100%
upvoted 0 times
...
Veronique
13 days ago
C) Statement coverage is 100%; decision coverage is less than 100%
upvoted 0 times
...
Almeta
14 days ago
B) Statement coverage is less than 100%; decision coverage is 100%.
upvoted 0 times
...
Tom
15 days ago
A) Statement coverage is 100%; decision coverage is 100%
upvoted 0 times
...
...
Edmond
2 months ago
Aha! This is where that flow chart comes in handy. Let me think this through carefully. I'd say option B is the way to go.
upvoted 0 times
...
Latosha
2 months ago
I'm not sure, but I think it might be C) because decision coverage is less than 100%.
upvoted 0 times
...
Tayna
2 months ago
I agree with Kirby, because all paths are covered for both statements and decisions.
upvoted 0 times
...
Kris
2 months ago
Hmm, looks like we have a tricky one here. 100% statement and decision coverage, but the test cases don't seem to cover all the paths. I'm going with C, just to be safe.
upvoted 0 times
Joesph
22 days ago
Let's hope for the best outcome with that choice.
upvoted 0 times
...
Dino
1 months ago
I agree, option C seems like the safest choice in this scenario.
upvoted 0 times
...
Melita
1 months ago
I agree with you, I also think A is the right choice.
upvoted 0 times
...
Bettina
1 months ago
Yeah, it's tricky to achieve 100% coverage with limited test cases.
upvoted 0 times
...
Aretha
1 months ago
I think the test cases missed some paths.
upvoted 0 times
...
Ashlee
1 months ago
I think A is the correct answer.
upvoted 0 times
...
...
Kirby
3 months ago
I think the answer is A)
upvoted 0 times
...

Save Cancel