The document summarizes the five generations of computers based on their technological developments. The first generation used vacuum tubes, the second used transistors, the third used integrated circuits, the fourth used microprocessors, and the fifth generation focuses on artificial intelligence. Each generation brought improvements in size, cost, speed, reliability and other factors. The document also categorizes computers based on their principles of operation and configuration.