I'm studying for ISTQB Technical Test Analyst and in one of the study guides, I came across the following:

 IF A>40 AND B<100 
  IF A=75 OR B=95
   C=A+3
  END IF
 ELSE
  IF A>10 AND B<240
   C=A+5
  END IF
 END IF

So my question is, what is number of conditions for MCDC (Modified condition/decision coverage) and MC (Multiple Condition) testing?

I was told the answer was MC=8 MCDC=6

However I made it MC=11 and MCDC=7

I've uploaded my rationale here (Question 6)

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.