<P> Three categories of peripheral devices exist based on their relationship with the computer: </P> <Ol> <Li> an input device sends data or instructions to the computer, such as a mouse, keyboard, graphics tablet, image scanner, barcode reader, game controller, light pen, light gun, microphone, digital camera, webcam, dance pad, and read - only memory); </Li> <Li> an output device provides output from the computer, such as a computer monitor, projector, printer, and computer speaker); and </Li> <Li> an input / output device performs both input and output functions, such as a computer data storage device (including a disk drive, USB flash drive, memory card, and tape drive) and a touchscreen . </Li> </Ol> <Li> an input device sends data or instructions to the computer, such as a mouse, keyboard, graphics tablet, image scanner, barcode reader, game controller, light pen, light gun, microphone, digital camera, webcam, dance pad, and read - only memory); </Li> <Li> an output device provides output from the computer, such as a computer monitor, projector, printer, and computer speaker); and </Li>

10 example of input device and output device