It seems like many questions by new users are downvoted immediately. Sometimes there is a comment to the tune of "lacks research", "we're not here to do your homework", or "show us some effort".
Now I wonder, what does it matter how much work someone has done before posting? If someone can ask a good question in 5 seconds, more power to them.
To illustrate this point, look at how you could "improve" a question to include proof of effort. You could put in 5 failed code snippets and their in- and output. This would make for very long questions with a high noise ratio.
Another suggestion is to add "research". By "research", I suppose most programmers mean "Google". So this is basically a suggestion to add a list of fruitless Google queries. That doesn't sound interesting either.
How can "proof of effort" turn a bad question into a good one?