Question: 1) Calculate the Statement Coverage for the below code using the below sets: (2 Marks) Read X Read Y Read Z Read B If (X>Y)
1) Calculate the Statement Coverage for the below code using the below sets: (2 Marks) Read X Read Y Read Z Read B If (X>Y) else Print "X is greater than Y" Z++ B++ Endif Print "Y is greater than X" Z-- B-- a) Setl: If X=4, Y = 1 Statement coverage = b) Set2: If X=1, Y=4 Statement coverage=
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
