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

For the following program P written in pseudo-code, given the test set T :
T={t1=4,2>,t2=90,0>,t3=56,1>}
a) What is the statement coverage for T ?
b) What is the decision coverage for T ?
c) What is the condition coverage for T?
Program P
integer x,Y,Z;
input (X, Y) ;
// Check for legal inputs.
if AND x100 AND AND Y4
{
Z=-1;
if
For the following program P written in pseudo -

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!