Skip to content
EndsemOct 20252024 patternSE Instrumentation

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

  1. Answer Q.1 or Q.2, Q3. or Q.4, Q.5 or Q.6, Q.7 or Q.8.
  2. Neat diagrams must be drawn wherever necessary.
  3. Figures to the right side indicate full marks.
  4. Assume suitable data, if necessary.

Questions

  1. Q1

    1. a)

      This part has equations that don’t show as text. Open the PDF to read it.

      [9]
    2. b)

      Develop a program to generate a list of squares of numbers from 1 to 10 by using list comprehension.

      [8]
  2. Q2

    1. a)

      Develop the Python program to input the marks of 5 students and show their total, average, maximum and minimum marks.

      [9]
    2. b)

      Analyze what happens when a local variable has the same name as a global variable inside a function with program.

      [8]
  3. Q3

    1. a)

      Develop a linked list with 3 nodes containing values 10, 20, and 30.

      [9]
    2. b)

      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

      [8]
  4. Q4

    1. a)

      Comment on a Python class for a singly linked list that supports inserting at the beginning and end.

      [9]
    2. b)

      Examine why a linked list implementation may be slower than a Python list for small datasets despite having better theoretical complexity.

      [8]
  5. Q5

    1. a)

      Elaborate the base case and recursive case using example.

      [9]
    2. b)

      This part has equations that don’t show as text. Open the PDF to read it.

      [9]
  6. Q6

    1. a)

      Develop a program that uses recursion to solve the Tower of Hanoi.

      [9]
    2. b)

      Examine how binary search fails it the list is unsorted.

      [9]
  7. Q7

    1. a)

      Illustrate tree terminology and binary tree structure.

      [9]
    2. b)

      Analyze the traversing methods In order, Preorder and Post order of binary search tree.

      [9]
  8. Q8

    1. a)

      Elaborate the graph representation using adjacency matrix and adjacency list.

      [9]
    2. b)

      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

      [9]