The Dow Jones Industrial Average, S&P 500 and Nasdaq Composite all rose on Tuesday, with tech stocks leading the gains. The tech-heavy Nasdaq Composite added 0.8%, with Microsoft and Apple contributing the most to the index’s advance. The S&P 500 gained 0.6%, with the energy sector leading the gains. The Dow Jones Industrial Average rose 122 points, or 0.4%, to close at 34,323.