chap4-input-and-output-devices.pdf