Reference: Fetch Random data from a table in access
How often does it not happen that a 1 rep user comes to SO to ask a question that is almost equal to a google search operation? The answer is, more often than you would think.
I was thinking to have a filter in place for low-rep users (let's say <25) that checks the length of a question. If there's only one sentence, it's very likely to be off-topic, unconstructive, etc... The requirement could be, for example, at least two paragraphs with each at least 2 sentences OR one paragraph with at least 4. Preferrably also a bit of code (give them a message instructing them how to do this, also encouraging them). Then again, check if the question is not an entire code dump (I've seen people post the entire source of whatever they are trying to do, where one single line gives an error).
If a newcomer decides to use spam to fill in the question field up to the required amount of paragraphs/code, a temporary ban might be a solution. I know it seems harsh, but I have the feeling that only 10-ish percent of questions by <10 rep users is actually acceptable... And then I'm doing my best to remember optimistically.
On the plus side, this restriction will teach them that they need to actually construct questions rather than pose them. This will also protect themselves against downvotes, because I can imagine a new user with good intentions can easily be scared off by seeing that a simple question receives so many downvotes, and thinking the SO community is plain rude or unwilling.