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
MCA 1st Semester Data Structures • MPC Autonomous College, Takhatpur, Baripada
Transcribed questions for Data Structures (MCA, Regular 2025) including all sections, choices, marks, equations, and diagrams.
(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.
(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 ?
(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:
(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.
(i) What is Tree ? Describe the terminologies used in tree.
(ii) Describe the algorithm used to perform single and double rotation on AVL tree.
(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.
(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.
(i) Write the merge sort algorithm.
(ii) Compare and contrast Separate Chaining with Linear Probing.