The textbook definition of EC is that it is outside the curriculum. So no, it’s not an EC.
That is called “homework.”