VTU Developer

Your comprehensive resource for Analysis & Design of Algorithms Lab - BCSL404

Analysis & Design of Algorithms Lab

Complete Lab Programs & Resources

BCSL404
Subject Code
01
Credits
50
CIE Marks
50
SEE Marks
100
Total Marks
02
Exam Hours

Program 1

Kruskal's Algorithm

Design and implement C/C++ Program to find Minimum Cost Spanning Tree of a given connected undirected graph using Kruskal's algorithm.

Minimum Spanning Tree

Program 2

Prim's Algorithm

Design and implement C/C++ Program to find Minimum Cost Spanning Tree of a given connected undirected graph using Prim's algorithm.

Minimum Spanning Tree

Program 3

Floyd's & Warshall's Algorithm

a. Design and implement C/C++ Program to solve All-Pairs Shortest Paths problem using Floyd's algorithm. b. Design and implement C/C++ Program to find the transitive closure using Warshall's algorithm.

All-Pairs Shortest Path

Program 4

Dijkstra's Algorithm

Design and implement C/C++ Program to find shortest paths from a given vertex in a weighted connected graph to other vertices using Dijkstra's algorithm.

Single Source Shortest Path

Program 5

Topological Ordering

Design and implement C/C++ Program to obtain the Topological ordering of vertices in a given digraph.

Directed Acyclic Graph

Program 6

0/1 Knapsack Problem

Design and implement C/C++ Program to solve 0/1 Knapsack problem using Dynamic Programming method.

Dynamic Programming

Program 7

Greedy Knapsack

Design and implement C/C++ Program to solve discrete Knapsack and continuous Knapsack problems using greedy approximation method.

Greedy Algorithm

Program 8

Subset Sum Problem

Design and implement C/C++ Program to find a subset of a given set S = {s1, s2,...,sn} of n positive integers whose sum is equal to a given positive integer d.

Backtracking

Program 9

Selection Sort

Design and implement C/C++ Program to sort a given set of n integer elements using Selection Sort method and compute its time complexity. Run the program for varied values of n > 5000 and record the time taken to sort.

Sorting Algorithm

Program 10

Quick Sort

Design and implement C/C++ Program to sort a given set of n integer elements using Quick Sort method and compute its time complexity. Run the program for varied values of n > 5000 and record the time taken to sort.

Divide & Conquer

Program 11

Merge Sort

Design and implement C/C++ Program to sort a given set of n integer elements using Merge Sort method and compute its time complexity. Run the program for varied values of n > 5000, and record the time taken to sort.

Divide & Conquer

Program 12

N Queen's Problem

Design and implement C/C++ Program for N Queen's problem using Backtracking.

Backtracking

Additional Resources

Extra study materials to boost your lab preparation and understanding

Complete Lab Manual

Comprehensive lab manual containing all 12 programs with detailed explanations, algorithms, and implementation guidelines for Analysis & Design of Algorithms Lab.

Viva Questions & Answers

Important viva questions and their detailed answers covering all algorithms and concepts for effective lab exam preparation.

Time Complexity Analysis

Comprehensive guide to time and space complexity analysis of all algorithms covered in the lab with examples and comparisons.

Practice Problems

Additional practice problems and variations of lab programs to enhance your understanding and problem-solving skills.

Comments

Replay !

0 Comments

Share Your Thoughts

Please enter your name
Please enter a valid email
Password must be at least 6 characters
Please enter your comment
Email Verification Required
We've sent a 6-digit verification code to . Please enter the code below to verify your email address.
Email Verified Successfully!
Your email has been verified. Would you like to proceed with posting your comment?

Type "YES" to confirm and post your comment, or click Cancel to skip posting.

Preparing your download...