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

Questions 6-10 of 100

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

Question 6

MCQ · Single Correct 1 mark

Consider the functions $f(n) = n^2$ and g(n) = $2^{log_2$ n}. What is the relation between f(n) and g(n)?

Answers for question 6

Question 7

MCQ · Single Correct 2 mark

Which of the following functions grows asymptotically fastest as n -> infinity?

Answers for question 7

Question 8

MCQ · Single Correct 2 mark

Let $f(n) = n^0$.99 log n and g(n) = n. Which of the following is TRUE?

Answers for question 8

Question 9

MCQ · Single Correct 2 mark

What is the asymptotic growth rate of f(n) = 2^{$2^n}$ compared to g(n) = (n!)!?

Answers for question 9

Question 10

MCQ · Single Correct 2 mark

Arranging the functions f1(n) = $n^100$, f2(n) = $2^n$, f3(n) = $2^(sqrt(2$ log n)), f4(n) = n! in increasing order of asymptotic growth yields:

Answers for question 10
Scroll to Top