A computer is a programmable machine or system designed to perform arithmetic and logical operations automatically and consecutive on the input is given by the user and provides the required output gives the desired output after processing.

Computer components are divided into 2 major classes specifically hardware and software.

Hardware can be defined as the machine itself and its connected devices like monitor, keyboard, mouse etc.

Software can be defined as the set of programs using hardware for performing various functions.