The Dow Jones industrial average rallied up 138 points to close at 10,729.60.
"You want to believe you have seen the worst, but anybody's predictions are a leap of faith," said Dick Schmaltz, director of investment at J. & W. Seligman. "On the one side, operating fundamentals continue to deteriorate. On the other side, the market has been correcting now for almost a year."
Abby Joseph Cohen, Goldman Sachs' chief investment strategist, helped tech stocks move higher after she told clients to use their cash to buy beaten-down stocks, and she raised the equity allocation in Goldman's model portfolio to 70 percent from 65 percent.
"Many of the imbalances identified during the past year have now been largely redressed," said Cohen, one of Wall Street's most influential strategists. Last March, Cohen recommended that investors reduce their holdings in technology stocks.
Yahoo shares closed off $1.44 to $20.94 after the stock was halted for most of the day after Merrill Lynch analyst Henry Blodget said the company dropped out of his brokerage's Internet conference in New York. Yahoo will hold a conference call at 2:15 p.m. PST Wednesday to make an announcement.
Amazon.com inched up 38 cents to $12.25, while eBay and CMGI gained $2.19 and 50 cents a share, respectively. America Online Time Warner dropped $1.24 to $45.30.
Intel gained $1.44 to $32.94 after a couple of analysts cut the company's ratings and warned investors not to expect a recovery.
Advanced Micro Devices gained 25 cents to $25, and IBM rose $1.55 to finish at $107.55.
Shares of Broadcom shed $7.63 to $40.25 a day after the company warned investors it would fall short of earnings and revenue expectations for the first quarter.
Cisco Systems closed unchanged at $24. Nortel Networks inched up a nickel to $19, and Lucent Technologies lost 35 cents to $12.75.
Among widely held PC stocks, Dell Computer trimmed 25 cents to $25.94; Gateway added 75 cents to $17.72; Compaq Computer lost 38 cents to $21.79, and Apple Computer clipped 25 cents to finish at $21.25.
Microsoft picked up $1.25 to $60.69. Oracle moved up $1 to $18.63, and Sun Microsystems trimmed 19 cents to $22.06.
Staff and Reuters contributed to this report.