GateAI
Quantitative Aptitude

GATE CSE 2026 Set 1 · Q8

MCQ2 marksEasy

Time

For positive real numbers SS and KK, the function HK(S)H_K(S) is defined as: HK(S)=max⁡(S−K,0)H_K(S) = \max(S - K, 0). The max⁡\max function is defined as: max⁡(a,b)={a,when a>bb,when a≤b \max(a, b) = \begin{cases} a, & \text{when } a > b b, & \text{when } a \le b \end{cases} The graph below shows the plot of a function N(S)N(S) versus SS. N(S)N(S) can be expressed as ______.

GATE CSE 2026 Set 1 Q8 diagram

Select one answerSingle correct

Pick an option to check

Solution

Step-by-step verified solution

Official answer: A) H10(S) - H20(S)

Quantitative Aptitude

From the given graph, the function N(S)N(S) behaves piecewise as follows:

  1. For 0≤S≤100 \le S \le 10:

    N(S)=0N(S) = 0
  2. For 10<S≤2010 < S \le 20:

    N(S)=S−10N(S) = S - 10

    (The line connects (10,0)(10, 0) to (20,10)(20, 10) with slope m=1m = 1).

  3. For S>20S > 20:

    N(S)=10N(S) = 10

Now, let us evaluate the given options using the definition HK(S)=max⁡(S−K,0)H_K(S) = \max(S - K, 0):

For Option (A): $N(S) = H_{10}(S) - H_{20}(S)$

  • When S≤10S \le 10:

    H10(S)=0,H20(S)=0  ⟹  N(S)=0−0=0H_{10}(S) = 0, \quad H_{20}(S) = 0 \implies N(S) = 0 - 0 = 0
  • When 10<S≤2010 < S \le 20:

    H10(S)=S−10,H20(S)=0  ⟹  N(S)=(S−10)−0=S−10H_{10}(S) = S - 10, \quad H_{20}(S) = 0 \implies N(S) = (S - 10) - 0 = S - 10
  • When S>20S > 20:

    H10(S)=S−10,H20(S)=S−20  ⟹  N(S)=(S−10)−(S−20)=10H_{10}(S) = S - 10, \quad H_{20}(S) = S - 20 \implies N(S) = (S - 10) - (S - 20) = 10

This completely matches the graph of N(S)N(S).

Therefore, the correct option is (A).

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This Quantitative Aptitude previous year question is Q8 of the GATE CSE 2026 Set 1 paper. Find more GATE CSE PYQs on Quantitative Aptitude in General Aptitude, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Quantitative Aptitude PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Quantitative Aptitude in GATE CSE

Quantitative Aptitude has 53 GATE CSE PYQs across 13 papers from 2011 to 2026. 27 of them are 2-mark MCQs like this one, and GATE CSE 2026 Set 1 has 4.

How GATE tests Quantitative Aptitude

More from GATE CSE 2026 Set 1

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2026 Set 1 · Q8 · MCQ

For positive real numbers S and K, the function HK(S) is defined as: HK(S) = max(S - K, 0). The max function is defined as: max(a, b) = a, & when a > b b, & when a ≤ b The graph below shows the plot of a function N(S) versus S. N(S) can be expressed as …

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.