Skip to content
EndsemOct 20252024 patternSE CSE

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]-246

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

Instructions to the candidates

  1. 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.
  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)

      What is frequency count? Why is frequency count important in the analysis of algorithm.

      [5]
    2. b)

      What is meant by time and space complexity? Explain the asymptotic notations used for time complexity?

      [5]
    3. c)

      Explain what is Linear and non-linear data structure with example.

      [4]
  2. Q2

    1. a)

      What is meant by sparse Matrix? Write an algorithm to perform addition of two sparse matrices.

      [5]
    2. b)

      Explain divide & conquer Strategy and Greedy strategy with suitable example.

      [5]
    3. c)

      Explain what is static and dynamic data structure.

      [4]
  3. Q3

    1. a)

      Explain binary search algorithm with the given example: Search no: 23 and 100. 9,17,23,40,45,52,58,80,85,95,100

      [7]
    2. b)

      Write a short note on sentinel search & Index sequential search with suitable example.

      [7]
  4. Q4

    1. a)

      Explain selection sort with the algorithm. Sort the following numbers using selection sort and show the content of array after every pass. 27,76,17,9,45,58,90,79,100.

      [7]
    2. b)

      Explain quick sort algorithm with suitable example. What is time complexity of quick sort algorithm. P.T.O. SPPU QUESTION PAPER www.mysppu.in Page 1 MySPPU · Data Structures & Algorithms Page 1 of 2 2

      [7]
  5. Q5

    1. a)

      Write a pseudo code for basic operation of stack.

      [7]
    2. b)

      What is circular queue? Explain the advantages of circular queue area linear queue.

      [7]
  6. Q6

    1. a)

      What is need to convert the infix expression into postfix; convert the following expression into postfix expression (a+b) * d + e/(f + a*d) + c.

      [7]
    2. b)

      Explain array implementation of priority queue with all basic operations.

      [7]
  7. Q7

    1. a)

      Describe binary search tree deletion with example.

      [7]
    2. b)

      Differentiate between tree and graph .

      [7]
  8. Q8

    1. a)

      Explain how to convert general tree to binary tree with example.

      [7]
    2. b)

      Write Floyd Warshall Algortihm.

      [7]
  9. Q9

    1. a)

      What is hashing? Explain the properties of good hash function with examples.

      [7]
    2. b)

      Differentiate between Sequential file and index sequential file.

      [7]
  10. Q10

    1. a)

      Insert the following data in the hash table of size 10 using linear probing with chaining by applying with replacement : 11, 33, 20, 88,79; 98, 68, 44, 66, 24. Calculate average number of comparisons required to search given data from hash table.

      [7]
    2. b)

      Explain Sequential and Direct Access file organization. Also list out advantages and disadvantages of the same. ♦♦♦ SPPU QUESTION PAPER www.mysppu.in Page 2 MySPPU · Data Structures & Algorithms Page 2 of 2

      [7]