Define Encapsulation and Data Abstraction. 2
DefinitionSource quality review required
Anna University
| University | Anna University |
|---|---|
| Degree | B.E. Electronics and Communication Engineering |
| Department | Electronics and Communication Engineering |
| Regulation | Regulation 2015 |
| Semester | 3 |
| Subject Code | EC7352 |
| Subject Name | DATA STRUCTURES AND OBJECT ORIENTED PROGRAMMING IN C++ |
| Exam Session | April / May 2024 |
| Duration | 3hrs |
| Maximum Marks | 100 |
Access the previous year question paper for your examination preparation.
View / Download PDFBrowse other previous year question papers for this subject.
View All Subject Question PapersAutomatically extracted historical question data. Academic accuracy and examination rules require verification.
| Part | Required answers | Marks per answer | Section total |
|---|---|---|---|
| A | 10 | 2 | 20 |
| B | 5 | 13 | 65 |
| C | 1 | 15 | 15 |
Proportional to section marks. This estimate uses the full exam duration without a separate reading or revision reserve.
Detected alternatives only. Confirm the actual choice rules in the original question paper.
Define Encapsulation and Data Abstraction. 2
DefinitionSource quality review required
What are objects? How are they created? 2
DefinitionSource quality review required
What is function overriding? Give example. 2
DefinitionSource quality review required
Mention the use of public, private and protected access specifiers and 2 their visibility in the class.
Short DescriptionSource quality review required
Convert the given infix expression (A*B + (C/D))-E into postfix & prefix 2 expressions.
Other Or UnclassifiedSource quality review required
Write a routine to find if the Queue is full. 2 UA What is a minimum spanning tree? 2
Other Or UnclassifiedSource quality review required
What is a threaded binary tree? Mention its advantages. 2
DefinitionSource quality review required
What is meant by internal and external sorting? 2
DefinitionSource quality review required
Perform Insertion sort on the list of integers {58, 26, 90, 34, 71}. 2
Other Or UnclassifiedSource quality review required
(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. . - ட தட்ட இத
Other Or UnclassifiedSource quality review required
(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
Other Or UnclassifiedSource quality review required
(a) | Define inheritance in C++. Explain in detail about the various forms of 13 inheritance with block diagrams, Syntax and examples for each.
Other Or UnclassifiedSource quality review required
(b) | What is Polymorphism in C++? Explain with an example on how to achieve 13 polymorphism at run time and compile time?
Other Or UnclassifiedSource quality review required
(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.
Other Or UnclassifiedSource quality review required
(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.
Other Or UnclassifiedSource quality review required
(a) | What is a Binary Tree? Explain the algorithms of Insertion and Deletion in 13 Binary tree with an example.
Other Or UnclassifiedSource quality review required
(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. ~
Other Or UnclassifiedSource quality review required
(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.
Other Or UnclassifiedSource quality review required
(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.
Other Or UnclassifiedSource quality review required
Explain 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.
ExplanationSource quality review required
Historical analysis based on extracted question papers. Topic classifications, marks and planning estimates are provisional.