Design and analysis of algorithm all previous/ past question papers
-Design and analysis of algorithm –Computer Science all subject past paper Design and analysis of algorithm –Computer Graphics Course – Design and analysis of algorithm Project idea -Design and analysis of algorithm MCQ -Design and analysis of algorithm Interview Question –Computer Science all courses -Technology –University Past Paper -Programming language –Question paper –old paper
Design and analysis of algorithm Mid Term Examination in 2021
- Which parameters are considered essential to analysis a good algorithm?
- Explain Flow Chart with the help of diagram and example?
Write down Bubble Sort Algorithm?
Perform Insertion Sort on following Array will all steps.
Draw Flow Chart of following code.
else if(marks>=50 && marks<60)
else if(marks>=60 &&marks<75)
else if(marks>=75 &&marks<100)
Calculate Time Complexity of the following code.
Design and analysis of algorithm paper II in 2020
Q1: Find the GCD of x, y and z (where x = 203, y = 91 and z = 77) using Euclids Algorithm.
Q2: How are the Upper, Lower and Tight Bounds on a given function f(x) and its growth function g(x) are represented mathematically and graphically? Describe the behavior of a function in the of Logarithmic, Linear, Quadratic, Cubic and Exponential expression.
Q3: Find Edit Distance of the following pair of string using Longest Common Subsequence (LCS) technique:
Str1 = india, Str2 = Pakistan
Q4: Consider a farmer who wants to take some fruit and vegetables in his knapsack and he wants to get as much profit as possible. Following are the weights and values of the items ‘i’ in ‘wi’ and ‘vi’ respectively:
|Items (i)||Weight (wi) – in kgs||Value (vi) – in $|
Design and analysis of algorithm Sessional II in 2020
If total weight he can hold in his knapsack is 13 kg, which fruits and vegetables will be picked by the farmer? Also write down the algorithm for your approach with its analysis.
(Hint: Either he will take, or he will leave any particular item).
- Which parameters are considered essential to analyze a good algorithm? 
- Does input size matter? Suppose a program has run time O(n!) and the run time for
n = 10 is 1 second how much it will take for N=16 
- Write down Algorithm Development Process steps in diagram format.
- Running Time of an Algorithm depends on which parameter?
- Find time complexity of the following code. 
int sum = 0, j;
for (j=0; j < N; j++)
for (j=0; j < 100; j++)
sum = sum +j;
- Find time complexity for the following 
for (j=0; j<N; j++)
for (k=2; k<8; k++)
sum += k+j;
Design and analysis of algorithm Final Paper in 2022
In Philippines, coins of 1, 5, 10, 25 centavos (officially called sentimo), IP, SP and 10P (officially called Peso) and currency notes of 20P, 50P, 100P, 500P, 1000P are used. How can we make the following denominations using Coin Change Problem with greedy approach? Also write an algorithm for coin change problem using dynamic programming with its complexity analysis. 
-2: Apply Bellman-Ford Algorithm on the following graph. Show values after each iteration in a tabular form. S is the Starting node.
Q-5/Write down the algorithm for Huffman Encoding Technique with its complexity analysis. Consider your name and registration number as a string, apply Huffman Encoding Technique on this string (e.g. MUHAMMAD-ALI-MUSA-FA14-BCS-101).
#Design and analysis of algorithm #Computer Science all subject past paper Design and analysis of algorithm #Computer Graphics Course # Design and analysis of algorithm Project idea #Data Design and analysis of algorithm MCQ #Design and analysis of algorithm Interview Question #Computer Science all courses #Technology #University Past Paper #Programming language #Question paper #old paper