Skip to content
EndsemOct 20252024 patternSE CSD

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

  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)

      Define abstract data type (ADT) with one example.

      [5]
    2. b)

      Explain the difference between Big-O and Big  notation.

      [5]
    3. c)

      Differentiate between static and dynamic data structures with examples.

      [4]
  2. Q2

    1. a)

      Differentiate between primitive and non primitive data types.

      [5]
    2. b)

      Apply best case and worst case analysis to the linear search algorithm.

      [5]
    3. c)

      Explain time complexity and space complexity with proper illustration.

      [4]
  3. Q3

    1. a)

      What is the difference between row-major and column-major.

      [5]
    2. b)

      Summarise the steps involved in inserting an element in an array.

      [5]
    3. c)

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

      [4]
  4. Q4

    1. a)

      Define array as an ADT.

      [4]
    2. b)

      Compare Linear and Binary search using comlexity analysis.

      [5]
    3. c)

      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

      [5]
  5. Q5

    1. a)

      Perform Bubble sort on the list [42,17,8,23,15]. Also explain bubble sort.

      [7]
    2. b)

      Write an algorithm for selection sort with example.

      [7]
  6. Q6

    1. a)

      Perform Quick sort for [17,5,22,9,40,11].

      [7]
    2. b)

      Perform Radix sort on the list [329,457,657,839,436,720,355].

      [7]
  7. Q7

    1. a)

      Compare sequential and linked organisation.

      [6]
    2. b)

      Explain the insertion algorithm to insert new node at the middle position and end position for the singly linked list.

      [8]
  8. Q8

    1. a)

      Explain why insertion in a linked list is easier than in an array.

      [6]
    2. b)

      Insert a new node containing 50 at position 3 in the list Show the pointer adjustments step by step.

      [8]
  9. Q9

    1. a)

      Describe the difference between push and pop operations.

      [6]
    2. b)

      Evaluate the postfix expression : 5,3 * 8,2/+4–

      [8]
  10. Q10

    1. a)

      Compare the advantages of circular queue over linear queue and also explain why a queue is called as FIFO structure.

      [6]
    2. b)

      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

      [8]