April / May 2024
DATA STRUCTURES AND OBJECT ORIENTED PROGRAMMING IN C++
Anna University
1 question papers available. Select an examination session to view its question paper.
DATA STRUCTURES AND OBJECT ORIENTED PROGRAMMING IN C++
Based on available extracted papers. Question groups and frequency are provisional, not official syllabus weightage or examination predictions.
Define Encapsulation and Data Abstraction. 2
0 eligible source papersWhat are objects? How are they created? 2
0 eligible source papersWhat is function overriding? Give example. 2
0 eligible source papersMention the use of public, private and protected access specifiers and 2 their visibility in the class.
0 eligible source papersConvert the given infix expression (A*B + (C/D))-E into postfix & prefix 2 expressions.
0 eligible source papersWrite a routine to find if the Queue is full. 2 UA What is a minimum spanning tree? 2
0 eligible source papersWhat is a threaded binary tree? Mention its advantages. 2
0 eligible source papersWhat is meant by internal and external sorting? 2
0 eligible source papersPerform Insertion sort on the list of integers {58, 26, 90, 34, 71}. 2
0 eligible source papers(a) (i) | What is Operator Overloading? Write a C++ program to perform operator 8 overloading on ++ operator to concatenate two strings. (ii) | What is a constructor? ‘List’ its properties. Explain the various types of 5 constructors with examples. . - ட தட்ட இத
0 eligible source papers(b) (i) | What is a friend function? Write a C++ program using friend function max() to 8 find the maximum of two. numbers a, b which are declared as members in two different classes CA and CB.respectively. (ii) | Write a C++ program to demonstrate static data member. 5
0 eligible source papers(a) | Define inheritance in C++. Explain in detail about the various forms of 13 inheritance with block diagrams, Syntax and examples for each.
0 eligible source papers(b) | What is Polymorphism in C++? Explain with an example on how to achieve 13 polymorphism at run time and compile time?
0 eligible source papers(a) (i) | Write the algorithms for Push and Pop operations on Stack using Linked list. 8 (ii) | Explain the algorithm for insertion operation at any specific location in a Linked 5 list.
0 eligible source papers(b) (i) | Explain the Enqueue and Dequeue operations performed on a Circular Queue 8 with necessary algorithms. (ii) | Perform Linked list based polynomial addition of P(x) = 3042444747 and 5 Q(x) = 5x°+4x2+5.
0 eligible source papers(a) | What is a Binary Tree? Explain the algorithms of Insertion and Deletion in 13 Binary tree with an example.
0 eligible source papers(b) | Construct an expression tree for the expression ((a+b)*c) + ((d*e)/g). Give the 13 outputs when you apply in order, preorder and post order traversals. ~
0 eligible source papers(a) | Explain the algorithms of Merge sort and Heap sort and sort the array with 13 elements: (34, 7, 15, 74, 51, 64} using the same.
0 eligible source papers(b) | What is Binary Search? Write down its algorithm. Find the key '63' in the list 13 given {2, 36, 47, 13, 97, 63, 81, 6, 13} using Binary Search.
0 eligible source papersExplain the Graph traversal algorithms: Depth First and Breadth First 15 Traversals. With a neat step-by-step schematic, explain Depth First and Breadth First Traversals for the following graph.
0 eligible source papersHistorical analysis based on extracted question papers. Topic classifications, marks and planning estimates are provisional.