PREVIOUS YEAR QUESTION PAPER

IT7303 – Object Oriented Programming and Advanced Data Structures

Anna University

Regulation 2015 Semester 3 2021

Question Paper Details

University Anna University
Degree B.Tech. Information and Technology
Department Information and Technology
Regulation Regulation 2015
Semester 3
Subject Code IT7303
Subject Name Object Oriented Programming and Advanced Data Structures
Exam Session November / December 2021
Duration 3hrs
Maximum Marks 100

View Question Paper PDF

Access the previous year question paper for your examination preparation.

View / Download PDF

How to Use This Question Paper

More Question Papers

Browse other previous year question papers for this subject.

View All Subject Question Papers

Question Paper Intelligence

Automatically extracted historical question data. Academic accuracy and examination rules require verification.

21Extracted entries
100Maximum marks (metadata)
180Duration (minutes)
5Choice candidates

Part-wise extracted questions

Part A10
Part B10
Part C1

Question type candidates

Other Or Unclassified15
Definition6

Section marks — arithmetic candidates

Part A20 marks
Part B65 marks
Part C15 marks

Examination marks pattern

PartRequired answersMarks per answerSection total
A10220
B51365
C11515

Estimated time allocation

Proportional to section marks. This estimate uses the full exam duration without a separate reading or revision reserve.

Section time budget

Part A36.0 min
Part B117.0 min
Part C27.0 min

Optional-choice evidence

Detected alternatives only. Confirm the actual choice rules in the original question paper.

Part B — Question 11: Option a · Option b
Part B — Question 12: Option a · Option b
Part B — Question 13: Option a · Option b
Part B — Question 14: Option a · Option b
Part B — Question 15: Option a · Option b

Question navigator

Extracted questions

Part A — 1

What is the use of reference variables and static variables? Give examples 2

Definition

Source quality review required

Part A — 2

What is an abstract class? 2

Definition

Source quality review required

Part A — 3

void foo(int &x, int *y, int z , int *& a) 2 { x = 5; a = &x; *a = 8 ; *y = 6; z = 7; } int main() { int i =4; int * j = &i; foo(i , &i , i , j); cout << i << endl; return 0; }

Other Or Unclassified

Source quality review required

Part A — 4

Write the code that creates an exception object to throw a divide by zero exception. 2

Other Or Unclassified

Source quality review required

Part A — 5

Briefly explain about BFS with an example. 2

Other Or Unclassified

Source quality review required

Part A — 6

What is the difference between Binomial Heaps and Fibonacci Heaps? 2

Definition

Source quality review required

Part A — 7

How topological sort is differing from DFS? List out atleast four points 2

Other Or Unclassified

Source quality review required

Part A — 8

What is meant by graph traversal? Explain with suitable diagram 2

Definition

Source quality review required

Part A — 9

What is the difference between directed and undirected graph? 2

Definition

Source quality review required

Part A — 10

What is flow networks? List out two of it application 2

Definition

Source quality review required

Part B — 11a

(a) (i) Explain the use of the following with example. 8 i) Copy constructor ii) Dynamic constructor iii) Dynamic initialization of objects (ii) Write the code to implement a MyString class that satisfies the following: 5 i) Addition of two strings (concatenation) - should be a friend function ii) Count the no of MyString objects created. (include static data member and static member function) iii) Provide methods with char* argument.

Other Or Unclassified

Source quality review required

Part B — 11b

(b) (i) How to manage run time Polymorphism in a function by passing objects as 13 reference.

Other Or Unclassified

Source quality review required

Part B — 12a

(a) (i) Write a generic program using template to print the array class as {1 2 3 4 5} 4 (ii) Write a program to search a key element in a given array of elements using 9 class template. Have generic search function that takes any data type and an overloaded search function that works for an integer element only.

Other Or Unclassified

Source quality review required

Part B — 12b

(b) (i) Explain in detail about the four component of STL in detail with suitable 13 examples.

Other Or Unclassified

Source quality review required

Part B — 13a

(a) (i) Construct a B - Tree for the elements 35, 20, 40, 50, 78, 10, 29, 55, 32, 60, 53, 6 90, 21, 25 using order 3. Delete 50, 29. (ii) Construct a Red Black tree for the elements 30, 25, 40, 50, 75, 10, 29, 65, 32, 7 60, 53, 90, 21, 25. Delete 50, 29.

Other Or Unclassified

Source quality review required

Part B — 13b

(b) (i) Construct an AVL tree with values 3,2,1,4,8,6,7,16,11,14 into an initially empty 13 tree. Delete 4 from the tree. Clearly show the tree that results after each insertion, and make clear any rotations that must be performed. Write a routine to remove all leaf nodes from the tree. (Need to write the delete routine)

Other Or Unclassified

Source quality review required

Part B — 14a

(a) (i) Construct the minimum spanning tree (MST) for the given graph using 13 Kruskal’s Algorithm

Other Or Unclassified

Source quality review required

Part B — 14b

(b) (i) Trace the shortest path from A using Dijikstra's algorithm 13 Find a minimum spanning tree for the same graph using Prim's algorithm.

Other Or Unclassified

Source quality review required

Part B — 15a

(a) (i) Construct the eulerian cycle for the values {1,0,3,4,0,2,1}. Explain step by step 13 execution for construction of cycle.

Other Or Unclassified

Source quality review required

Part B — 15b

(b) (i) Assume A = {1, 2, 3, 4} and let R be the relation on A whose matrix is 13 described as follows: [ ] Use Warshall's algorithm to compute

Other Or Unclassified

Source quality review required

Part C — 16

(i) Use Floyd's algorithm to compute the distance matrix for the digraph whose 15 edge- weight matrix is: [ ]

Other Or Unclassified

Source quality review required

Advanced Examination Analysis

Historical analysis based on extracted question papers. Topic classifications, marks and planning estimates are provisional.