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

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

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 [4 marks) i size) Instructions: - This is an individual assignment. Any two identical answers will be graded ZERO automatically. Assignments submitted after due date will NOT be accepted. Please submit your answer as a Word file

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!