Computer crawls to a stop

My computer often freezes and shows CPU usage of 100%. The mouse pointer moves, but nothing else, keyboard or mouse-click, would register. The programs that take up the CPU are several. It can be iexplore.exe, taskmgr.exe, or svchost.exe for network service....

I'd appreciate if a knowledgeable person can point to what the problem is.