Skip to content
Official PYQ · 1996

GATE CS 1996 Q1.11 — Asymptotic Worst Case Time and Space Complexity

Explain with AI

Which of the following is false?

Choose one option
View worked solution

Answer: B

To find which statement is false, let us analyze each option using asymptotic notations:

  • Option A: 100nlog⁡n=O(nlog⁡n100)100n \log n = O\left(\frac{n \log n}{100}\right)
    In asymptotic analysis, constant factors are ignored. Both functions belong to the complexity class Θ(nlog⁡n)\Theta(n \log n). Since f(n)=Θ(g(n))  ⟹  f(n)=O(g(n))f(n) = \Theta(g(n)) \implies f(n) = O(g(n)), this statement is true.
  • Option B: log⁡n=O(log⁡log⁡n)\sqrt{\log n} = O(\log \log n)
    Let u=log⁡nu = \log n. The statement becomes u=O(log⁡u)\sqrt{u} = O(\log u).
    As u→∞u \to \infty, any positive power of uu (such as u0.5u^{0.5}) grows strictly faster than any logarithmic function of uu (such as log⁡u\log u).
    Mathematically, lim⁡u→∞ulog⁡u=∞\lim_{u \to \infty} \frac{\sqrt{u}}{\log u} = \infty Therefore, log⁡n=Ω(log⁡log⁡n)\sqrt{\log n} = \Omega(\log \log n) and is not O(log⁡log⁡n)O(\log \log n). This statement is false.
  • Option C: If 0<x<y0 < x < y, then nx=O(ny)n^x = O(n^y)
    Since x<yx < y, the polynomial nxn^x grows strictly slower than nyn^y. Thus, nx=O(ny)n^x = O(n^y) is true.
  • Option D: 2n≠O(nk)2^n \neq O(n^k) (or O(nk)O(nk))
    An exponential function 2n2^n grows strictly faster than any polynomial function nkn^k (or linear function nknk) for a constant kk. Thus, 2n2^n cannot be bounded above by nkn^k, making the statement 2n≠O(nk)2^n \neq O(n^k) true.

Thus, the false statement is B.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Asymptotic Worst Case Time and Space Complexity questions