- What is an algorithm? Explain the notion of algorithm with an example.
- Explain in brief about ‘Algorithm design and analysis process’ with a neat flowchart.
- Explain ‘Asymptotic Notations’ with definition and examples.
- Discuss the ‘Algorithm Analysis Framework’ in brief.
- Discuss basic efficiency classes.
- Discuss the algorithms specifications.
- Discuss General Plan for Analyzing Time Efficiency of Recursive Algorithms.
- Discuss General Plan for Analyzing Time Efficiency of Nonrecursive Algorithms.
- Write an algorithm to check whether all the elements in a given array are distinct and find its time complexity.
- Write an algorithm to find the product of two matrices A and B and find its time complexity.
- Write recursive algorithm to compute factorial of n and find its time complexity.
- Discuss and find the time complexity of “Tower of Hanoi” puzzle.
- Discuss divide-and-conquer algorithm design technique with example.
- Write recursive algorithm to find maximum and minimum of given list of array elements using divide and conquer technique.
- Write recursive and non-recursive algorithms for binary search.
- Write Merge Sort algorithm to find its worst case time efficiency.
- Write Quick Sort algorithm to find its best case time efficiency.
- Apply Quick Sort on the given list and draw recursive call tree: 5 3 1 9 8 2 4 7
Mr. Chidanand S. Kusur, Asst. Professor, Department of Computer Science and Engineering, BLDEAs V. P. Dr. P. G. H. College of Engineering and Technology, Vijayapur-03, Karnataka, India. ~ send your feedback to cs.kusur@gmail.com
About Me
Friday 24 March 2017
DAA Assignment-II
Subscribe to:
Post Comments (Atom)
GCD of two numbers and its application...
The greatest common divisor (gcd) of two numbers is the largest positive integer that divides both numbers without leaving a remainder. The ...
-
Module wise most expected questions on " Unix and Shell Programming " Module-1 1. Explain in brief about " UNIX Arc...
-
Module 4: Laboratory Component: M4/L2 Java code to solve Travelling Sales Person problem using Dynamic programming. import java.ut...
-
Module-4 Laboratory Component: Write Java program to solve 0/1 Knapsack problem using Dynamic Programming method. import java.util.S...
-
Design and implement the presence of Hamiltonian Cycle in an undirected Graph G of n vertices. import java.util.*; cl...
-
Dear students, You are hereby informed to follow the following instructions to get good marks in Practical Examinations. Wear the formal and...
No comments:
Post a Comment