GATE CSE 2026 Session 1 Q8: Express a ramp function using max(S − K, 0) terms
- General Aptitude
- 2 marks
- MCQ
- −2/3 if wrong
Question
For positive real numbers and , the function is defined as: . The max function is defined as:
The graph below shows the plot of a function versus .
can be expressed as _____.

Try it: multiple choice: exactly one correct option
Show answer and explanation
Answer: A (official GATE 2026 final answer key)
Concept used: Piecewise-linear functions as sums of shifted ramps: each kink adds or removes a slope of 1.
First step: The slope turns on at and turns off at ; write a ramp starting at 10 minus a ramp starting at 20.
Full step-by-step solution
Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.
Share this question
Source: official GATE 2026 Session 1 CS question paper and final answer key, organised by IIT Guwahati. Question paper · Answer key
More General Aptitude PYQs
- 2026 Session 1 · Q1Antonym of protagonist
- 2026 Session 1 · Q2Which grid cannot be tiled by a 2×2 square and a 1×4 bar
- 2026 Session 1 · Q3Games needed in a 64-player knock-out tournament
- 2026 Session 1 · Q4Maximum elective credits under credit constraints
- 2026 Session 1 · Q5Statement not implied by 'teacher in room ⇒ students stand silently'
- 2026 Session 1 · Q6Inference from a passage on combinatorics in physical models