SlideShare uma empresa Scribd logo
1 de 4
Baixar para ler offline
www.studentyogi.com                                                                      www.studentyogi.com

         Code No: R05210503
                                                                                 Set No. 1
            II B.Tech I Semester Supplimentary Examinations, November 2008
                                 ADVANCED DATA STRUCTURE
               ( Common to Computer Science & Engineering and Electronics &
                                        Computer Engineering)
         Time: 3 hours                                                                  Max Marks: 80
                                     Answer any FIVE Questions
                                   All Questions carry equal marks



           1. (a) Can you think of a situation where your program would crash without reaching
                    the breakpoint which you set at the beginning of main()?
               (b) When are copy constructors called?
               (c) Can a copy constructor accept an object of the same class as parameter,
                    instead of reference of the object?                                          [5+5+6]




                                                                                      m
           2. What is template? Explain about function templates and class templates with
              suitable examples.                                                                     [16]




                                                                             co
           3. (a) What are some ways try / catch / throw can improve software quality?
               (b) How can we handle a constructor that fails?
               (c) How can we handle a destructor that fails.                                    [5+5+6]




                                                                    gi.
           4. (a) De ne a sparse matrix? Explain its representation? Write the program that
                    gives the header for the class sparse Matrix which uses row major mapping of
                    a sparse matrix into an arrayList.
                        omyo
               (b) Write the methods get (theRow, the Column) and set (theRow, theCol-
                   umn, theValue) for a sparse matrix.                                             [10+6]

           5. (a) What is Linear Probing? Write a C++ program that gives the data members
                           t
                   and constructors for the hash table class that uses linear probing.
                     i.cen

               (b) Write the C++ program that gives the metho d search of a hash table. [8+8]

           6. De ne a Red-Black tree? Write the procedures to perform insertion, deletion in a
              Red-Black tree?                                                                        [16]
                  otgud


           7. (a) Describe deletion operation of a B-tree with an example.
               (b) Prove that the height of a red black tree storing n items is O(logn). [8+8]

           8. (a) Describe about search engine and inverted les.
              nty.s




               (b) Explain the main features of Boyer-Moore algorithm. [10+6]
           de w
             w




                                                      1 of 1
        stuw




www.studentyogi.com                                                                      www.studentyogi.com
   w.
ww
www.studentyogi.com                                                                       www.studentyogi.com

         Code No: R05210503
                                                                                  Set No. 2
            II B.Tech I Semester Supplimentary Examinations, November 2008
                                 ADVANCED DATA STRUCTURE
               ( Common to Computer Science & Engineering and Electronics &
                                        Computer Engineering)
         Time: 3 hours                                                                   Max Marks: 80
                                     Answer any FIVE Questions
                                   All Questions carry equal marks



           1. (a) What do you mean by Data abstraction?
               (b) Di erence between “C structure” and “C++ structure”.
               (c) Di rence between a “assignment operator” and a “copy constructor”.
               (d) What is the di erence between ‘overloading’ and “overridding”? [4+4+4+4]




                                                                                       m
           2. What is template? Explain about function templates and class templates with
              suitable examples.                                                                     [16]




                                                                             o
           3. (a) Explain about the formatted I/O in C++.
               (b) Explain about the console I/O in C++.                                            [8+8]




                                                                         i.c
           4. De ne the Abstract data type for Stack. Write a C ++ program to implement
              stack ADT using linked list.                                                           [16]


                   class for the dictionary?                    og
           5. (a) What is a dictionary? De ne the abstract data type for it? Write the abstract

               (b) Give the applications of dictionary or dictionary with duplicates in which
                    sequential access is desired.                                                   [8+8]
                                                    nty
           6. De ne a class called binarySearchTree to represent a Binary search tree. Extend
              this class by adding a public method outputInRange (Low,High) that outputs,
              in ascending order of key, all elements in a binary search tree whose key lies between
              Low and High. Use recursion and avoid entering sub trees that cannot possibly
              contain any elements with keys in desired range.                                       [16]
                                           de


           7. (a) Describe deletion operation of a B-tree with an example.
               (b) Prove that the height of a red black tree storing n items is O(logn). [8+8]
                                stu



           8. (a) Explain the boyar Moore algorithm with an example.
               (b) What are the advantages and disadvantages of tries with respect to binary
                   search tree.                                                                    [10+6]
                       w.
          ww




                                                       1 of 1



