0% found this document useful (0 votes)
17 views

Input Devices

Input devices such as keyboards, mice, and scanners are used to convert real-world inputs into digital data that can be processed by computers. Barcodes and QR codes are types of scanners that represent codes as patterns of light and dark lines or squares. Barcodes are read by laser scanners while QR codes can hold more data and are read by smartphone cameras. Both allow items to be automatically identified and information to be retrieved from databases for tasks like pricing items or updating stock levels during checkout. QR codes also allow linking to websites or contact information.

Uploaded by

maissaa.rasmi
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

Input Devices

Input devices such as keyboards, mice, and scanners are used to convert real-world inputs into digital data that can be processed by computers. Barcodes and QR codes are types of scanners that represent codes as patterns of light and dark lines or squares. Barcodes are read by laser scanners while QR codes can hold more data and are read by smartphone cameras. Both allow items to be automatically identified and information to be retrieved from databases for tasks like pricing items or updating stock levels during checkout. QR codes also allow linking to websites or contact information.

Uploaded by

maissaa.rasmi
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 15

INPUT DEVICES

BARCODES & QR CODES


WHAT ARE INPUT DEVICES

• Every computer system receives commands and data, from the real world,
via input devices
• Input devices converts inputs into digital data which can be processed
• For conventional computer systems, such as desktop computers and laptops,
the most common input devices are the mouse and the keyboard
• There are a wide range of input devices used in more specialist computer
systems such as scanners and sensors (For barcodes and QR codes)
WHAT ARE BARCODES

• A barcode is a series of dark and light parallel lines of varying thickness.


• The numbers 0 to 9 are each represented by a unique series of lines.
• Each digit in the barcode is represented by bars of 1 to 4 blocks thick.
• Each digit is made up of 2 dark lines and two light lines.
• The width representing each digit is the same.
• The digits on the left have an odd number of dark elements and always begin with a light bar;
the digits on the right have an even number of dark elements and always begin with a dark bar.
• This arrangement allows a barcode to be scanned in any direction.
HOW BARCODES WORK

• Barcodes are a series of black and white bars which represent a code
• A barcode reader shines a red laser at the barcode to read the data it represents
• The light from the white lines is reflected back and black lines absorb the light
so less is reflected
• The different levels of reflection are read by photoelectric cells and converted
into a binary value which can be processed by a microprocessor
• The white lines are represented as 0s and the black lines as 1s
WHAT HAPPENS AFTER

• The barcode number is looked up in the stock database


• When the barcode number is found, the stock item record is looked up and the price is
sent to the checkout
• The number of stock items in the record is reduced by 1 each time the barcode is read
• The number of stock items is compared to the re-order level if needed items are
automatically ordered and a flag is added to stop re-ordering every time the stock item
barcode is read
• When new stock items arrive, levels are updated in the database
ADVANTAGES

FOR THE MANAGEMENT FOR CUSTOMERS

• Much easier and faster to change • Faster checkout queues


prices on stock items • Errors in charging customers is
• Reduces time and cost to the reduced
management • The customer is given an itemized
• Allows for automatic stock control bill
WHAT ARE QR CODES

• It is another type of barcode (quick response (QR) code)


• A QR code consists of a block of small squares (light and dark) known as pixels.
• It can presently hold up to 4296 characters (or up to 7089 digits)
• It also allows internet addresses to be encoded within the QR code
• The three large squares at the corners of the code function as a form of alignment
• The small corner square is used to ensure the correct size and correct angle of the
camera shot when the QR code is read
USES OF QR CODES

• For advertising products


• Giving automatic access to a website or contact telephone number
• Storing boarding passes electronically at airports and train stations
READING QR CODES ON THE MOVE

• Point the phone camera at the QR code


• The app will now process the image taken by the camera, converting the squares into
readable data
• The browser software on the mobile phone automatically reads the data generated by the
app decoding any web addresses contained within the QR code
• The user will then be sent to a website automatically (or if a telephone number was
embedded in the code, the user will be sent to the phone app)
• If the QR code contained a boarding pass, this will be automatically sent to the phone
ADVANTAGES OF QR CODES DISADVANTAGES OF BARCODES

• They can hold much more information • Normal barcodes contain almost no
• There will be fewer errors; the higher data redundancy
capacity of the QR code allows the use • It isn’t possible to guard against
of built-in error-checking systems
badly printed or damaged barcodes
• QR codes are easier to read they can be
read by the cameras on smartphones
• They need expensive laser or LED
(light emitting diode) scanners
• It is easy to transmit QR codes either as
text messages or images
• QR codes can be encrypted giving them
greater protection than barcodes
DISADVANTAGES OF QR CODES

• More than one QR format is available


• QR codes can be used to transmit malicious codes – known as attagging.
• There are a large number of free apps available for generating QR codes, meaning
anyone can do this. It is relatively easy to write malicious code and embed this within
the QR code.
• When the code is scanned, it is possible the creator of the malicious code could gain
access to everything on the user’s phone, the user could be sent to a fake website or it is
even possible for a virus to be downloaded
NEW DEVELOPMENTS

• Newer QR codes (called frame QR codes) are now being used because of the
increased ability to add advertising logos
• Frame QR codes come with a ‘canvas area’ where it is possible to include
graphics or images inside the code itself.
• Unlike normal QR codes, software to do this isn’t usually free.
THANK YOU

You might also like