Chapter 3 - Input & Output Devices
Chapter 3 - Input & Output Devices
DEVICES
Input and output devices allow the computer system to interact with the outside world by
moving data into and out of the system.
An input device is used to bring data into the system.
An output device is used to send data out of the system
Input devices :
• scanners
• barcode readers/scanners
• quick response (QR) code readers
• digital cameras
• keyboards
• pointing devices (such as a mouse)
• microphones
• touchscreens
• sensors
• interactive whiteboards.
Input device : Scanners:
a scanner is an electronic device that can scan handwritten or printed documents and pictures and
transforms them into a digital file format (soft copy) which can be stored in electronic form in a computer
or mobile device.
This is an input device that works by shining a light onto the surface of a document. The light source is
automatically moved across the document and the reflected light is captured by mirrors and lenses.
Two types :
1. Two-dimensional (2D) :
Flatbed scanner Sheet-fed scanners Handheld scanners
2. Three-dimensional (3D):
X-rays CT scanners computerized tomography, radio frequencies MRI magnetic resonance imaging
and gamma rays SPECT single photon emission computed tomography.
Input device : 2D scanner
Stages of scanning a document : (optional)
1.The document is places on the glass panel of a scanner and the cover is closed.
3.The entire mechanism (mirrors, lens, filter and CCD array) make up the scan head. The scan head is
moved slowly across the document by a belt that is attached to a stepper motor.
4.Using a series of mirrors and lenses ,the light is bounced back at the sensory array CCD
7.Software produces a digital image from the electrical form (binary code )
Input device : 2D scanner
OPTICAL CHARACTER RECOGNITION (OCR) software :
• Optical Character Recognition (OCR) is a software technology that can convert images of text into an
actual text file that can then be edited (e.g. using word-processing software). The result is just as if the
text had been typed in by hand.
• OCR is typically used after a page of a book has been scanned. The scanned image of the page is
then analyzed by the OCR software which looks for recognizable letter shapes ,compare them with the
saved letters , and generates a matching text file.
• Advanced OCR software can recognize normal handwriting as well as printed text - this is usually
called handwriting recognition.
Input device : 2D scanner
Applications of 2D scanners at an airport :
2D scanners are used at airports to read passports.
1. They make use of OCR technology to produce digital images. The OCR software is able to review
these images, select the text part and then automatically put the text into the correct fields of an
existing database.
2. a. At many airports the two-dimensional photograph in the passport is also scanned and stored as
a jpeg image.
b. The passenger’s face is also photographed using a digital camera .
c. A 2D image is taken so it can be matched to the image taken from the passport.
d. The two digital images are compared using face recognition/detection software.
Input device : 3D scanner
Three dimensional scanner
• A 3-D scanner is an imaging device that collects distance point measurements from a real-world object and
translates them into a virtual 3-D object.
• This is an input device where a laser or a light source is moved across an object. The width, height and depth
of the object are measured to allow a model to be created.
Definition : Is an optical scanner that can read printed barcodes, decode the data contained in the barcode
1. Fast checkouts : improves the shopping experience in shops or malls on POS (point of sale terminal)
2. Business tracking : Businesses use barcode readers to protect their property from being stolen.
3. Library management : where barcodes are used in books and on the borrower’s library card. Every time a
book is taken out, the borrower is linked to the book automatically. This allows automatic checking of when the
book is due to be returned, for example.
4. Inventory control and management: Barcode scanners are very useful in tracking the flow of goods from the
manufacturers to the warehouses and so on.
5. Ticket verification
Barcode reader : checkout (POS) in supermarkets.
Input and Output devices at the checkout:
Input devices
Barcode reader - to scan item bar codes
Touch Screen : to select items by touching an icon
Keypad : to key in the number of items bought, a weight ,or the barcode if it cannot be read by the barcode reader/scanner
Chip and PIN reader - used by customers to enter PIN number for electronic fund transfer (EFT) payments
Magnetic Stripe Reader - used scan customer loyal cards (Tesco club card, Shukran card etc.)/ read customer ‘s credit/debit
card
Output devices
Screen / Monitor - to view scanned items
Speaker - to output sound that item has been scanned properly
Printer - to print the customer receipt
Barcode reader : checkout (POS) in supermarkets.
How does the stock system work using barcode reader at POS?
• The barcode number is looked up in the stock database (the barcode is known as the KEY FIELD in the stock item
record); this key field uniquely identifies each stock item.
• When the barcode number is found, the stock item record is looked up.
• The price and other stock item details are sent back to the checkout (or POINT OF SALE TERMINAL (POS)).
• The number of stock items in the record is reduced by one each time the barcode is read.
• This new value for number of stock items is written back to the stock item record.
• The number of stock items is compared to the re-order level; if it is less than or equal to this value, more stock
items are automatically ordered.
• Once an order for more stock items is generated, a flag is added to the record to stop re-ordering every time the
stock item barcode is read.
• When new stock items arrive, the stock levels are updated in the database.
Barcode reader : checkout (POS) in supermarkets.
Advantages of using barcodes to the management include:
• much easier and faster to change prices on stock items
• much better, more up-to-date sales information/sales trends
• allows for automatic stock control
• possible to check customer buying habits more easily by linking barcodes to, for example, customer loyalty cards.
Dark and light parallel lines of varying thickness. Matrix of filled-in dark squares on a light background.
Can hold up to 30 digits can hold over 7000 digits.
Doesn’t contain website links may contain a website link or some form of
advertising
Holds less information Holds more information
Barcode can be read in one direction only As QR codes can be read from any direction, they are
much easier and quicker to scan.
Barcode is 1D scanner(linear) Is 2D scanner(matrix)
Input device : Digital cameras :
• Modern digital cameras simply link to a computer system via a USB port or by using Bluetooth
• A digital camera uses a sensor ( light sensitive ) called a charge-coupled device.
• The photograph is captured when light passes through the lens onto (CCD) which change the light to electrical
charge .
• The quality of the image depends on the number of pixels that the charge-coupled device can use. A
professional camera could have about 28 megapixels.
• The number of pixels determines the size of the file used to store the photograph.
• The quality of the photograph also depends on many other factors, such as:
• the type of lens used
• the lighting
Disadvantages:
• Uses a lot of power
• If the memory card gets corrupted, photos can be lost and deleted
• If user has lots of images, they may need more additional storage space
Input devices : Keyboards
• Keyboards are the most common method used for data entry.
• They are used as the input device on computers, tablets, mobile phones and many other electronic items.
• The keyboard is connected to the computer either by using a USB connection or by wireless connection.
• In the case of tablets and mobile phones, the keyboard is often VIRTUAL or a type of TOUCHSCREEN technology.
• Ergonomic Keyboard: This keyboard is mainly designed for users who use both hands for typing.
The advantage of this keyboard is less muscle strain and reduce RSI for users.
The keyboard is built with the view of ergonomics to give support to the wrist and hand.
Disadvantage : This keyboard is expensive and not affordable for common people.
Input devices : Pointing devices
Pointing device is An input device used to move the pointer (cursor) on screen.
Types of pointing devices : Mouse , Trackball , Touchpad , Joystick , Light Pen, Stylus ……….
Optical Mouse
• The most common pointing device.
• Wired and wireless : has a small optical sensor uses LED light on the bottom This light can detect mouse
movement and translate it into cursor movement.
• It will require : an area of desk space to allow movement., a mouse mat
• Mouse has : buttons (left , right) to allow for selection and other functions . Many designs of
mouse have a scroll wheel to allow rapid movement up and down the screen.
Input devices : Pointing devices
Pointing devices : Mouse ?:(optional)
• Special Sensors used in computer mice are specifically designed to be used in them.
• It Takes the pictures of the surface at very high frame rates .
• After taking these pictures it sends them to a chip called DSP (Digital Signal Processor) is an IC
(Integrated Circuit) whose main job is to process information.
• It calculates the direction and speed of the mouse and sends those movements as a digital signal
of the corresponding cursor coordinates to the computer through the USB Outlet.
Input devices : Microphones
• Microphones are used to input sound to a computer.
• A microphone is n input device that captures audio( analog signals) by converting sound waves into an electrical
signal.
• How does it work? (optional)
• When a microphone picks up sound,
• A diaphragm vibrates producing an electric signal.
• This signal goes to a sound card and is converted into digital values and stored in the computer.
• Uses of microphones :
• doing a ‘voice over’ in a presentation : Adding a voice to PowerPoint slides
• part of a speech recognition system
• part of a voice recognition system
• enabling a disabled person to communicate with a computer. : ex Siri, Alexa
Input devices : Microphones
VOICE RECOGNITION system
• Is a computer software program or hardware device with the ability to decode the human voice.
Voice recognition can be used in :
• Security systems.
• In cars to allow the driver to say commands: ‘make warmer’, ‘switch on GPS’ or ‘open window’. Key words
have to be used so that the software can compare voice patterns with the limited dictionary of words already
stored.
4. The word ‘HUT’ would then be suggested by the software in whatever application
is being run.
Input devices : Interactive whiteboards
• Interactive whiteboards are devices that allow computer images to be displayed on a whiteboard using a digital projector.
• They also allow a user to write on the whiteboard and the text or drawings produced are then stored in an electronic form for
later use.
• This is a large input device that is usually fixed to a wall. A user can calibrate the device to make sure the. sensors align with
a projected image. The user can use either their finger or a special pen to make selections.
Advantages :
• Basically the information which is hand-drawn or hand-written can be stored so nothing be lost.
• Any application that runs on a computer can be used on an interactive whiteboard.
• It is even possible to surf the net, annotate a spreadsheet or demonstrate a drawing package,