GATE CSE Algorithms – Time Complexity, Recurrences & Amortized Analysis Practice Test | Set 1

Questions 1-5 of 100

0% completed (0/100 answered)
Your score 0/100 0 answered
Correct 0 Incorrect 0 Unanswered 100 Accuracy 0%

Question 1

MCQ · Single Correct 1 mark

Which of the following formal statements correctly defines f(n) = O(g(n))?

Answers for question 1

Question 2

MCQ · Single Correct 1 mark

If f(n) = O(g(n)) and g(n) = O(h(n)), which of the following properties guarantees that f(n) = O(h(n))?

Answers for question 2

Question 3

MCQ · Single Correct 1 mark

Which of the following is TRUE regarding small-o notation (f(n) = o(g(n)))?

Answers for question 3

Question 4

MCQ · Single Correct 1 mark

Which of the following represents the correct relationship between $f(n) = 2^n$ and g(n) = $3^n$?

Answers for question 4

Question 5

MCQ · Single Correct 1 mark

What is the asymptotic relation between f(n) = $\log(n!)$ and g(n) = n log n?

Answers for question 5
Scroll to Top