GATE CS 2026 · Set-1 · Numerical Computation & Estimation

MCQ · 2 marks · Problem GA-QUAN-0021

For positive real numbers \(S\) and \(K\), the function \(H_{K}(S)\) is defined as: \(H_{K}(S)=\max (S-K, 0)\). The max function is defined as:\[\max (a, b)=\left\{\begin{array}{ll} a, & \text { when } a>b \\ b, & \text { when } a \leq b \end{array}\right.\]The graph below shows the plot of a function \(N(S)\) versus \(S\). \(N(S)\) can be expressed as .
Diagram
  1. A
    \(H_{10}(S)-H_{20}(S)\)
  2. B
    \(H_{10}(S)-2 H_{20}(S)\)
  3. C
    \(-H_{10}(S)+H_{20}(S)\)
  4. D
    \(H_{15}(S)-H_{20}(S)\)

Solve it on GATE DA practice →More Section 2: Quantitative Aptitude problems

Show the worked solutionOfficial GATE Answer Key: Option A.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/523082/gate-cse-2026-set-1-ga-question-8

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com