A computer is a programmable machine that receives input, stores and manipulates data, and provides output in a useful format.