A look at the best and worst performers in the Dow Jones industrial average, which tracks 30 key U.S. companies; the biggest industry gainers and decliners in the broader S&P 500 index, which ended nearly flat for the year; and some companies that rattled investors in 2011.