Computer architecture refers to the process of arranging hardware and software together to create a computer system. It involves the design and integration of various devices, including memory, processors, input/output devices, and communication channels. The three main categories of computer architecture are system design, instruction set architecture, and microarchitecture. Each category has its own unique characteristics and features that impact the logical implementation of programs.