The GATE Grind

GATE 2015 CS (CS3) – Question 9

General Aptitude · Quantitative Aptitude: Algebra, Geometry and Mensuration · 2 marks · Multiple choice

Which equation describes the thick line in the plotted graph?

Diagram for GATE 2015 CS (CS3) question 9
  1. x=y−|y|
  2. x=−(y−|y|)
  3. x=y+|y|
  4. x=−(y+|y|)

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: (B) x=−(y−|y|)

Explanation

For y≥0 the graph lies on the positive y-axis, so x=0. For y<0 it runs through (2,−1), so x=−2y. The expression −(y−|y|) equals zero in the first case and −2y in the second. Thus B.

More Quantitative Aptitude: Algebra, Geometry and Mensuration questions

All Quantitative Aptitude: Algebra, Geometry and Mensuration questions →