Downvote if the question:
Doesn't show research effort
Asking us to do ... anything, with no attempt to do so oneself.
The question can be answered with a copy-paste from the manual.
The question can be answered by copying directly from one of the results in the first page of a Google search of the title (or similar).
Is unclear
It takes you more than ~10-20 seconds to get a basic idea of what the question is asking.
The language in the question is such a mess that you have absolutely no idea what's going on. It might not even be a programming question. Perhaps the guy's trying to make coffee. Perhaps he's trying to make contact with some Indiansaliens.
I'm fairly lenient on the language aspect - not everyone is particularly good at English. If I can edit it to fix most language issues, I'd rather do that.
The question is underspecified to such an extent that you'll have to write a book if you were to consider all the possible assumptions you could make in trying to answer the question.
One or two unclear things doesn't usually cause me to downvote, but I might vote to close it instead if those things makes it impossible to answer the question.
I consider downvoting on the unclear aspect a more extreme version of voting to close as unclear (although the reverse may be true for some), but I often vote to close as well when downvoting for this reason.
Is not useful
The question is so fundamentally wrong for this site that you have to wonder what OP was smoking.
This is probably more of a repetition issue - just a single off topic question here and there might not be downvote-worthy (arguable...), but if one can't be bothered to post on the correct site or conform to the on-topic guidelines, one really should help oneself to a few downvotes.
You strongly feel that the question wouldn't provide any / much value to anyone else, for whatever reason (but there isn't a close reason that applies).
Ideally we should be allowed to close these, but work with what you've got, I guess... (there is the unreproducible / typographical error reason, but that doesn't exactly cover everything)
I personally feel "Is my answer right?"-type questions (e.g. complexity analysis of functions, binary search tree insertions by hand) are often not particularly useful, so I may downvote them.
And absolutely DO NOT comment without downvoting where a downvote would've been appropriate, hoping OP will fix their issues eventually, or that that those one or two downvotes already on the question is enough ... poor them. You're killing the site if you do this. Questions with a few downvotes that get fixed can easily pick up enough upvotes again to reach a positive score. And while some may change due to a few "What have you tried?" comments on their question, the vast majority is unlikely to, where-as a handful of downvotes is way more likely to change them, or at least get them off the site quick enough if they don't.
Although, by all means, downvote and post a comment if you wish. But I personally feel that "This question does not show any research effort; it is unclear or not useful" is pretty self-explanatory in most cases, although this isn't really the issue up for discussion here.