結果 : explain the interfacing of input and output devices with a neat diagram