Question: Software Maintenance PLEASE NOTE THAT THIS ASSIGNMENT IS 2 PAGES ONLY AND WITH A TOTAL OF 10 POINTS SUBMISSION IS ONLY ACCEPTED THROUGH THE EDUGATE

Software Maintenance
Software Maintenance PLEASE NOTE THAT THIS ASSIGNMENT IS 2 PAGES ONLY AND

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; int passe, fail-e, sumPasse, sumfail-o; int i; while(icsize) if(marks[i]>-50) pass++; sumPass++; 20 3 4 5 6 else 9 10 11 12 13 14 15 16 12 18 19 fail++; sumFail++: 20 21 22) return "Average of Pass=" +(sumpass/pass)+" Average of fails="+(sumFail/fail); Question (1): Draw Program Dependency Graph (PDG) for the (above shown program. ogram. [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 [4 marks]

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