AUTHENTIC EXAMINATION ARCHIVE

2025 Data Structures Question Paper

MCA 1st Semester Data Structures • MPC Autonomous College, Takhatpur, Baripada

Course
MCA
Semester
Semester 1
Year
2025
Exam Type
Regular

Original Examination Scans (2)

Verified Pages
2025 Data Structures question paper page 1, MPC Autonomous College, Baripada
Page 1: Data Structures (2025)
2025 Data Structures question paper page 2, MPC Autonomous College, Baripada
Page 2: Data Structures (2025)

Data Structures (CA-1.4) 2025 Questions

Transcribed questions for Data Structures (MCA, Regular 2025) including all sections, choices, marks, equations, and diagrams.

Unit 1 - Arrays & Memory Allocation

Q.1 [7.5 × 2 = 15 Marks]

(i) What do you mean by Array ? Write a Program to merge two sorted arrays to a single sorted array.

(ii) Differentiate between static and dynamic memory allocation. Explain the use of malloc(), calloc(), and realloc() functions with example.

OR

(i) Explain the different types of linked lists (singly, doubly, circular) with diagrams.

(ii) Write an algorithm to insert a node at the beginning of linear linked list ?

Unit 2 - Stacks & Queues

Q.2 [7.5 × 2 = 15 Marks]

(i) What is a stack ? Why is it known as a Last-In, First-Out (LIFO) structure ? Write algorithms for PUSH and POP operations.

(ii) Convert the following infix expression to prefix notation:

OR

(i) What is a queue ? Why is it known as a First-In, First-Out (FIFO) structure ? Write an algorithm to insert and delete elements from a simple queue.

(ii) What is circular queue ? Write the insertion and deletion procedure in a circular queue.

Unit 3 - Trees & Graphs

Q.3 [7.5 × 2 = 15 Marks]

(i) What is Tree ? Describe the terminologies used in tree.

(ii) Describe the algorithm used to perform single and double rotation on AVL tree.

Z Y X Right (LL) Y X Z Balance Factor: BF = h(Left) - h(Right) Valid BF in {-1, 0, +1}
AVL tree balance factor restoration via right rotation
OR

(i) Explain the various representation of graph with example in detail ?

(ii) Explain the different between depth-first and breath-first traversing techniques at a graph.

Unit 4 - Searching, Sorting & Hashing

Q.4 [7.5 × 2 = 15 Marks]

(i) Write an algorithm to find the desired element in an array using binary search.

(ii) Write an algorithm for bubble sort and find out its time complexity.

OR

(i) Write the merge sort algorithm.

(ii) Compare and contrast Separate Chaining with Linear Probing.