Question: QUESTION 3 ( Logic Coverage & FSM ) Part B Answer the following questions based on the code fragment given below: int foo ( int

QUESTION 3(Logic Coverage & FSM)
Part B
Answer the following questions based on the code fragment given below:
int foo (int a, int b, int c, int d){
float e;
if (a ==0){
return 0;
}
int x =5;
if ((a==b) && (c == d)){
x=1;
}
return x;
}
Identify the Test Set for 100%,
i. Predicate Coverage
ii. Clause Coverage
iii. Combinatorial Coverage
iv. General Active Clause Coverage

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!