Question: For the following program P 1 written in pseudo - code, given the test set TX: T = { t 1 = < 4 ,

For the following program P1 written in pseudo-code, given the test set TX: T={t1=<4,2>,t2=<90,0>,t3=<56,1>}
a) What is the statement coverage of P1 for T^X?
b) What is the decision coverage of P1 for T^X?
c) What is the condition coverage of P1 for T^X?
d) Provide an adequate test set T^A with respect to statement coverage for P1.
e) Provide an adequate test set T^A with respect to decision coverage for P1.
Program P1

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 Programming Questions!