I agree that the kids probably didn’t know what they were writing. But, informed parents should warn their children about things like this, and the parents should even be willing to see their children fail the assignment, rather than write something so blasphemous.
Actually, it seems like the assignment was a printout and it told the students that it was the Islamic statement of faith. They just weren’t given the translation, in that case.