General-purpose computers can handle a variety of problems and tasks by running different programs, while special-purpose computers are designed to perform a single, specific task through permanently stored instructions and are more efficient at that single task but cannot take on other roles. General-purpose computers have the flexibility to run many programs for different needs, while special-purpose computers are dedicated to one pre-programmed task that they can perform very quickly.