GATE 2021 CE (CE1) – Question 9
Define $\lambda(p,q)=(p-q)^2$ for $p\ge q$ and $p+q$ for $p<q$. Evaluate $\lambda(-(-3+2),(-2+3))/(-(-2+1))$.
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (B) 0
Explanation
The two arguments in the numerator are $-(-3+2)=1$ and $-2+3=1$. Equality uses the first branch, so $\lambda(1,1)=0$. The denominator is 1; therefore the quotient is **0 (B)**.