GATE 2013 CS (CS1) – Question 3
What is the maximum sum of the sequence 44,42,40,…?
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (C) 506
Explanation
To maximize a prefix sum, include all positive terms and optionally the following zero, but stop before negatives. The positive terms are 44,42,…,2, twenty-two terms with mean (44+2)/2=23. Their sum is 22×23=506, C.
More Quantitative Aptitude: Algebra, Geometry and Mensuration questions
- GATE 2013 CS (CS1) Q6
- GATE 2011 CS (CS1) Q2
- GATE 2011 CS (CS1) Q8
- GATE 2011 CS (CS1) Q9
- GATE 2015 CS (CS2) Q5
- GATE 2015 CS (CS2) Q9
All Quantitative Aptitude: Algebra, Geometry and Mensuration questions →