Question:medium

A student needs to enroll for a minimum of 60 credits. A student cannot enroll for
more than 70 credits. The credits are divided amongst project and three distinct
sets of courses namely, core courses, specialization courses, and elective courses.
It is compulsory for a student to enroll for exactly 15 credits of core courses and
exactly 20 credits of project. In addition, a student has to enroll for a minimum of
10 credits of specialization courses. The maximum credits of elective courses that
a student can enroll for is ______

Show Hint

Maximize electives by taking Total credits at its upper limit (70) and specialization credits at its lower limit (10), then subtract the fixed core (15) and project (20) credits.
Updated On: Jul 7, 2026
  • 10
  • 15
  • 20
  • 25
Show Solution

The Correct Option is D

Solution and Explanation

Alternate approach - set up the credit equation directly: Let $E$ be elective credits and $S$ be specialization credits. Then:
$$15 + 20 + S + E = \text{Total}$$
Given constraints: $S \ge 10$ and $60 \le \text{Total} \le 70$. Rearranging gives $E = \text{Total} - 35 - S$.
Since $E$ increases as Total increases and decreases as $S$ increases, maximizing $E$ requires the largest Total (70) and the smallest $S$ (10).
So $E_{max} = 70 - 35 - 10 = 25$.
The maximum elective credits a student can enroll for is $25$.
Was this answer helpful?
0

Top Questions on Numerical Ability


Questions Asked in GATE CS exam