Answer:
Q I & Q III
Explanation:
See the picture I have attached. The Quadrant numbers are in bold Roman numerals.
Only in quadrants I and III are x and Y both of the same sign.
If the point (a,b) is on an axis, one of the coordinates must be zero, but you were told that neither a nor b is zero, so the axes can be counted out as possible answers.