How do you classify a computer by the purpose?

There are either special-purpose or general purpose computers.