Isaac Asimovs's "The Last Question" is an excellent short story and I consider it among one of the greatest works of science-fiction. It describes a fictional future where humanity creates a computer that acheives the singularity (written in 1956!), with an interesting twist at the end.