I disagree. The problem as written has a very clear and definite meaning. There is no ambiguity here.
And I respectfully disagree. As an engineering firm participating in real world problems where we do in fact have to submit calculations & drawings to local jurisdictions, I can state that it is company policy to
ALWAYS use parenthesis to avoid ambiguous interpretations of signs & quantities.The negative sign out front is ambiguous - especially to a child learning operations.
The teacher should have used either -(5^2) or (-5)^2 to avoid any confusion. While you are correct about the proper order of operations on this problem, it is borderline a trick question with the placement of the negative sign without any parenthesis. I'm not sure we ought to be teaching sneaky tricks to kids - we ought to be teaching them proper use of mathematical processes. In fact, the problems should have been written as subtraction problems rather than adding negative problems.
And as an addition, I'll add that I was a teacher of math & physics for 12 years before getting my engineering degrees & opening our own company. I never would have used a confusing question like this in class or on a test. Your goal as a teacher isn't to try to trip kids up.