AL 303 DS Home Assignments
AL 303 DS Home Assignments
Assignment 1
Q1) Outline the classification of data structure & also list the operation that can be performed with each
type of data structure. (CO-1, BT-1)
Q2) Define link list? Write an algorithm to insert & delete a node in singly link list.(CO-1,BT-1)
Assignment 2
Q1) Consider the following stack of the character, where stack is allocated N=8 memory cells:
Stack: A, C, D, F, K, _, _, _,
Describe the stack as the following operation takes place:
(a). POP(Stack ,Item) (b). POP (Stack, Item) (C) Push (Stack, L) (d) Push (stack, P) (CO-2,
BT-2)
Q2) Describe the concept of Queue, Circular Queue, Priority Queue & Dequeue in detail. (CO-2, BT-2)
Assignment 3
Q1) Describe the concept of AVL tree & Red Black tree with example. (CO-3, BT-2)
Q2) Explain B tree & B+ tree in detail with example. (CO-3, BT-2)
Assignment 4
Q1) Explain graph traversal algorithm in detail with example. (CO-4, BT-2)
Q2) Describe spanning tree and also explain minimum spanning tree algorithms with example.
(CO-4, BT-2)
Assignment 5
Q1) Demonstrate bubble sort & insertion sort on following list of elements:
54, 26, 93, 17, 77, 31, 44, 55, 20 (CO-5, BT-3)
Q2) Demonstrate merge sort & radix sort on following list of elements:
333, 125,436, 568, 27, 5, 49, 792, (CO-5, BT-3)