You should only use tables for tabular data, not for displaying normal content. That should be done with span and div tags.
And yes, your code will not pass the validator. I’d imagine it may look fine on internet explorer, but on other browsers such as firefox, that are more strict with coding standards, it would fail. That is most likely your teachers problem.
–mark