Isaac Asimov has a brilliantly-written, chilling (indeed, to some, downright terrifying) very short story on this very topic:
http://www.multivax.com/last_question.html "The Last Question"
I won't spoil it for you. But go read it.
http://www.multivax.com/last_question.html "The Last Question"
I won't spoil it for you. But go read it.