Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Assignment 1

on
Analysis & Design of Algorithm

Dr. Ashish Tiwari


Assistant Professor
ASET-CSE
Amity University
Lucknow, UP, India

July 27, 2023


2

Assignment 1
Part-A–2-3 Marks Questions
S.No. Questions BL CO
1 Explain different Characteristics of Algorithm? L1 CO2
2 Compare the order of growth n(n-1)/2 and n2. L3 CO1

Part-B– 5-6 Marks Questions


S.No. Questions BL CO
1 Explain Big O,Omega and Theta notations?Explain what are they L1 CO1
used for?
2 Contrast and compare between iterative and recursive process with L2 CO2
an example?

Part-c– 10-15 Mark Questions


S.No. Questions BL CO
1 Solve using substitution method, substitution method, recursion L2 CO1
tree method, master method to the given equation. a. T(n)=
2T(n-1)+3n , b. T(n)= 0.9 T(n/2)+ n , c. T(n)=3T(n/2)+ log n
d. T(n) = 2T(n/2) + n-1 , e.T(n)= 3 T(n/4)+ n2 f. T(n) = T(
n/10 ) + T( 9n/10 ) + n, g. T(n) = 3T(n/4) + nlogn, h. T(n) =
4T(n/2) + n2 logn
2 Explain in detail about substitution method, recursion tree method, L1 CO1
master method with the help of an example

Notes:-
1. Write the Assignment on a Copy or A4 pages with plastic file.
2. Write Your name and enrollment no. on the top of the first page.
3. All questions of every part is compulsory to do.
4. Do not copy anyone, if two assignments answers found the same. The assignment
must be repeated.
5. Incomplete file may cause deduction of marks.
6. Do not take the printout of the answers. Only handwritten answers are al-
lowed.
7. Anyone submitting assignment after due date then marks will be deducted.
8. The due date of the assignment 1 is 21st August 2023.

Signature of faculty member: Dr. Ashish Tiwari

You might also like