Professional Documents
Culture Documents
CODE
B.E / B.Tech. LABORATORY EXAMINATIONS,
DECEMBER 2020
Third Semester
Computer Science and Engineering
CS8381 - DATA STRUCTURES LABORATORY
(Common to Information Technology and Computer and Communication Engineering)
(Regulations - 2017)
1. a. Implement List ADT to store the elements 10, 20,30,40,50 and find any element and
delete 30 from the list and display the elements after deletion. Use Array for list
Implementation. (40)
b. Write a C program to sort the n elements using insertion sort. (40)
2. Write a C program to implement the operations of List ADT using linked list and perform
the following
(80)
i. Create a Linked list with the elements 11,22,44,55
ii. Insert 33 after 22
iii. Delete the element 22 from the list
iv. Display the elements.
3. a. Write a C program to implement the task of printing the documents of a printer. Use
Linked list Implementation. (80)
4. a. Write a C Program to implement LIFO structure. Use array Implementation. (40)
b. Write a C Program to implement to find the element in a list in a sequential order. (40)
5. Write a C Program to implement LIFO structure. Use Linked List Implementation.
(80)
6. a. Write a C Program to implement the operations of FIFO structure. Use Array
Implementation. (40)
b. Write a C program to sort the n elements using Selection sort. (40)
7. Write a C Program to create a binary tree and obtain the order of the nodes by applying
various tree traversal methods.(80)
8. Write a C program to implement the operations binary search tree and perform the
following. (80)