
DAA CSE 356 QUIZ 1
Authored by PREETI PANDEY
Other
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is NOT a valid asymptotic notation?
Which of the following is NOT a valid asymptotic notation?
O(n)
Ω(n)
Θ(n)
Σ(n)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If a function f(n) is O(g(n)), which of the following is true?
If a function f(n) is O(g(n)), which of the following is true?
f(n) grows faster than g(n)
f(n) grows slower than g(n)
f(n) grows at most as fast as g(n)
g(n) grows slower than f(n)
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which asymptotic notation provides both an upper and a lower bound?
Which asymptotic notation provides both an upper and a lower bound?
O(n)
Ω(n)
Θ(n)
o(n)
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What does O(1) represent in algorithm analysis?
What does O(1) represent in algorithm analysis?
Constant time complexity
Linear time complexity
Logarithmic time complexity
Exponential time complexity
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
If f(n) = n² + 3n + 4, what is the Big-O notation?
If f(n) = n² + 3n + 4, what is the Big-O notation?
O(n)
O(n²)
O(log n)
O(n³)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If f(n) is Θ(g(n)), which of the following statements is true?
If f(n) is Θ(g(n)), which of the following statements is true?
f(n) = o(g(n))
f(n) = O(g(n))
f(n) = Ω(g(n))
Both b and c
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which notation describes an algorithm that has a lower bound but no upper bound?
Which notation describes an algorithm that has a lower bound but no upper bound?
O(n)
Ω(n)
Θ(n)
o(n)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?