computer — general-purpose device for performing arithmetic or logical operations