www.studentyogi.com                                                                       www.studentyogi.com
www.studentyogi.com                                                                     www.studentyogi.com

         Code No: R05210503
                                                                                Set No. 3
            II B.Tech I Semester Supplimentary Examinations, November 2008
                                 ADVANCED DATA STRUCTURE
               ( Common to Computer Science & Engineering and Electronics &
                                        Computer Engineering)
         Time: 3 hours                                                                 Max Marks: 80
                                     Answer any FIVE Questions
                                   All Questions carry equal marks


           1. (a) What is a friend function? Explain the advantages and disadvantages of it?
               (b) What is static member function? Explain it’s limitations. [8+8]
           2. (a) What is Hybrid inheritance? Write a program to illustrate the concept of
                   Hybrid Inheritance.
               (b) What is single inheritance? Write a program to illustrate the concept of single




                                                                                     m
                   Inheritance.                                                                      [8+8]
           3. (a) Explain about try, catch, throw keywords in C++?




                                                                            o
               (b) Write a program to illustrate the exception handling mechanism in C++.
                                                                                                     [8+8]




                                                                        i.c
           4. What is a linked list / chain.. Write the program which gives the constructor and
              destructor for .                                                                        [16]
           5. Develop a class for hash table using linear probing and neverUsed concept to handle
                                                                og
              an erase operation. Write complete C++ code for all the methods. Include a
              method to reorganize the table when (say) 60% of the empty buckets have never
              used equal to false. The reorganization should move pairs around as necessary and
              leave a properly con gured hash table in which neverUsed is true for every empty
                                                    nty
              bucket.                                                                                 [16]
           6. (a) What is a Binary search tree? De ne a C++ abstract class that corresponds
                   to this ADT.
               (b) Write a method to search for an element of a Binary Search Tree? What is
                                           de

                   its time complexity?                                                              [8+8]
           7. (a) Write deletion algorithm of red black tree.
               (b) Describe the operations of Splay tree.                                            [8+8]
                                stu



           8. Give the fail indexes used by the KMP algorithm for the following patterns.
               (a) AAAB
               (b) AABAACAABABA
               (c) ABRACADABRA
                       w.




               (d) ASTRACASTRA.                                                                        [16]
          ww




                                                       1 of 1



www.studentyogi.com                                                                     www.studentyogi.com
www.studentyogi.com                                                                        www.studentyogi.com

         Code No: R05210503
                                                                                  Set No. 4
            II B.Tech I Semester Supplimentary Examinations, November 2008
                                 ADVANCED DATA STRUCTURE
               ( Common to Computer Science & Engineering and Electronics &
                                        Computer Engineering)
         Time: 3 hours                                                                   Max Marks: 80
                                     Answer any FIVE Questions
                                   All Questions carry equal marks


           1. (a) What do you mean by Stack unwinding?
               (b) What is the di erence between const char *myPointer and char *const my
                   pointer?
               (c) De ne precondition and post-condition to a member function.
               (d) What are the conditions that have to be met for a condition to be an invariant




                                                                                       m
                   of the class?                                                               [4+4+4+4]
           2. What is template? Explain about function templates and class templates with
              suitable examples.                                                                      [16]




                                                                             o
           3. Create a program that opens a le (the rst argument on the command line) and




                                                                         i.c
              searches it for any one of a set of words (the remaining arguments on the command
              line). Read the input a line at a time, and print out the lines (with line numbers)
              that match.                                                                             [16]
           4. (a) Write the program which gives the Destructor for list/chain.

                   list/chain.
                                                                og
               (b) Write a metho d to return the index of the rst o ccurrence of an element in a
                                                                                                     [8+8]
           5. (a) What is a dictionary? De ne the abstract data type for it? Write the abstract
                                                    nty
                   class for the dictionary?
               (b) Give the applications of dictionary or dictionary with duplicates in which
                    sequential access is desired.                                                    [8+8]
           6. (a) Explain about the LLr, LRr, LLb, LRb imbalances in a Red-Black tree with
                                           de


                     example?
                (b) Draw the sequence of rotations required to perform a single right rotation and
                     a double LR rotation in an AVL tree?                                            [8+8]
           7. (a) Write pseudo code procedure for insert operations in a red-black tree.
                                stu



               (b) Write an algorithm for visualization of a key insertion algorithm in a B-tree.
                                                                                                     [8+8]
           8. (a) Write an algorithm for deleting a string from a compressed trie and also ana-
                       w.




                     lyze its complexity.
                (b) Describe the characteristics of Boyer-Moore algorithm. [10+6]
          ww




                                                       1 of 1



www.studentyogi.com                                                                        www.studentyogi.com

Mais conteúdo relacionado

Mais procurados

Mais procurados (15)

