Skip to content
EndsemNov 20242024 patternSE AI&DS

Data Structures (DS) SPPU Endsem Question Paper Nov 2024

All 10 questions from this SPPU endsem paper, as printed. Read them here or open the PDF.

Pattern
2024 pattern
Exam
Endsem
Session
Nov 2024
Max. marks
70
Time
2½ Hours
Semester
III
Paper code
[6582]-201

Printed for: S.E. (Artificial Intelligence and Data Science/Computer Science

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 and Q.9 or Q.10.
  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)

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

      Also asked:Nov 2025

      [5]
    2. b)

      What is Sequential Search explain with Example?

      [5]
    3. c)

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

      [4]
  2. Q2

    1. a)

      Explain binary search with appropriate example. Comment on their data organization, time complexity and space complexity.

      [5]
    2. b)

      Explain quick sort algorithm with suitable example. What is advantages of quick sort algorithm.

      [5]
    3. c)

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

      [4]
  3. Q3

    1. a)

      Write a pseudo code to insert new node in to singly link list.

      [7]
    2. b)

      Explain the representation of polynomial using GLL.

      [7]
  4. Q4

    1. a)

      What is Link List? Explain its types with diagram.

      [7]
    2. b)

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

      [7]
  5. Q5

    1. a)

      Write rules to convert given infix expression to postfix expression using stack. Convert expression (A*B–(C+D*E)^(F*G/H)) stepwise using above rules.

      [6]
    2. b)

      What is queue? How they are represented in memory?

      [4]
    3. c)

      Explain the concept circular queue. Give the advantages of circular queue over linear queue.

      [4]
  6. Q6

    1. a)

      What is infix, prefix and postfix expression? Give example of each. Explain evaluation of postfix expression with suitable example expression?

      [6]
    2. b)

      Draw and explain Priority Queue? State any real-life application.

      Also asked:May 2024

      [4]
    3. c)

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

      [4]
  7. Q7

    1. a)

      Write pseudocode for BFS traversal of binary search tree.

      [7]
    2. b)

      Explain Optimal Binary Search Tree (OBST) with Example.

      [7]
  8. Q8

    1. a)

      Explain in details AVL tree, Heap Tree.

      [7]
    2. b)

      Describe binary search tree deletion with example.

      [7]
  9. Q9

    1. a)

      Elaborate following terminologies : i) Graph ii) Adjacency List iii) Adjacency Matrix

      [5]
    2. b)

      Explain Kruskal Algorithms with suitable example.

      [5]
    3. c)

      Write Prim’s algorithm to find minimum spanning tree. OR SPPU QUESTION PAPER www.mysppu.in Page 2 MySPPU · Data Structures Page 2 of 3 3

      [4]
  10. Q10

    1. a)

      Apply Kruskal’s algorithm to find the MST of the graph shown below.

      [5]
    2. b)

      Give difference between Prim’s and Kruskal’s algorithm.

      [5]
    3. c)

      Write the applications of : i) BFS ii) DFS ♦♦♦ SPPU QUESTION PAPER www.mysppu.in Page 3 MySPPU · Data Structures Page 3 of 3

      [4]