I don’t think homework is protected since its purpose IS to submit to an employee of a public school.
It absolutely is protected. I do copyright matters all the time.