Daa Assignment Bca III
Daa Assignment Bca III
BATCH 2023-24
SEMESTER 3
ASSIGNMENTS
Prepared By:
Ms. Divya Paikaray
Assistant Professor
General Instructions
Students are advised to submit the assignment along with the below mentioned information
at the top Page: -
I. Student ID :- AJU/………..
IV. Contact No :-
V. E-Mail :-
6. Students have to use only Classmate Type Copy to Answer their Assignment in their own
handwriting.
8. After completion of the assignment, students will make a scan copy of the solution as pdf
format and afterward have to submit by google form or via mail only.
9. The Assignment pdf file name would be in the unique format of Students Registan
no_CourseName. (Ex: - AJU/210001 and Intro to CS pdf file name should be
AJU_170001_Intro_To_CS).
10. If any discrepancy such as copying/duplication from others is found in the assignment
submitted, cancellation of the entire assignment may be imposed.
11. Students should have to submit handwritten Assignments as hard copy & scanned of
the same for future reference to the course teacher as instructed.
Assignment 1
1) What is insertion sort? Write its advantages, disadvantages, time complexity and space
Complexity.
6, 4, 2, 1, 9, 8, 3, 5, 10
Assignment 3
4. Explain Kruskal’s Algorithm with an example. Also find the Minimum Cost Spanning
Tree.
5. Explain Prim’s Algorithm with an example. Also find the Minimum Cost Spanning Tree.
6. Explain Dijkstra’s Algorithm with an example. Also find the Minimum Cost Spanning
Tree.
7. Write an algorithm for Single source shortest path. Explain with an example.
8.
9.
Assignment 4
3. What is Graph coloring? Write an algorithm for it and explain with an example
4. Write an algorithm for how Eight Queens problem can be solved using backtracking and
explain with an example.
5. Consider a set S= {5, 10, 12, 13, 15, 18} and d= 30. Solve it for obtaining the sum of the
subset.
6.
Assignment 5
4.
5. What is the BFS Algorithm (Breadth-First Search)? Applications of BFS.