I came across this question and noticed it had been almost immediately answered by the poster, within less than a minute of it being posted. I understand it's acceptable to ask questions and answer them yourself if you solve the question yourself at a later time, but the response time on his answer leads me to believe he is just attempting to get some quick rep.
A quick browse of his profile shows that every question he has asked has been answered by himself, with 3 of them being within a minute of posting.
Is it acceptable to post a question, knowing the answer at the time of writing it, and then posting the answer immediately?