A keyboard is an input device because it sends letters, numbers, and commands into the computer. A printer and monitor are output devices, while a CD-ROM is principally a storage medium.