A peripheral device (this can be a barcode reader, a graphics tablet, a keyboard, a magnetic stripe reader, a modem, a mouse, a scanner, or a stylus) enters data or…