Question: is a cpu hardware or software?
Answer: CPU is a physical object that processes information on a computer, so it is hardware. BUT, the way it works on the inside is a mixture of both hardware and firmware. (Firmware is software that enables low-level control of a device.)