No, don't close them as homework. Here is a similar (not identical) discussion from pets.se:
Should I be creating questions and answers for topics easily found when googled?
In the answer, it was noted that on a site like Stack Overflow, general reference questions are discouraged as general knowledge, but on other sites, it's good to have a basic, detailed, canonical answer to any question that has to do with a basic, widely known topic.
If you answer a general reference question, remember to be detailed and authoritative, better than your average google find on the topic. I brought this up here on pets, when I saw a general reference question, and reminded the user to make it an exceptionally good thread, which I think he did well.
In the case you brought up in your question, That was so low quality it would need a major edit to make it worthwhile to answer without narrowing the scope. I think it should have been closed as 'too broad', or edited into shape. Remember, the hover over the downvote button says,
This question does not show any research effort; it is unclear or not useful.
While the question was clear, it showed a lack of research. It could have been useful, if it was written well, and used as an on-site reference on the topic.