Data Structures (DS) SPPU Insem Question Paper Oct 2024
All 4 questions from this SPPU insem paper, as printed. Read them here or open the PDF.
- Subject code
- 210242
- Pattern
- 2019 pattern
- Exam
- Insem
- Session
- Oct 2024
- Max. marks
- 30
- Time
- 1 Hour
- Semester
- III
- Paper code
- [6359]-520
Printed for: S.E. (Computer Engineering/ AI & DS /Computer Science )
Instructions to the candidates
- Attempt question Q1 or Q2, Q3 or Q4.
- Draw neat & labelled diagrams if necessary.
- Assume suitable data, if necessary.
- Figures to the right side indicates full marks.
Questions
Q1
- a)[6]
Discuss any six classes of time complexity with sample code.
- b)[5]
Differentiate between: i) Static and Dynamic Data structures ii) Persistent and Ephemeral Data Structures
- c)[4]
Explain step count method with the help of suitable example.
OR- a)
Q2
- a)[6]
This part has equations that don’t show as text. Open the PDF to read it.
- b)[5]
How asymptotic notations plays important role in defining complexity class? Explain Big-Oh, Big-theta and Big-Omega notation with graphs denoting growth rate.
- c)[4]
What is algorithmic strategy? Explain divide & conquer and greedy strategy with example.
- a)
Q3
- a)[6]
How can we find transpose of sparse matrix in linear time? Give pseudocode for his method.
- b)[5]
Given an array,arr [1.......10] [1......15] with base value 100 and the size of each element is 1 Byte in memory. Find the address of arr[8] [6] with the help of row-major technique and column major technique.
- c)[4]
Compare and contrast row major and column major technique with the help of any matrix.
OR- a)
Q4
- a)[6]
Write an algorithm to calculate sum of numbers stored in array and illustrate all characteristics of algorithm for the same.
- b)[5]
Give a pseudocode for polynomial addition.
- c)[4]
What is an ADT? Write ADT operations for array.
- a)