The Nasdaq composite picked up 54 points to finish at 1,972.28, while the Dow Jones industrial average shot up 260 points to end at 9,947.54.
"Generally, consumer confidence runs a bit ahead of the economy. When you see improved consumer confidence, you are going to see some additional spending," Joseph Barthel, chief investment strategist at brokerage Fahnestock & Co. told Reuters. "So possibly the lows we have seen in tech stocks, or even recently some larger-cap names, may improve come the third quarter."
U.S. consumer confidence--a broad gauge of consumer attitudes--rose steeply in March, triggered by an improvement in the economic outlook for the next six months and better job prospects, the Conference Board said on Tuesday. The index rose to 117 in March from an upwardly revised February reading of 109.2, surprising analysts who had forecast a drop to 104.5.
However, a report on durable goods--which indicates consumers' appetite for expensive manufactured products ranging from refrigerators to airplanes--showed a modest drop in February after a steep decline the previous month. The number fell 0.2 percent in February to a seasonally adjusted $199.20 billion. The data were weaker than expected, confirming a slowing in the U.S. economy and giving more hope that Greenspan would lower interest rates yet again.
The mixed data likely means the Federal Reserve will resist the temptation to cut interest rates before its next meeting in May, analysts said.
Intel moved up $1.06 to $29.38. Advanced Micro Devices picked up 97 cents to $29.71, and IBM finished up $4.10 to $99.50.
Vitesse Semiconductor tumbled $4.88 to $29.06 after it lowered estimates for the second time in three weeks. Rival TranSwitch lost $3.75 to $15.13 following a profit warning. PMC-Sierra trimmed 86 cents to $31.40, and Conexant lost 44 cents to close at $10.06.
Yahoo moved up $1.38 to $15.56. Amazon.com and eBay rose 66 cents and $1.56 a share, respectively, while AOL Time Warner gained $2.11 to $43.
The cuts at mobile phone makers also continued, as Ericsson, up 88 cents to $6.72, and Nokia, up 26 cents to $27.34, each announced a new round of layoffs.
Cisco Systems inched up 25 cents to $18.13. Nortel Networks trimmed 16 cents to $16.76, and Lucent Technologies closed off 29 cents to $11.70.
Microsoft tacked on $2.19 to $58.25. Oracle picked up 96 cents to $16.65, and Sun Microsystems moved up 17 cents to finish at $17.41.
Among widely held PC stocks, Dell jumped $1.31 to $27, Gateway inched up 3 cents to $17, Apple Computer gained $1.09 to $22.87, and Compaq Computer rose 38 cents to end at $20.28.
Staff and Reuters contributed to this report.