Answer: (B) Assertion is correct, reason is correct; reason is not a correct explanation for assertion.
Explanation:
Step 1: the range of each piece.
- For x<0, f(x)=x+2. As x runs over all negative numbers, x+2 runs over all numbers less than 2. So this piece covers (−∞,2).
- For x≥0, f(x)=x2. As x runs from 0 upward, x2 takes every value from 0 upward. So this piece covers [0,∞).
Step 2: f is onto. The two pieces together cover
(−∞,2)∪[0,∞)=R.
So every real y is an output. For instance, y=−5 comes from x=−7, and y=9 comes from x=3.
Step 3: f is not one-one. The two piece-ranges overlap on [0,2). Any y in that band is reached once by each piece. For example, y=1:
f(−1)=−1+2=1,f(1)=12=1,but −1=1.
So the Assertion is correct.

Step 4: the Reason is correct. On x<0, x+2 is strictly increasing, so it is one-one there. On x≥0, x2 is strictly increasing (if 0≤a<b then a2<b2), so it is one-one there too. The Reason is correct.
Step 5: it does not explain the Assertion. The Reason is about each piece separately. Whether f is one-one on all of R depends on something the Reason never mentions: whether the two pieces share output values. Here they do (on [0,2)), so f is not one-one even though each piece is. The Reason also says nothing about onto, which comes from the two ranges covering R. If the first piece were x−2 instead, each piece would still be one-one and the Reason would be unchanged, but the ranges (−∞,−2) and [0,∞) would not meet and the value −1 would be missed: f would then be one-one but not onto.
Both statements are true, but the Reason does not explain the Assertion: option (B).