This is confusing me. In the US, no, it is not legal at all to ask this kind of question on the job application. We can't even ask your age! The form you're filling out seems to be Australian (?), so I'm not sure. Is there a trusted teacher or academic advisor you could ask?
Sounds like a nice experience for you.