GATE CS 2026, set 1 · Question 8 · General Aptitude · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer
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) = 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 ______.

- (A) H₁₀(S) - H₂₀(S)
- (B) H₁₀(S) - 2H₂₀(S)
- (C) -H₁₀(S) + H₂₀(S)
- (D) H₁₅(S) - H₂₀(S)
Answer
Answer (A)
Answer from the official GATE CS 2026 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes