Question: Consider the following code snippet. def statement _ coverage ( a: bool, b: bool, c: bool ) : STMT 1 if ( ( a or
Consider the following code snippet.
def statementcoverage a: bool, b: bool, c: bool:
STMT
if a or b and not and c:
STMT
else:
STMT
if a and c and not a or b and c:
STMT
elif not a and c or not not b:
STMT
if b and not c:
STMT
a In the above code snippet, if input to statementcoverage is "True, True, False", then what is the statement coverage?
b List down which statements will be covered, and which statements will not be covered?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
