A computer is an electronic device that processes information according to instructions, derived from the Latin 'compute' meaning 'to calculate.' It comprises hardware components, such as the CPU, memory, and input/output devices, as well as software programs that manage its functionality, which includes application and system software. Computer memory is categorized into primary (volatile) and secondary (non-volatile) storage, allowing efficient data processing and retrieval.