Consider the equality Σi=0n i3 = X and the following choices for X I. (n4) II. (n5) III. O(n5) IV. (n3) The equality above remains correct if X is replaced by
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2015 Set 3 · Q4
Time
Select one answerSingle correct
Solution
Official answer: C) I or III or IV but not II
Asymptotic AnalysisThe sum of cubes of the first integers is given by the formula:
The leading term is , so the exact growth rate is .
Let us analyze the given asymptotic choices for :
I. : True, since .
II. : False, because the polynomial has degree , not .
III. $O(n^5)$: True, because represents an upper bound and for all sufficiently large .
IV. : True, because represents a lower bound and for all sufficiently large .
Therefore, replacing with I, III, or IV keeps the equality correct, but II does not [1]. This corresponds to option (C) [1].
Try the question first, then check your work.
Examiner trap
Compute the closed-form sum of cubes of integers up to and check whether it satisfies the definitions of , , and .
This Asymptotic Analysis previous year question is Q4 of the GATE CSE 2015 Set 3 paper. Find more GATE CSE PYQs on Asymptotic Analysis in Algorithms, or browse all GATE CSE PYQs.
Free diagnostic
Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Asymptotic Analysis PYQs now with no account.
An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.
Asymptotic Analysis has 31 GATE CSE PYQs across 19 papers from 2011 to 2026. 15 of them are 1-mark MCQs like this one, and GATE CSE 2015 Set 3 has 2.
How GATE tests Asymptotic AnalysisIndependent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.