Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions