SlideShare ist ein Scribd-Unternehmen logo
1 von 4
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (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
 

Andere mochten auch

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
 

Andere mochten auch (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
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Mehr von 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
 

Mehr von 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
 

Kürzlich hochgeladen

Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
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
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 

Kürzlich hochgeladen (20)

Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
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
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 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