Dr. A.P.J. Abdul Kalam University MCA IV Sem Design & Analysis of Algorithms [MCA404] June 2021 Question Paper

Dr. A.P.J. Abdul Kalam University

Master of Computer Application

Fourth Semester Examination, June-2021

Design & Analysis of Algorithms [MCA404]

Time: 3:00 Hrs Max Marks 70

Note: All questions compulsory. All question carry equal marks.

Q.1 (a) What is an algorithm? Explain six characteristics of an algorithm with the

help of an example.

(b) Explain 4-queen problems in details. Solve a problem to take 4 queen.

Q.2 (a) Define spanning tree. Discuss design steps in Prim’s algorithm to construct

minimum spanning tree with an example.

(b) Explain divide-and-conquer algorithms in details with example.

Q.3 (a) Write binary search algorithm with the help of suitable example.

(b) Explain 0/1 Knapsack problem in details with example.

OR

(a) Explain searching and sorting algorithm in details. Explain types of

searching and sorting.

(b) Explain traveling salesman problem in detail with example.

Q.4 (a) What is greedy algorithm explain with example of optimization solution?

(b) Explain knapsack problem with the help of example.

Q.5 Define the following:

(i) NP completeness.

(ii) Spanning tree

(iii) String matching algorithm

Scanned Copies: