Are these exceedingly simple programs 10 line programs? Otherwise:
How do you know they compile?
How do you know they work?
How do you know they handle all the edge cases you can throw at them.
If you have a 100% accurate parser and compiler in your head, I am impressed.
Our teachers (and this was 15 years ago) had test-runners which would compile and run our programs to make sure they met the requirements of the homework THEN they looked at the code and marked it for style etc.
Sometimes they provided these test runners to us so we could check them ourselves, sometimes they didn't (this was, naturally, harder).