Hewlett-Packardbeat on earnings and announced plans to lay off 27,000 employees, or 8% of its workforce. Its third-quarter outlook fell short of expectations but its full-year topped the consensus.

Hewlett Packard

Shares of the world's No. 1 personal computer maker rose more than 10 percent in after-hours trading. (Get the latest HP quote here.)