define computer and its characteristics