Data Structures & Algorithms (DSA) SPPU Endsem Question Paper Oct 2025
All 10 questions from this SPPU endsem paper, as printed. Read them here or open the PDF.
- Pattern
- 2024 pattern
- Exam
- Endsem
- Session
- Oct 2025
- Max. marks
- 70
- Time
- 2½ Hours
- Semester
- III
- Paper code
- [6582]-241
Printed for: S.E. (Computer Science and Design Engineering)
Instructions to the candidates
- Attempt Q.1, or Q.2, Q.3 or Q.4, Q.5 or Q.6, Q.7 or Q.8 and Q.9 or Q.10.
- Neat diagrams must be drawn wherever necessary.
- Figures to the right side indicate full marks.
- Assume Suitable data if necessary.
Questions
Q1
- a)[5]
Define abstract data type (ADT) with one example.
- b)[5]
Explain the difference between Big-O and Big notation.
- c)[4]
Differentiate between static and dynamic data structures with examples.
OR- a)
Q2
- a)[5]
Differentiate between primitive and non primitive data types.
- b)[5]
Apply best case and worst case analysis to the linear search algorithm.
- c)[4]
Explain time complexity and space complexity with proper illustration.
- a)
Q3
- a)[5]
What is the difference between row-major and column-major.
- b)[5]
Summarise the steps involved in inserting an element in an array.
- c)[4]
This part has equations that don’t show as text. Open the PDF to read it.
OR- a)
Q4
- a)[4]
Define array as an ADT.
- b)[5]
Compare Linear and Binary search using comlexity analysis.
- c)[5]
Trace Fibonacci search on the array [5,9,14,19,23,30,42] where key = 23. P.T.O. SPPU QUESTION PAPER www.mysppu.in Page 1 MySPPU · Data Structures & Algorithms Page 1 of 2 2
- a)
Q5
- a)[7]
Perform Bubble sort on the list [42,17,8,23,15]. Also explain bubble sort.
- b)[7]
Write an algorithm for selection sort with example.
OR- a)
Q6
- a)[7]
Perform Quick sort for [17,5,22,9,40,11].
- b)[7]
Perform Radix sort on the list [329,457,657,839,436,720,355].
- a)
Q7
- a)[6]
Compare sequential and linked organisation.
- b)[8]
Explain the insertion algorithm to insert new node at the middle position and end position for the singly linked list.
OR- a)
Q8
- a)[6]
Explain why insertion in a linked list is easier than in an array.
- b)[8]
Insert a new node containing 50 at position 3 in the list Show the pointer adjustments step by step.
- a)
Q9
- a)[6]
Describe the difference between push and pop operations.
- b)[8]
Evaluate the postfix expression : 5,3 * 8,2/+4–
OR- a)
Q10
- a)[6]
Compare the advantages of circular queue over linear queue and also explain why a queue is called as FIFO structure.
- b)[8]
Write an algorithm to insert element in to circular queue. Apply the circular queue logic : For a circular queue of size 4 with rear = 2 and front = 0, after performing enqueue (50), what will be the new rear value? ♦♦♦ SPPU QUESTION PAPER www.mysppu.in Page 2 MySPPU · Data Structures & Algorithms Page 2 of 2
- a)