Computer architecture is a mathematical system that enables computers to compute, retain, and retrieve information using numerical data. It involves both hardware and software components, with the processor being the core element that executes programs, while various memory types support data storage and processing. User functionality is managed through multiple software layers that interact with each other to deliver seamless operation.