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

Questions 11-15 of 100

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

Question 11

MCQ · Single Correct 2 mark

If f(n) = O(g(n)), then $2^(f(n))$ = O($2^(g(n)))$ is:

Answers for question 11

Question 12

MCQ · Single Correct 1 mark

Which of the following statements is FALSE for asymptotic notations?

Answers for question 12

Question 13

MCQ · Single Correct 1 mark

What is the asymptotic tight bound for f(n) = $\sum_{$$i=1}^{n} i^k$ for a fixed constant integer k >= 1?

Answers for question 13

Question 14

MCQ · Single Correct 2 mark

Consider the recurrence relation T(n) = T(n - 1) + 1/n with T(1) = 1. What is the asymptotic tight bound for T(n)?

Answers for question 14

Question 15

MCQ · Single Correct 1 mark

What is the asymptotic complexity of the sum S(n) = 1 + 1/2 + 1/4 + 1/8 + ... + 1/($2^k)$ where $2^k$ <= n?

Answers for question 15
Scroll to Top