0% found this document useful (0 votes)
21 views3 pages

FDS Lab Questions

Uploaded by

zzayir21
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views3 pages

FDS Lab Questions

Uploaded by

zzayir21
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

FDS LAB QUESTIONS

1. Implement a program that uses string to represent a stack of books in a library.

2. Use a simple array of strings representing countries and search for a specific
country in an array.

3. Represent the list of cities using singly linked list.

4. Represent a list of students enrolled in a course using doubly linked list.

5. In a library scenario, using queue check whether the library has books or not.

6. Implement a program to sort the array of string alphabetically.

7. Implement a program using a stack to manage a simple list of food items in a hotel.

8. Program to find the minimum element from an array.

9. Demonstrate a program for removing the browsing history using stack.

10. Perform the functions of queue by using character.

11. Demonstrate post order traversal to represent the company's organizational


structure using tree traversal

12. Perform adding and removing functions of stack using first five prime numbers.

13. Use a simple array of strings representing countries and search for a specific
country in an array.
14. Use queue data structure to represent the number of courses available in a college
and retrieve the size of the queue.

15. Use stack to manage the train ticket which is booked already and remove the
ticket which has to be cancelled.

16. Perform pre order traversal to represent the company's organizational structure

17. By using the collection of students names as nodes implement a binary search
tree program.

18. Program to find the maximum elements from an array.

19. Use a simple array of strings representing number and search for a specific
number in an array.

20. Implement a program that uses string to represent a stack of countries in a world
map.

21. Represent the list of fruits using singly linked list.

22. Represent a list of candidates applied for a job using doubly linked list.

23. In a bank scenario, using queue check whether the bank account has balance or
not.

24. Implement a program to sort the array of numbers in ascending order.

25. Implement a program using a stack to manage a list of sports for a sports meet.

26. Demonstrate a program for removing the items from the cart list using stack.
27. Perform the enqueue and dequeue operations by using colors as string.

28. Perform adding and removing functions of stack using first five odd numbers.

29. Program to multiply two matrices.


26. Demonstrate a program for removing the items from the cart list using stack.

27. Perform the enqueue and dequeue operations by using colors as string.

28. Perform adding and removing functions of stack using first five odd numbers.

29. Program to multiply two matrices.

30. Program to find the number of students attending a seminar by finding its size
using queue.

31. Use queue data structure to represent the number of departments available in a
college and retrieve the size of the queue.

32. Program for Matrix Addition.

33. Use stack to manage the bus ticket which is booked already and remove the ticket
which has to be cancelled. I

34. By using the collection of employee names as nodes implement a binary


search tree program.

You might also like