Professional Documents
Culture Documents
package com.company;
import java.lang.* ;
import java.util.Scanner;
public class Main {
1- public static void main(String[] args) {
2- Scanner s = new Scanner(System.in);
3- int[][] A = new int[5][5];
4- int I ,J ;
5- I = 1;
6- while (I<=5){
7- J=1;
8- while (J<=5){
9- A[I][J] = s.nextInt();
10- J=J+1;
}
11- I=I+1;
}
12- int Sum = SumM(A,5,5);
13- System.out.println(Sum);
}
14- private static int SumM(int Mt[][], int N, int M){
15- int sum ;
16- int I , J ;
17- sum = 0 ;
18- I=1;
19- while(I<=N){
20- J=1 ;
21- while (J<=1) {
22- sum = sum + Mt[I][J];
23- J=J+1;
}
24- I=I+1 ;
}
25- return sum ;
}
}
- 1- No comment
2- Fixed size of array
- Set a comment
Graphs:
Research Work :
And that provides a unifying framework in which previous work in program optimization may
be applied. We present a new incremental data flow algorithm that operates directly on the
PDG.
Comparison
There are no differences .
Perspectives
The Use Of Program Dependence Graphs In Software Engineering
Automated software installers: They walk the graph looking for software packages that
are required but not yet installed. The dependency is given by the coupling of the
packages.
In compiler technology and formal language implementation.
Web Forms standards such as XForms to know what visual elements to update if data in
the model changes.
References
- Program dependence graph – Wikipedia
- Program dependence graph - Book