State True/False: Approximation ratio is always less than or equal to 1.
Official theoretical question paper for Design And Analysis Of Algorithms (PCC-CS404) conducted by Maulana Abul Kalam Azad University of Technology. All questions from Groups A, B, and C are reproduced below with marks weightings.
State True/False: Approximation ratio is always less than or equal to 1.
State True/False: O(2^n) > O(n^2) for n > 3.
What is the time complexity of Job Sequencing with Deadline algorithm using Greedy method?
Topological sorting is performed on _______ graph.
State True/False: if f(n)=2n^3+4n^2, then f(n) = O(n^3).
What is the time complexity of Prim's algorithm using Greedy method? Number of vertex = V.
Best case time complexity of Linear search algorithm is _________.
What is the time complexity of Kruskal's algorithm using Greedy method? Number of edge = E.
DFS uses _______ data structure.
Give two examples of Optimization Problem.
The worst case time complexity of Heap sort is _________.
Space complexity of Merge sort algorithm is _________.
Define Little oh (o) notation.
Prove that: log n! = O(nlogn).
Define Optimization Problem and Decision Problem.
Give two examples of Non-Polynomial algorithms.
Write down the properties of an algorithm.
Find the maximum profit and solution vector of the following fractional knapsack problem: Profit P = {16, 60, 150, 25, 150} Weight W = {4, 10, 50, 5, 75} Knapsack Size m = 44
Find the time complexity of the following recurrence relation using Recursion Tree Method. Clearly mention each steps. T(n) = 3×T(n/4) + cn^2
Write down an algorithm of Quick Sort.
Derive the best, worst and average case time complexity of your algorithm.
Define Absolute Approximation and Relative Approximation.
What is Vertex Cover Problem? Explain with example.
Write an Approximation algorithm for Vertex Cover problem.
Illustrate your algorithm with the following graph:
If f1(n) = O(g1(n)) and f2(n) = O(g2(n)), then prove that f1(n) + f2(n) = O(max(g1(n), g2(n))).
If f1(n) = O(g1(n)) and f2(n) = O(g2(n)), then prove that f1(n) × f2(n) = O(g1(n) × g2(n)).
Write an algorithm to find the value of x^n, where n is integral power of 2 in O(logn) time.
Show that the time complexity of your algorithm is O(logn).
Write an algorithm to find all Hamiltonian cycles from a graph using backtracking.
Solve the following Travelling Salesman Problem using Branch and Bound technique.
What is Bin-Packing problem?
Define graph coloring problem.
Write an algorithm to find all the solutions of graph coloring problem.
Is your algorithm solvable in polynomial time? Justify.
Find all the solutions for the following graph using your algorithm. Number of available color is 3.