Skip to content
EndsemOct 20252024 patternSE Comp

Data Structures (DS) 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]-236

Printed for: S.E. (Computer Engineering/Computer Science and Engineering)

Premium

Most repeated DS questions, with answers

Model answers in the SPPU exam pattern, unit by unit. Read them on MySPPU.

This subject

₹59regular price ₹149

See a free sample page

Unlock

Instructions to the candidates

  1. Answer Q1 or Q2, Q3 or Q4, Q5 or Q6, Q7 or Q8, Q9 or Q10.
  2. Neat diagrams must be drawn wherever necessary.
  3. Figures to the right indicate full marks.
  4. Use of electronic pocket calculator is allowed.
  5. Assume suitable data, if necessary.

Questions

  1. Q1

    1. a)

      Explain different Asymptotic notations with graph of order of growth.

      [6]
    2. b)

      Define ADT and Explain Types of Data structures Compare Linear and Non-linear Data Structures.

      [8]
  2. Q2

    1. a)

      Compare Static and Dynamic Data Structures. Discuss the significance of Persistent and Ephemeral Data Structures.

      Also asked:Oct 2024

      [6]
    2. b)

      Apply step count method to evaluate time complexity of the following python code def oddEven (n=100): for num in range (1, n): if num % 2 ==0: print (num, ‘is Even’) else: print (num, ‘is Odd’) Justify that the above algorithm is having linear, non-linear, quadratic time complexity. List various Algorithmic Strategies and explain any one with suitable example. P.T.O. P.T.O. SPPU QUESTION PAPER www.mysppu.in Page 1 MySPPU · Data Structures Page 1 of 4 2

      [8]
  3. Q3

    1. a)

      Define the terms i) Sparse Matrix ii) Sorting Stability iii) Internal and External Sort

      [6]
    2. b)

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

      [8]
  4. Q4

    1. a)

      Define ADT for Arrays and discuss at least 4 operations that are performed on arrays.

      Also asked:Oct 2024

      [6]
    2. b)

      Explain Bubble sort algorithm and sort the given list using bubble sort: 7, 4, 10, 6, 3, 12, 1, 8, 2, 15 Enlist the number of passes required to complete the sort.

      [8]
  5. Q5

    1. a)

      Explain with neat diagram: i) SLL ii) DLL iii) CLL

      [6]
    2. b)

      Explain Stack as an ADT and Convert the infix expressions (A+B)*D+E/(F+A*D)+C into postfix representation using stack, Show the status after every step in tabular form. OR SPPU QUESTION PAPER www.mysppu.in Page 2 MySPPU · Data Structures Page 2 of 4 3

      [8]
  6. Q6

    1. a)

      Define and Draw diagram for i) Queue ii) Circular Queue iii) Dequeue

      [6]
    2. b)

      Write a pseudo code for Stack implementation using Linked List for the following operations i) Create ii) Push iii) Pop iv) Display

      [8]
  7. Q7

    1. a)

      Explain characteristics of Good Hash function and Explain any four types of Hash Functions.

      [6]
    2. b)

      Represent the following key in memory using Linear probing without replacement. Use modulo 10 as your hashing function. 24, 13, 16, 15, 19, 20, 22, 14, 17, 26 Estimate average search time for any element in Hash Table.

      [8]
  8. Q8

    1. a)

      Write a short note on any three hashing techniques.

      [6]
    2. b)

      Given the Inputs: 4371, 1323, 6173, 4199, 4344, 9679, 1989} Hash table size = 10 and Hash function = key mod 10. Show the results for the following: i) Open addressing hash table using Linear Probing ii) Open addressing hash table using Quadratic Probing SPPU QUESTION PAPER www.mysppu.in Page 3 MySPPU · Data Structures Page 3 of 4 4

      [8]
  9. Q9

    1. a)

      Compare Tree and Graph, Enlist at least two real time applications of each.

      [6]
    2. b)

      Write Prime’s algorithm and apply it on given graph to find Minimum Spanning Tree. Estimate the cost of MST

      [8]
  10. Q10

    1. a)

      Apply Tree traversal techniques and find in-order, pre-order and post-order traversal sequence of given binary tree.

      [6]
    2. b)

      Write Kruskal’s algorithm and apply it on given graph to find Minimum Spanning Tree. Estimate the cost of MST  SPPU QUESTION PAPER www.mysppu.in Page 4 MySPPU · Data Structures Page 4 of 4

      [8]