Skip to content

Manoj-P1508/Design-Analysis-Algorithms-Lab

Repository files navigation

๐Ÿ’ป DAA Lab Programs โ€“ 4th Sem BCA (24BCA42P)

Welcome to the official repository for Design and Analysis of Algorithms Lab Programs designed specifically for 4th Semester BCA students.

This collection includes important algorithm implementations such as searching, sorting, graph algorithms, dynamic programming, and backtracking techniques. The programs are written in a simple and beginner-friendly way, making them useful for lab exams and understanding core DAA concepts.

๐Ÿ“ Contents ๐Ÿ”ธ Searching/ โ€“ Linear Search, Binary Search ๐Ÿ”ธ Sorting/ โ€“ Selection Sort, Quick Sort ๐Ÿ”ธ Divide_and_Conquer/ โ€“ Min & Max problem ๐Ÿ”ธ Graph_Algorithms/ โ€“ BFS, Primโ€™s, Kruskalโ€™s, Floydโ€™s, Warshallโ€™s ๐Ÿ”ธ Dynamic_Programming/ โ€“ Optimal Binary Search Tree ๐Ÿ”ธ Backtracking/ โ€“ 4-Queens, Subset Sum ๐Ÿ”ธ String_Matching/ โ€“ Boyer-Moore Algorithm ๐Ÿ”ธ Classic_Problems/ โ€“ Tower of Hanoi

๐Ÿง‘โ€๐ŸŽ“ Who Should Use This? โœ… 4th Semester BCA students โœ… Students preparing for DAA lab exams โœ… Beginners learning algorithms โœ… Anyone interested in problem-solving techniques

๐Ÿ›  Requirements You may need the following to run the programs: Python 3.x ๐Ÿ Any code editor (VS Code, PyCharm, Notepad++, etc.) Basic knowledge of programming

๐Ÿš€ How to Use Clone the repository or download it as a ZIP file Open the folder in your code editor Run any program using: python filename.py For programs with graphs, ensure required libraries (like matplotlib) are installed

๐Ÿ“ Contributing Have improvements or extra programs to share? Feel free to fork the repo and submit a pull request. Educational contributions are always welcome.

๐Ÿ“ง Contact For questions or suggestions, contact: Manoj P (Assistant Professor) BCA Department/ Maintainer ๐Ÿ“ง Email: 15manojp08@gmail.com ๐Ÿ“ฑ Mobile No: 9663000319

๐Ÿ“š License This project is open-source and free to use for educational purposes.

๐Ÿ“Œ List of Programs 24BCA42P : Design and Analysis of Algorithms Lab

1.Write a program to implement Linear Search Algorithm and plot time vs n.

2.Write a program to implement Binary Search Algorithm and plot time vs n.

3.Write a program to solve Tower of Hanoi for different number of disks.

4.Write a program to perform Selection Sort and analyze time complexity.

5.Write a program to find Minimum and Maximum using Divide & Conquer.

6.Write a program to perform Quick Sort and analyze time complexity.

7.Write a program for Optimal Binary Search Tree (Dynamic Programming).

8.Write a program to implement Floydโ€™s Algorithm (All-pairs shortest path).

9.Write a program for Boyer-Moore String Matching Algorithm.

10.Write a program to implement Breadth First Search (BFS).

11.Write a program for Primโ€™s Algorithm (Minimum Spanning Tree).

12.Write a program for Kruskalโ€™s Algorithm (Minimum Spanning Tree).

13.Write a program for Topological Sorting and Warshallโ€™s Algorithm.

14.Write a program to solve 4-Queens Problem (Backtracking).

15.Write a program to solve Subset Sum Problem.

About

๐Ÿ“˜ This repository contains a collection of lab programs for BCA IV Semester โ€“ Design and Analysis of Algorithms Lab (24BCA42P).๐ŸŽฏ This repository is useful for students to understand algorithm design techniques and their practical implementation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages