Speakers are a output device.
Computer Hard Disk Drive , USB Pen Drives, Computer Memories (RAM) etc. are all i/o Devices.
all in one printer, which has scanner, printer, copier, and fax
It is output because the device that it's connected to (computer, ipod etc) is putting out the music/noise to you.
probably both
How to Understand Basic Digital Input and Output
One-Click Input/Output Switching in OS X - Tekzilla Daily Tip
DVDO Edge HD Switcher Review
Learn What BIOS Means