which is responsible for controlling the input and output devices of your computer