Question: S oftware Maintenance PLEASE NOTE THAT THIS ASSIGNMENT IS 2 PAGES ONLY AND WITH A TOTAL OF 10 POINTS SUBMISSION IS ONLY ACCEPTED THROUGH THE
PLEASE NOTE THAT THIS ASSIGNMENT IS 2 PAGES ONLY AND WITH A TOTAL OF 10 POINTS SUBMISSION IS ONLY ACCEPTED THROUGH THE EDUGATE SYSTEM Based on the code provided below, solve the following questions: 1 public String Compute(int[] marks) int size-marks.length-1: 4 int passe, fail... sumpass-o, sumail- int 1-0 while(icsire) if(marks[1]>-50) pass. SUPasses else fails sumFail. 16 12 1 19 20 22) 1 return "Average of vass-- +(sumpass/pass). Average of falls="(sunfal1/fa11). Question (1): Draw Program Dependency Graph (PDG) for the [above shown program. [3 marks Question (2): Find Program Slice for the above shown program under the slice criterion using Backward static slicing [3 marks Question (3): Find Dynamic Program Slice for the above shown program under the slice criterion
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
