Questions: Big-O Notation and Asymptotic Analysis

3 questions to test your understanding

Score: 0 / 3
Question 1 Multiple Choice

Which statement correctly applies the definition of Big-O as an asymptotic upper bound?

A5n is O(n) but cannot be O(n²), since n is a tighter bound
Bn² + 100n is Θ(n² + 100n) and cannot be simplified
CA function that is O(n) is also O(n²), since any upper bound of O(n) is also an upper bound of O(n²)
DBig-O and Big-Θ always refer to the same growth class
Question 2 True / False

An algorithm with O(n²) worst-case complexity typically performs exactly n² operations on an input of size n.

TTrue
FFalse
Question 3 Short Answer

What is the difference between saying f(n) = O(g(n)) and f(n) = Θ(g(n))?

Think about your answer, then reveal below.