DAA - Theory Assignment 2
DAA - Theory Assignment 2
DAA - Theory Assignment 2
Theory Questions
Dept Tel. : +91 2114-673490, 491 Office : 02114-673355, 356 Email : [email protected] Website : sit.sinhgad.edu
Sinhgad Technical Education Society’s
SINHGAD INSTITUTE OF TECHNOLOGY, LONAVALA
(Affiliated to Savitribai Phule Pune University and Approved by AICTE, New Delhi)
Accredited by NAAC with Grade “A”
Department of Computer Engineering
10. Define the terms: best case, worst case, and average case time complexity. 5
Provide examples for each.
11. What is Big O notation? How is it used to provide an upper bound on an 6
algorithm's time complexity?
12. Differentiate between Ω (Omega) and Θ (Theta) notations. How do they 6
provide lower and tight bounds on time complexity, respectively?
13. Define o (little-o) and ω (little-omega) notations. How do they express upper 5
and lower bounds that are not asymptotically tight?
14. Compare and contrast polynomial and non-polynomial time complexity. 5
Provide examples of algorithms in each category.
15. Explain the difference between NP-complete and NP-hard problems. Can an 5
NP-hard problem be easier than an NP-complete problem?
Course In charge:
Ms. Rupali S. Shishupal
Dept Tel. : +91 2114-673490, 491 Office : 02114-673355, 356 Email : [email protected] Website : sit.sinhgad.edu