7th Semester Information Science (2013-June) Question Papers
7th Semester Information Science (2013-June) Question Papers 7th Semester Information Science (2013-June) Question Papers
7th Semester Information Science (2013-June) Question Papers
 
Building Ontologies from Multiple Information Sources
Building Ontologies from Multiple Information SourcesBuilding Ontologies from Multiple Information Sources
Building Ontologies from Multiple Information Sources
 
Daa q.paper
Daa q.paperDaa q.paper
Daa q.paper
 
7th Semester (Dec-2015; Jan-2016) Computer Science and Information Science En...
7th Semester (Dec-2015; Jan-2016) Computer Science and Information Science En...7th Semester (Dec-2015; Jan-2016) Computer Science and Information Science En...
7th Semester (Dec-2015; Jan-2016) Computer Science and Information Science En...
 
computer science sample papers 3
computer science sample papers 3computer science sample papers 3
computer science sample papers 3
 
7th cs june 2013
7th cs   june 20137th cs   june 2013
7th cs june 2013
 
C++ questions And Answer
C++ questions And AnswerC++ questions And Answer
C++ questions And Answer
 
C O M P U T E R O R G A N I Z A T I O N J N T U M O D E L P A P E R{Www
C O M P U T E R  O R G A N I Z A T I O N  J N T U  M O D E L  P A P E R{WwwC O M P U T E R  O R G A N I Z A T I O N  J N T U  M O D E L  P A P E R{Www
C O M P U T E R O R G A N I Z A T I O N J N T U M O D E L P A P E R{Www
 
Ict networking exercise short questions
Ict networking exercise short questionsIct networking exercise short questions
Ict networking exercise short questions
 
Software project management
Software project managementSoftware project management
Software project management
 
L6
L6L6
L6
 
Ict mock exam paper 1 b combined
Ict mock exam paper 1 b combinedIct mock exam paper 1 b combined
Ict mock exam paper 1 b combined
 
C programming & data structure
C programming & data structureC programming & data structure
C programming & data structure
 
Ict mock exam answer
Ict mock exam answerIct mock exam answer
Ict mock exam answer
 
C interview questions
C interview questionsC interview questions
C interview questions
 

Destaque

5 I N T R O D U C T I O N T O A E R O S P A C E T R A N S P O R T A T I O...
5  I N T R O D U C T I O N  T O  A E R O S P A C E  T R A N S P O R T A T I O...5  I N T R O D U C T I O N  T O  A E R O S P A C E  T R A N S P O R T A T I O...
5 I N T R O D U C T I O N T O A E R O S P A C E T R A N S P O R T A T I O...guestac67362
 
Bluetooth Technology In Wireless Communications
Bluetooth Technology In Wireless CommunicationsBluetooth Technology In Wireless Communications
Bluetooth Technology In Wireless Communicationsguestac67362
 
Ce052391 Environmental Studies Set1
Ce052391 Environmental Studies Set1Ce052391 Environmental Studies Set1
Ce052391 Environmental Studies Set1guestac67362
 
4 G Paper Presentation
4 G  Paper  Presentation4 G  Paper  Presentation
4 G Paper Presentationguestac67362
 
Bluetooth Technology Paper Presentation
Bluetooth Technology Paper PresentationBluetooth Technology Paper Presentation
Bluetooth Technology Paper Presentationguestac67362
 
Bluetooth Paper Presentation
Bluetooth Paper PresentationBluetooth Paper Presentation
Bluetooth Paper Presentationguestac67362
 
Bio Chip Paper Presentation
Bio Chip Paper PresentationBio Chip Paper Presentation
Bio Chip Paper Presentationguestac67362
 

Destaque (8)

5 I N T R O D U C T I O N T O A E R O S P A C E T R A N S P O R T A T I O...
5  I N T R O D U C T I O N  T O  A E R O S P A C E  T R A N S P O R T A T I O...5  I N T R O D U C T I O N  T O  A E R O S P A C E  T R A N S P O R T A T I O...
5 I N T R O D U C T I O N T O A E R O S P A C E T R A N S P O R T A T I O...
 
Bluetooth Technology In Wireless Communications
Bluetooth Technology In Wireless CommunicationsBluetooth Technology In Wireless Communications
Bluetooth Technology In Wireless Communications
 
Ce052391 Environmental Studies Set1
Ce052391 Environmental Studies Set1Ce052391 Environmental Studies Set1
Ce052391 Environmental Studies Set1
 
4 G Paper Presentation
4 G  Paper  Presentation4 G  Paper  Presentation
4 G Paper Presentation
 
Bluetooth Technology Paper Presentation
Bluetooth Technology Paper PresentationBluetooth Technology Paper Presentation
Bluetooth Technology Paper Presentation
 
Bluetooth Paper Presentation
Bluetooth Paper PresentationBluetooth Paper Presentation
Bluetooth Paper Presentation
 
Bio Chip Paper Presentation
Bio Chip Paper PresentationBio Chip Paper Presentation
Bio Chip Paper Presentation
 
Trees, Binary Search Tree, AVL Tree in Data Structures
Trees, Binary Search Tree, AVL Tree in Data Structures Trees, Binary Search Tree, AVL Tree in Data Structures
Trees, Binary Search Tree, AVL Tree in Data Structures
 

Semelhante a Ads

05211201 Advanced Data Structures And Algorithms
05211201 Advanced Data Structures  And  Algorithms05211201 Advanced Data Structures  And  Algorithms
05211201 Advanced Data Structures And Algorithmsguestac67362
 
Databasemanagementsystems Jntu Model Paper{Www.Studentyogi.Com}
Databasemanagementsystems Jntu Model Paper{Www.Studentyogi.Com}Databasemanagementsystems Jntu Model Paper{Www.Studentyogi.Com}
Databasemanagementsystems Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
212101 Object Oriented Analysis Design Through Uml
212101 Object Oriented Analysis Design Through Uml212101 Object Oriented Analysis Design Through Uml
212101 Object Oriented Analysis Design Through Umlguestd436758
 
212101 Object Oriented Analysis Design Through Uml
212101 Object Oriented Analysis Design Through Uml212101 Object Oriented Analysis Design Through Uml
212101 Object Oriented Analysis Design Through Umlguestac67362
 
Automata And Compiler Design
Automata And Compiler DesignAutomata And Compiler Design
Automata And Compiler Designguestac67362
 
Computer Programming Jntu Model Paper{Www.Studentyogi.Com}
Computer Programming Jntu Model Paper{Www.Studentyogi.Com}Computer Programming Jntu Model Paper{Www.Studentyogi.Com}
Computer Programming Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
C O M P U T E R P R O G R A M M I N G J N T U M O D E L P A P E R{Www
C O M P U T E R  P R O G R A M M I N G  J N T U  M O D E L  P A P E R{WwwC O M P U T E R  P R O G R A M M I N G  J N T U  M O D E L  P A P E R{Www
C O M P U T E R P R O G R A M M I N G J N T U M O D E L P A P E R{Wwwguest3f9c6b
 
0502 Object Oriented Programming Through Java Set1
0502 Object Oriented Programming Through Java Set10502 Object Oriented Programming Through Java Set1
0502 Object Oriented Programming Through Java Set1guestac67362
 
0502 Object Oriented Programming Through Java Set1
0502 Object Oriented Programming Through Java Set10502 Object Oriented Programming Through Java Set1
0502 Object Oriented Programming Through Java Set1guestd436758
 
R05010303 C O M P U T E R P R O G R A M M I N G A N D N U M E R I C A L M E ...
R05010303  C O M P U T E R P R O G R A M M I N G A N D N U M E R I C A L M E ...R05010303  C O M P U T E R P R O G R A M M I N G A N D N U M E R I C A L M E ...
R05010303 C O M P U T E R P R O G R A M M I N G A N D N U M E R I C A L M E ...guestd436758
 
2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...
2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...
2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...Monica Sabharwal
 
R05010106 C P R O G R A M M I N G A N D D A T A S T R U C T U R E S
R05010106  C  P R O G R A M M I N G   A N D   D A T A  S T R U C T U R E SR05010106  C  P R O G R A M M I N G   A N D   D A T A  S T R U C T U R E S
R05010106 C P R O G R A M M I N G A N D D A T A S T R U C T U R E Sguestd436758
 
Computer Networks Jntu Model Paper{Www.Studentyogi.Com}
Computer Networks Jntu Model Paper{Www.Studentyogi.Com}Computer Networks Jntu Model Paper{Www.Studentyogi.Com}
Computer Networks Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
C O M P U T E R N E T W O R K S J N T U M O D E L P A P E R{Www
C O M P U T E R  N E T W O R K S  J N T U  M O D E L  P A P E R{WwwC O M P U T E R  N E T W O R K S  J N T U  M O D E L  P A P E R{Www
C O M P U T E R N E T W O R K S J N T U M O D E L P A P E R{Wwwguest3f9c6b
 
Computer Organization Jntu Model Paper{Www.Studentyogi.Com}
Computer Organization Jntu Model Paper{Www.Studentyogi.Com}Computer Organization Jntu Model Paper{Www.Studentyogi.Com}
Computer Organization Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}
Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}
Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}
Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}
Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 

Semelhante a Ads (20)

05211201 Advanced Data Structures And Algorithms
05211201 Advanced Data Structures  And  Algorithms05211201 Advanced Data Structures  And  Algorithms
05211201 Advanced Data Structures And Algorithms
 
Databasemanagementsystems Jntu Model Paper{Www.Studentyogi.Com}
Databasemanagementsystems Jntu Model Paper{Www.Studentyogi.Com}Databasemanagementsystems Jntu Model Paper{Www.Studentyogi.Com}
Databasemanagementsystems Jntu Model Paper{Www.Studentyogi.Com}
 
212101 Object Oriented Analysis Design Through Uml
212101 Object Oriented Analysis Design Through Uml212101 Object Oriented Analysis Design Through Uml
212101 Object Oriented Analysis Design Through Uml
 
212101 Object Oriented Analysis Design Through Uml
212101 Object Oriented Analysis Design Through Uml212101 Object Oriented Analysis Design Through Uml
212101 Object Oriented Analysis Design Through Uml
 
Automata And Compiler Design
Automata And Compiler DesignAutomata And Compiler Design
Automata And Compiler Design
 
Computer Programming Jntu Model Paper{Www.Studentyogi.Com}
Computer Programming Jntu Model Paper{Www.Studentyogi.Com}Computer Programming Jntu Model Paper{Www.Studentyogi.Com}
Computer Programming Jntu Model Paper{Www.Studentyogi.Com}
 
C O M P U T E R P R O G R A M M I N G J N T U M O D E L P A P E R{Www
C O M P U T E R  P R O G R A M M I N G  J N T U  M O D E L  P A P E R{WwwC O M P U T E R  P R O G R A M M I N G  J N T U  M O D E L  P A P E R{Www
C O M P U T E R P R O G R A M M I N G J N T U M O D E L P A P E R{Www
 
0502 Object Oriented Programming Through Java Set1
0502 Object Oriented Programming Through Java Set10502 Object Oriented Programming Through Java Set1
0502 Object Oriented Programming Through Java Set1
 
0502 Object Oriented Programming Through Java Set1
0502 Object Oriented Programming Through Java Set10502 Object Oriented Programming Through Java Set1
0502 Object Oriented Programming Through Java Set1
 
Ooad q.papers
Ooad q.papersOoad q.papers
Ooad q.papers
 
R05010303 C O M P U T E R P R O G R A M M I N G A N D N U M E R I C A L M E ...
R05010303  C O M P U T E R P R O G R A M M I N G A N D N U M E R I C A L M E ...R05010303  C O M P U T E R P R O G R A M M I N G A N D N U M E R I C A L M E ...
R05010303 C O M P U T E R P R O G R A M M I N G A N D N U M E R I C A L M E ...
 
2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...
2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...
2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...
 
R05010106 C P R O G R A M M I N G A N D D A T A S T R U C T U R E S
R05010106  C  P R O G R A M M I N G   A N D   D A T A  S T R U C T U R E SR05010106  C  P R O G R A M M I N G   A N D   D A T A  S T R U C T U R E S
R05010106 C P R O G R A M M I N G A N D D A T A S T R U C T U R E S
 
Computer Networks Jntu Model Paper{Www.Studentyogi.Com}
Computer Networks Jntu Model Paper{Www.Studentyogi.Com}Computer Networks Jntu Model Paper{Www.Studentyogi.Com}
Computer Networks Jntu Model Paper{Www.Studentyogi.Com}
 
C O M P U T E R N E T W O R K S J N T U M O D E L P A P E R{Www
C O M P U T E R  N E T W O R K S  J N T U  M O D E L  P A P E R{WwwC O M P U T E R  N E T W O R K S  J N T U  M O D E L  P A P E R{Www
C O M P U T E R N E T W O R K S J N T U M O D E L P A P E R{Www
 
Computer Organization Jntu Model Paper{Www.Studentyogi.Com}
Computer Organization Jntu Model Paper{Www.Studentyogi.Com}Computer Organization Jntu Model Paper{Www.Studentyogi.Com}
Computer Organization Jntu Model Paper{Www.Studentyogi.Com}
 
Dmdw1
Dmdw1Dmdw1
Dmdw1
 
Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}
Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}
Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}
 
Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}
Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}
Embedded Systems Jntu Model Paper{Www.Studentyogi.Com}
 
C g.2010 supply
C g.2010 supplyC g.2010 supply
C g.2010 supply
 

Mais de guestac67362

Bio Metrics Paper Presentation
Bio Metrics Paper PresentationBio Metrics Paper Presentation
Bio Metrics Paper Presentationguestac67362
 
Bio Medical Instrumentation
Bio Medical InstrumentationBio Medical Instrumentation
Bio Medical Instrumentationguestac67362
 
Bluetooth Abstract Paper Presentation
Bluetooth Abstract Paper PresentationBluetooth Abstract Paper Presentation
Bluetooth Abstract Paper Presentationguestac67362
 
Basic Electronics Jntu Btech 2008
Basic Electronics Jntu Btech 2008Basic Electronics Jntu Btech 2008
Basic Electronics Jntu Btech 2008guestac67362
 
Basic electronic devices and circuits
Basic electronic devices and circuitsBasic electronic devices and circuits
Basic electronic devices and circuitsguestac67362
 
Automatic Speed Control System Paper Presentation
Automatic Speed Control System Paper PresentationAutomatic Speed Control System Paper Presentation
Automatic Speed Control System Paper Presentationguestac67362
 
Artificial Intelligence Techniques In Power Systems Paper Presentation
Artificial Intelligence Techniques In Power Systems Paper PresentationArtificial Intelligence Techniques In Power Systems Paper Presentation
Artificial Intelligence Techniques In Power Systems Paper Presentationguestac67362
 
Artificial Neural Networks
Artificial Neural NetworksArtificial Neural Networks
Artificial Neural Networksguestac67362
 
Auto Configuring Artificial Neural Paper Presentation
Auto Configuring Artificial Neural Paper PresentationAuto Configuring Artificial Neural Paper Presentation
Auto Configuring Artificial Neural Paper Presentationguestac67362
 
Artificial Neural Network Paper Presentation
Artificial Neural Network Paper PresentationArtificial Neural Network Paper Presentation
Artificial Neural Network Paper Presentationguestac67362
 
A Paper Presentation On Artificial Intelligence And Global Risk Paper Present...
A Paper Presentation On Artificial Intelligence And Global Risk Paper Present...A Paper Presentation On Artificial Intelligence And Global Risk Paper Present...
A Paper Presentation On Artificial Intelligence And Global Risk Paper Present...guestac67362
 
Applied Physics Jntu Btech 2008
Applied Physics Jntu Btech 2008Applied Physics Jntu Btech 2008
Applied Physics Jntu Btech 2008guestac67362
 
Application Of Shuntactive Power Filter Paper Presentation
Application Of Shuntactive Power Filter Paper PresentationApplication Of Shuntactive Power Filter Paper Presentation
Application Of Shuntactive Power Filter Paper Presentationguestac67362
 
An Expert System For Power Plants Paper Presentation
An Expert System For Power Plants Paper PresentationAn Expert System For Power Plants Paper Presentation
An Expert System For Power Plants Paper Presentationguestac67362
 
Antennas And Wave Propagation
Antennas And Wave PropagationAntennas And Wave Propagation
Antennas And Wave Propagationguestac67362
 
Agent Technology Paper Presentation
Agent Technology Paper PresentationAgent Technology Paper Presentation
Agent Technology Paper Presentationguestac67362
 
Analog Communications
Analog CommunicationsAnalog Communications
Analog Communicationsguestac67362
 
Adaptive Control Systems Paper Presentation
Adaptive Control Systems Paper PresentationAdaptive Control Systems Paper Presentation
Adaptive Control Systems Paper Presentationguestac67362
 

Mais de guestac67362 (20)

Bio Metrics Paper Presentation
Bio Metrics Paper PresentationBio Metrics Paper Presentation
Bio Metrics Paper Presentation
 
Bio Medical Instrumentation
Bio Medical InstrumentationBio Medical Instrumentation
Bio Medical Instrumentation
 
Bluetooth Abstract Paper Presentation
Bluetooth Abstract Paper PresentationBluetooth Abstract Paper Presentation
Bluetooth Abstract Paper Presentation
 
Basic Electronics Jntu Btech 2008
Basic Electronics Jntu Btech 2008Basic Electronics Jntu Btech 2008
Basic Electronics Jntu Btech 2008
 
Basic electronic devices and circuits
Basic electronic devices and circuitsBasic electronic devices and circuits
Basic electronic devices and circuits
 
Awp
AwpAwp
Awp
 
Automatic Speed Control System Paper Presentation
Automatic Speed Control System Paper PresentationAutomatic Speed Control System Paper Presentation
Automatic Speed Control System Paper Presentation
 
Artificial Intelligence Techniques In Power Systems Paper Presentation
Artificial Intelligence Techniques In Power Systems Paper PresentationArtificial Intelligence Techniques In Power Systems Paper Presentation
Artificial Intelligence Techniques In Power Systems Paper Presentation
 
Artificial Neural Networks
Artificial Neural NetworksArtificial Neural Networks
Artificial Neural Networks
 
Auto Configuring Artificial Neural Paper Presentation
Auto Configuring Artificial Neural Paper PresentationAuto Configuring Artificial Neural Paper Presentation
Auto Configuring Artificial Neural Paper Presentation
 
Artificial Neural Network Paper Presentation
Artificial Neural Network Paper PresentationArtificial Neural Network Paper Presentation
Artificial Neural Network Paper Presentation
 
A Paper Presentation On Artificial Intelligence And Global Risk Paper Present...
A Paper Presentation On Artificial Intelligence And Global Risk Paper Present...A Paper Presentation On Artificial Intelligence And Global Risk Paper Present...
A Paper Presentation On Artificial Intelligence And Global Risk Paper Present...
 
Applied Physics Jntu Btech 2008
Applied Physics Jntu Btech 2008Applied Physics Jntu Btech 2008
Applied Physics Jntu Btech 2008
 
Application Of Shuntactive Power Filter Paper Presentation
Application Of Shuntactive Power Filter Paper PresentationApplication Of Shuntactive Power Filter Paper Presentation
Application Of Shuntactive Power Filter Paper Presentation
 
An Expert System For Power Plants Paper Presentation
An Expert System For Power Plants Paper PresentationAn Expert System For Power Plants Paper Presentation
An Expert System For Power Plants Paper Presentation
 
Antennas And Wave Propagation
Antennas And Wave PropagationAntennas And Wave Propagation
Antennas And Wave Propagation
 
Ai
AiAi
Ai
 
Agent Technology Paper Presentation
Agent Technology Paper PresentationAgent Technology Paper Presentation
Agent Technology Paper Presentation
 
Analog Communications
Analog CommunicationsAnalog Communications
Analog Communications
 
Adaptive Control Systems Paper Presentation
Adaptive Control Systems Paper PresentationAdaptive Control Systems Paper Presentation
Adaptive Control Systems Paper Presentation
 

Último

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 

Último (20)

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 

Ads

  • 1. www.studentyogi.com www.studentyogi.com Code No: R05210503 Set No. 1 II B.Tech I Semester Supplimentary Examinations, November 2008 ADVANCED DATA STRUCTURE ( Common to Computer Science & Engineering and Electronics & Computer Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks 1. (a) Can you think of a situation where your program would crash without reaching the breakpoint which you set at the beginning of main()? (b) When are copy constructors called? (c) Can a copy constructor accept an object of the same class as parameter, instead of reference of the object? [5+5+6] m 2. What is template? Explain about function templates and class templates with suitable examples. [16] co 3. (a) What are some ways try / catch / throw can improve software quality? (b) How can we handle a constructor that fails? (c) How can we handle a destructor that fails. [5+5+6] gi. 4. (a) De ne a sparse matrix? Explain its representation? Write the program that gives the header for the class sparse Matrix which uses row major mapping of a sparse matrix into an arrayList. omyo (b) Write the methods get (theRow, the Column) and set (theRow, theCol- umn, theValue) for a sparse matrix. [10+6] 5. (a) What is Linear Probing? Write a C++ program that gives the data members t and constructors for the hash table class that uses linear probing. i.cen (b) Write the C++ program that gives the metho d search of a hash table. [8+8] 6. De ne a Red-Black tree? Write the procedures to perform insertion, deletion in a Red-Black tree? [16] otgud 7. (a) Describe deletion operation of a B-tree with an example. (b) Prove that the height of a red black tree storing n items is O(logn). [8+8] 8. (a) Describe about search engine and inverted les. nty.s (b) Explain the main features of Boyer-Moore algorithm. [10+6] de w w 1 of 1 stuw www.studentyogi.com www.studentyogi.com w. ww
  • 2. www.studentyogi.com www.studentyogi.com Code No: R05210503 Set No. 2 II B.Tech I Semester Supplimentary Examinations, November 2008 ADVANCED DATA STRUCTURE ( Common to Computer Science & Engineering and Electronics & Computer Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks 1. (a) What do you mean by Data abstraction? (b) Di erence between “C structure” and “C++ structure”. (c) Di rence between a “assignment operator” and a “copy constructor”. (d) What is the di erence between ‘overloading’ and “overridding”? [4+4+4+4] m 2. What is template? Explain about function templates and class templates with suitable examples. [16] o 3. (a) Explain about the formatted I/O in C++. (b) Explain about the console I/O in C++. [8+8] i.c 4. De ne the Abstract data type for Stack. Write a C ++ program to implement stack ADT using linked list. [16] class for the dictionary? og 5. (a) What is a dictionary? De ne the abstract data type for it? Write the abstract (b) Give the applications of dictionary or dictionary with duplicates in which sequential access is desired. [8+8] nty 6. De ne a class called binarySearchTree to represent a Binary search tree. Extend this class by adding a public method outputInRange (Low,High) that outputs, in ascending order of key, all elements in a binary search tree whose key lies between Low and High. Use recursion and avoid entering sub trees that cannot possibly contain any elements with keys in desired range. [16] de 7. (a) Describe deletion operation of a B-tree with an example. (b) Prove that the height of a red black tree storing n items is O(logn). [8+8] stu 8. (a) Explain the boyar Moore algorithm with an example. (b) What are the advantages and disadvantages of tries with respect to binary search tree. [10+6] w. ww 1 of 1 www.studentyogi.com www.studentyogi.com
  • 3. www.studentyogi.com www.studentyogi.com Code No: R05210503 Set No. 3 II B.Tech I Semester Supplimentary Examinations, November 2008 ADVANCED DATA STRUCTURE ( Common to Computer Science & Engineering and Electronics & Computer Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks 1. (a) What is a friend function? Explain the advantages and disadvantages of it? (b) What is static member function? Explain it’s limitations. [8+8] 2. (a) What is Hybrid inheritance? Write a program to illustrate the concept of Hybrid Inheritance. (b) What is single inheritance? Write a program to illustrate the concept of single m Inheritance. [8+8] 3. (a) Explain about try, catch, throw keywords in C++? o (b) Write a program to illustrate the exception handling mechanism in C++. [8+8] i.c 4. What is a linked list / chain.. Write the program which gives the constructor and destructor for . [16] 5. Develop a class for hash table using linear probing and neverUsed concept to handle og an erase operation. Write complete C++ code for all the methods. Include a method to reorganize the table when (say) 60% of the empty buckets have never used equal to false. The reorganization should move pairs around as necessary and leave a properly con gured hash table in which neverUsed is true for every empty nty bucket. [16] 6. (a) What is a Binary search tree? De ne a C++ abstract class that corresponds to this ADT. (b) Write a method to search for an element of a Binary Search Tree? What is de its time complexity? [8+8] 7. (a) Write deletion algorithm of red black tree. (b) Describe the operations of Splay tree. [8+8] stu 8. Give the fail indexes used by the KMP algorithm for the following patterns. (a) AAAB (b) AABAACAABABA (c) ABRACADABRA w. (d) ASTRACASTRA. [16] ww 1 of 1 www.studentyogi.com www.studentyogi.com
  • 4. www.studentyogi.com www.studentyogi.com Code No: R05210503 Set No. 4 II B.Tech I Semester Supplimentary Examinations, November 2008 ADVANCED DATA STRUCTURE ( Common to Computer Science & Engineering and Electronics & Computer Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks 1. (a) What do you mean by Stack unwinding? (b) What is the di erence between const char *myPointer and char *const my pointer? (c) De ne precondition and post-condition to a member function. (d) What are the conditions that have to be met for a condition to be an invariant m of the class? [4+4+4+4] 2. What is template? Explain about function templates and class templates with suitable examples. [16] o 3. Create a program that opens a le (the rst argument on the command line) and i.c searches it for any one of a set of words (the remaining arguments on the command line). Read the input a line at a time, and print out the lines (with line numbers) that match. [16] 4. (a) Write the program which gives the Destructor for list/chain. list/chain. og (b) Write a metho d to return the index of the rst o ccurrence of an element in a [8+8] 5. (a) What is a dictionary? De ne the abstract data type for it? Write the abstract nty class for the dictionary? (b) Give the applications of dictionary or dictionary with duplicates in which sequential access is desired. [8+8] 6. (a) Explain about the LLr, LRr, LLb, LRb imbalances in a Red-Black tree with de example? (b) Draw the sequence of rotations required to perform a single right rotation and a double LR rotation in an AVL tree? [8+8] 7. (a) Write pseudo code procedure for insert operations in a red-black tree. stu (b) Write an algorithm for visualization of a key insertion algorithm in a B-tree. [8+8] 8. (a) Write an algorithm for deleting a string from a compressed trie and also ana- w. lyze its complexity. (b) Describe the characteristics of Boyer-Moore algorithm. [10+6] ww 1 of 1 www.studentyogi.com www.studentyogi.com