A computer is a programmable machine that is both electronic and digital. The actual machinery is hardware; the instructions and data is software