In spite of the aforementioned input and output components, computers have multiple input/output ports one of such types is the USB ports. The machine utilizes a number of input and output components, such as keyboard and mouse as input, while monitor as output for these operations.
You may also term a computer as a machine that processes data in one form and gives output in another form.
A computer is an electronic device that takes certain types of data as its input and transforms it into another form of data or signal after multiple stages of data processing.