1. What is MCDC ?
Modified Condition/Decision Coverage – Every point of entry and exit in the program has been invoked at least once, every condition in a decision in the program has taken all possible outcomes at least once, every decision in the program has taken all possible outcomes at least once, and each condition in a decision has been shown to independently affect.
2. What is Condition?
A Boolean expression containing no Boolean operators.
3. What is Decision?
A Boolean expression composed of conditions and zero or more Boolean operators. A decision without a Boolean operator is a condition. If a condition appears more than once in a decision, each occurrence is a distinct condition.
MCDC Examples :
1. MCDC for A||(B&&C)
2. MCDC for A&&(B||C)
3. MCDC for (A||B)&&(C||D)
4. MCDC for (A&&B)||(C&&D)
5. MCDC for (A&&B)||(C||D)
6. MCDC for (A&&B)&&(C||D)
7. MCDC for ((A&&B)||((!B)&&C) )
Please install Flipkart by this link : http://affiliate.flipkart.com/install-app?affid=shivaa