Alphabet Inc., Microsoft Corp. and Texas Instruments Inc. posted double-digit quarterly revenue growth on Tuesday and expressed optimism about the coming months, reassuring investors who had been fretting that the technology industry was poised for a dour second half.