Read without ads and support Scribd by becoming a Scribd Premium Reader.
 
1.
2.
B_227L
B.E./B.Tech.DEGREEEXAMINATION,MAY/JUNE2007
ThirdSemesterInformation TechnoloryTF 246-DATA STRUCTURESAND ALGORITHMSTime: Three hoursMaximum :100 marksAnswerALL questions.PARTA-(10x2=20marks)What is the BNFgrammarfor describing a digit?What istheuseof spaceand time complexity?3.Write downthe arrayrepresentingpolynomial2xz +lxy +y2Givea directedtreerepresentationof the formula{a+ b)*(c+ d).Define apriority queue.Writedown tire adjacencymatrix of thegraph.
lrtl
\Yhy is the insertionsort most efficientwhen the originaldata areinalmostsortedorder?Whatisthe worstcasesearchof a balancedbinarv tree?Define VSAM.Whatarethetwodynamichashingtechnique?4.
o.
6.
bime
7.8.L10.
   w   w   w .   M  a  a  n  a  v  a   N .  c  o  m
 
(i)(ii)
PARTB-(5x16=80marks)Writeanalgorithmto convertcharactero numericvalues'
Writeastring assignmentprocedurefor theworkspace/indextable11.(a)L2.(a)13.(a)method.Or(b)(i)Writeanalgorithmthat checksfor thelargestandsmallestentriesin anintegerarray.(8)(ii)Whystudyof datastructuresis alsonecessarilyastudyofthealgorithmthat controlthem?(8)(8)(8)writean(8)circular(8)(i)(ii)Howto usestack insolvingtowerofHanoiproblem andalgorithmto solve t?Writedown theinsertionanddeletionalgorithmforaqueue.
(b)
OrWhatisa doublylinkedlist?Writedownthedetailedalgorithmforinseptinganodeto the leftand deletinga nodefrom a doublylinkedlist.(16)(i)writedown analgorithmtoperform matrixmultiplicationwithmultilinkedstructures.(8)(ii)Explainvariouskindsof traversalsin abinarytreeandillustratethesamewith thefollowingexamples.(8)(b)(i)(ii)Writedownsystem.Explainthealgorithm.Oranalgorithmforallocatingstorageusingthebuddy(8)DFSandBFStraversalsin agraph andwritethe(8)
2
B2271
   w   w   w .   M  a  a  n  a  v  a   N .  c  o  m
Search History:
Searching...
Result 00 of 00
00 results for result for
  • p.
  • More From This User

    Notes
    Load more