Question: usb is output or input device?
Answer: It is both. A flash drive, for instance, is an input device when you're copying files from it, and an output device when you're copying files into it. An USB headset is an output device (because of the audio coming out of the headphones) but also an input device (because of the audio captured by its microphone).