Data Structure MCA Question Bank
Data Structure MCA Question Bank
Data Structure MCA Question Bank
QUESTION BANK
DATA STRUCTURES
MODULE 1
SECTION - A
6 MARKS QUESTION
Marks
1. Define data structure. List all the data types with examples. 6
suitable examples.
6. Discuss insertion and deletion operations in the front, back and in- 6
between of existing elements of an array.
7. Outline the Time-Space tradeoff of algorithms with examples.
11. Construct the worst and average case complexities for Linear
Search algorithm.
12. Write notes on the following asymptotic notations.
i) Big Oh
ii) Omega
iii) Theta
iv) Little Oh
13. Compare and contrast among local, non local and global
variables.
14. Explain the fixed-length storage structure of Strings with an
example.
15. Explain the variable-length storage structure of Strings with an
example.
16. Explain the linked storage structure of Strings with an example.
24. Why are the Abstract Data Types required ? Give reasons 6
30. Assess the trade-offs between time and space complexity in algorithm design. 6
32. Compare and contrast the performance of the loop-based summation approach 6
with the recursive approach.
33. Design a function to compute the average of array elements. 6
SECTION - B
10 MARKS QUESTION
Marks
2. Explain the concept of abstract data types (ADTs). How do ADTs differ from 10
regular data types.
MODULE 2
SECTION - A
6 MARKS QUESTION
Marks
9. Compare and contrast the array representation of stacks with the linked 6
representation.
10. Differentiate between simple, circular, and double-ended queues. 6
13. Given a linear array, demonstrate how to perform insertion and deletion 6
operations.
14. Implement a priority queue using a suitable data structure. 6
SECTION - B
10 MARKS QUESTION
Marks
1. Implement a stack data structure using an array in a programming language C. 10
Demonstrate its functionality by performing push, pop, and peek operations
on the stack.
2. Compare and contrast the array representation of stacks with the linked 10
representation of stacks.
3. List the different types of queues and briefly describe each type. 10
4. How does memory allocation work in a singly linked list? Discuss the process 10
and potential issues
5. Explain the process of traversing a singly linked list. Provide a step-by-step 10
explanation.
6. Create a program to convert an infix expression to postfix using stacks. 10
Expression : A+B/C
8. Design a priority queue and demonstrate its usage in a real-world application. 10
9. Compare and contrast recursion and iterative approaches in solving the GCD 10
problem.
10. Demonstrate the conversion of the following arithmetic expression from infix 10
to postfix notation: (a + b) * (c - d) / (e + f)
11. Explain the concept of Polish Notation in arithmetic expressions. 10
12. Write a program to simulate queue operations such as enqueue, dequeue, and 10
display.
MODULE 3
SECTION - A
6 MARKS QUESTION
Marks
SECTION - B
10 MARKS QUESTION
Marks
SECTION - A
6 MARKS QUESTION
Marks
Describe the purpose of sequential search
1. 6
SECTION - B
10 MARKS QUESTION
Marks