Ds 5
Ds 5
88
a. With the help of suitable example, explain bubble sort algorithm [7]
b. With suitable example, explain PUSH and POP operation of stack [7]
c. Define Sorting and Write a note on following with their algorithms [7]
i. Selection Sort
54
ii. Merge Sort
b. Write an algorithm for inserting a node at beginning and end of the singly linked [7]
list.
[1] P.T.O.
QP-195
Q4) Solve any 2 of the following. (7 marks each) [14]
a. Write a C program or Pseudo code for following operations on a Doubly Linked [7]
List
i) Insert node at end of list
ii) Delete node at start of list
c. Define Data Structure and describe its types with classification. [7]
88
a. Using appropriate search technique search given key elements from following. [7]
Justify the technique used
11, 23, 41, 58, 62, 77, 85, 89, 91, 99
Key: 23
Key :91
54
Key: 100
b. Write a C Program or pseudo code for implementation of stack using array. [7]
***
[2]