Data Structures (Multidisciplinary Minor - I) (DS) SPPU Endsem Question Paper Oct 2025
All 8 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]-284
Printed for: S.E. (Instrumentation & Control Engineering)
Instructions to the candidates
- Answer Q.1 or Q.2, Q3. or Q.4, Q.5 or Q.6, Q.7 or Q.8.
- Neat diagrams must be drawn wherever necessary.
- Figures to the right side indicate full marks.
- Assume suitable data, if necessary.
Questions
Q1
- a)[9]
This part has equations that don’t show as text. Open the PDF to read it.
- b)[8]
Develop a program to generate a list of squares of numbers from 1 to 10 by using list comprehension.
OR- a)
Q2
- a)[9]
Develop the Python program to input the marks of 5 students and show their total, average, maximum and minimum marks.
- b)[8]
Analyze what happens when a local variable has the same name as a global variable inside a function with program.
- a)
Q3
- a)[9]
Develop a linked list with 3 nodes containing values 10, 20, and 30.
- b)[8]
Analyze a function to search for a value in a singly linked list. P.T.O. SPPU QUESTION PAPER www.mysppu.in Page 1 MySPPU · Data Structures Page 1 of 2
OR- a)
Q4
- a)[9]
Comment on a Python class for a singly linked list that supports inserting at the beginning and end.
- b)[8]
Examine why a linked list implementation may be slower than a Python list for small datasets despite having better theoretical complexity.
- a)
Q5
- a)[9]
Elaborate the base case and recursive case using example.
- b)[9]
This part has equations that don’t show as text. Open the PDF to read it.
OR- a)
Q6
- a)[9]
Develop a program that uses recursion to solve the Tower of Hanoi.
- b)[9]
Examine how binary search fails it the list is unsorted.
- a)
Q7
- a)[9]
Illustrate tree terminology and binary tree structure.
- b)[9]
Analyze the traversing methods In order, Preorder and Post order of binary search tree.
OR- a)
Q8
- a)[9]
Elaborate the graph representation using adjacency matrix and adjacency list.
- b)[9]
Create a Python program implementing insert, delete, search, and traversals for a binary search tree. ♣♣♣ SPPU QUESTION PAPER www.mysppu.in Page 2 MySPPU · Data Structures Page 2 of 2
- a)