Design and Analysis of Algorithms Important Questions - 2024
Design and Analysis of Algorithms Important Questions - 2024
2MARKS
9. What are the various functions that affect the execution time?
6 Marks:
3
A B
9
6 4
C 8 D
11. Write a C Program to find minimum and maximum value in an array using
divide and conquer.
A D
F B C E
G H
16 14
2 3
1
18
8 4 8 28
4
0 22 8
16 14 12 20
7
6 5
2 4
17. Explain: P-Problems, NP-Problems and NP-Complete Problem.
8 Marks:
1. Define an Algorithm. What are the Criteria that an algorithm must satisfy?
B C
D E F
G H I
9. Find the Shortest path from node 1 to all other nodes using Dijkstra’s
Algorithm.