Beruflich Dokumente
Kultur Dokumente
APPLICATIONS
Term-End F,xamination
June, 2OO7
cs-620 P.T.O.
2. (a) A two dimensionalmatrix is representedusing a row
major order. Write the formula and calculate the
addressof elementAtl0l [51.Assumethe dimensions
as At10l [10J.
(b) Write an algorithm for converting an Adjacency list
to an adjacencymairix in 'C' language.
(
I
Y 2I G
A ft t
I
( 4 J
T
3
E
cs-62@
5. Explain the following with an exampleeach : l0
(a) Union in 'C'
cs-62@ 6,000