411 REFERENCE · Wikibooks
GCSE Computing/Computing hardware/Input and output devices
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Input Device Devices that send data or instructions into a computer
Device Description Image Mouse Used for screen input thumb|mouse Keyboardcenter|400px
The keyboard is one of the most popular ways of inputting information into a computer. The basic mechanical keyboard relies on springed keys being pressed down to complete an electrical circuit. This circuit then transmits a binary signal (commonly using ASCII) to the computer to represent the key pressed.
thumb|600px|center|Stylised cross-section of a Chiclet keyboard (there are other technologies out there used to make keyboards). The bottom right hand button has been pressed, completing the circuit shown in red.
There are many different keyboard layouts, with differences between languages and countries. The most popular layout is the QWERTY keyboard. Other layouts include:
AZERTY - for countries such as France and Belgium
QWERTZ - for countries such as Germany and Austria
Arabic - different values to most keys
Ukrainian
Chinese - laid over a QWERTY keyboard
There are variations QWERTY keyboard with the UK and the USA having very slight differences in layout. There also variations in English language keyboards such as the Dvorak layout, which followers claim to be superior to QWERTY. thumb|QWERTY keyboard Voice recognition Microphone connected to software that converts human speech into commands or text.
Pros
Natural interface with a computer allowing for new users to execute commands without having to learn complex command set
Cons
Speech recognition might not recognise the difference between similar words i.e. "their" and "they're" or be able to understand regional accents thumb|microphone Digital camera
400px|center
Light is focused through the lens onto the image sensor at the back of the camera
The image sensor is made up of an array of Red, Green and Blue photosensors, called a Bayer filter. Each sensor will only record values for that particular colour.
And became these:
The different colour arrays are combined to form an image and makes this:
Once the RGB values have been captured, they can then be stored digitally using SD or compact flash cards. Save formats include JPEG or TIFF.
Pros
You can preview images taken without having to get them developed
You can apply filters and images to add special effects
Cons
Some people argue that the quality of photos taken using the traditional film medium is better thumb|Camara2sig Barcode reader Used in supermarkets, keeping track of produce etc. They allow for quick reading of product details so that prices and information can be retrieved and/or stock levels updated. However the amount of data stored in a barcode is very limited
thumb|center|barcodes are very common
A laser is directed towards the barcode, scanning across it and the reflected light is captured by the reader
The intensity of light reflected back is read by a sensor in the bar code reader
High intensity = white bar
Low intensity = black bar
The pattern received is translated into a code which gives the identity of the barcode being scanned
This code is checked against a product database and the product details displayed
thumb|center|400px|Plessey code is one way to encode barcodes
To make sure that the number you have received is correct barcodes employ check digits. Read on to find out more
Pros
Cheap to produce as all you need to do is print a black and white image
Quick to read, and with multi-direction scanners, can be read from different angles
Cons
Only a limited amount of data can be stored thumb|barcode reader Optical mark reader Used in things like multi choice question papers. The student would be given a selection of answers and then mark the ones they thought correct with a pen or pencil. When finished, the forms would be fed into a machine that would look for black marks. The position of these marks correspond to answers and the form could be marked at some speed. thumb|multi choice exam paper ready for OMR Optical character reader Used in scanning printed or written text into a digital format. Recently used by Amazon and Google to scan books. thumb|right|Sketch of a typical manual book scanner Magnetic stripe reader Used to read data from bank cards and access cards. Data is stored in the magnetic, generally black, strip on the back of these cards thumb|right|225px|An example of the reverse side of a typical credit card:
Green circle #1 labels the Magnetic stripe Smart card reader Used in bank cards, often known as part of 'chip and pin'. More secure than Magnetic stripes though more expensive to produce. RFID reader Used to read data without physical contact. Examples include the London Oyster Card System. Where the card has a Radio Frequency Identification(RFID) chip.
center|thumb
The card is the placed above a reader and the magnetic field produced by the reader induces a current in the cards circuitry (no physical contact is required)center|250px
This current powers a small radio transmitter that transmits a radio wave with the details about the card to the reader center|250px
If the details of the card are legitimate then it lets the person through the gatecenter|250px
Pros
Can be read without physical contact (health and safety concerns)
Fast way to pay for things
Cons
Thieves could read your card remotely, stealing your details
Having multiple RFID cards together, means that they can interfere with each other and none of them can be read thumb|200px|right|A damaged card, revealing the microchip in the lower right corner, and the aerial running around the edge of the card.
thumb|Oyster card readers on London Underground ticket barriers at Canary Wharf.
Touch sensitive
More and more devices are relying on touch technologies.
Device Description Image Touch-sensitive screen
Each of the four corners of a screen emits a uniform electric field which covers the screen
When you place your finger on or near the screen it disrupts this field and draws current
measuring the amount of current pulled from each corner you can triangulate the position of the finger
File:TouchScreen_capacitive.svg
Pros
Natural, intuitive interface with devices
The ability to remap screen functions to suit the task (for example bringing up a keyboard when necessary
Cons
Cold weather can effect the functioning of touch screens
Won't work through gloves, as this stops your fingers conducting electricity 300px Graphics tablet Used in the design and architectural industries. This allows for people to draw on the tablet in a natural way (as they would with a pencil and paper) and for their drawing to appear on the computer. thumb|Wacom Pen-tablet
Exercise: Inputs
What input device might a multi-choice questionnaire writer use to input completed forms into a computer. Why?
OMR - optical mark recognition software, as it will allow for input of papers with marks on them
Describe the functioning of a bar-code reader:
A light or laser is directed towards the barcode, scanning across it and the reflected light is captured by the reader
The intensity of light reflected back is read by a sensor in the bar code reader
High intensity = white bar
Low intensity = black bar
The pattern received is translated into a code which gives the identity of the barcode being scanned
Describe the functioning of digital camera:
Light is focused through the lens onto the image sensor at the back of the camera
The image sensor is made up of an array of Red, Green and Blue photosensors, called a Bayer filter. Each sensor will only record values for that particular colour.
The different colour arrays are combined to form an image
The image is stored as a TIFF or a JPEG
Why might it beneficial for professional photographer to use a digital camera instead of a film camera?
Digital images allow you to edit and manipulate them, adding software filters. Digital cameras allow you to take pictures and preview the results, discarding those that you don't want. Film cameras wouldn't show you the image until you had developed it, and such a process is very expensive
Give two benefits of using RFID cards to pay for produce over using hard cash. What is a draw back?
Can be read without physical contact (health and safety concerns)
Fast way to pay for things
Thieves could read your card remotely, stealing your details, without you even knowing it
Give a benefit of having a touch screen phone over a phone with a hardware keyboard. Why might some people prefer a hardware keyboard.
A touch screen phone would allow you to have a keyboard on the screen that could be hidden when not needed. Meaning the screen space can be used for other purposes
Some people might prefer the hardware keyboard as they like to feel the response of keys being pressed and improve their typing (advances are being made in haptic technology to bring this to touch screens)
Describe the functioning of a touch sensitive screen:
Each of the four corners of a screen emits a uniform electric field which covers the screen
When you place your finger on or near the screen it disrupts this field and draws current
Measuring the amount of current pulled from each corner you can triangulate the position of the finger
Scanners
Several of the scanners featured here record biological (bio) measurements (metrics) about human beings. Physical data such as finger prints are unique to each person.
Device Description Image Flatbed Scanner Flat bed scanners are used to convert images and text into a digital format.
thumb|400px|center|The main components of a flatbed scanner
Place the object you want to scan on the glass pane, face down
the light moves to the start of the document and illuminates a slice
The slice is reflected into the CCD where it's image is stored
the light and mirror move down to the next slice and so on
once all the slices are completed the image is assembled using them into a digital image thumb|Flatbed Scanner Fingerprint Scanner thumb|left|A finger print The ridges and troughs on a person's finger and toes are unique to that person. Using a scanner a finger print pattern can be recorded and compared to others on a database, allowing a computer to match finger prints from crimes to a suspect, or to allow people into restricted areas. thumb|Fingerprint scanner in Tel Aviv Retina Scannerthumb|left|The blood vessels in a normal human retina form a unique pattern for each person
Retina scanners are used to record the pattern of blood vessels at the back of someone's eye. As every has a different pattern of vessels, then retina scanners can be used to uniquely identify people and are very difficult to fake. ... Iris Scanner thumb|left|Iris patterns can be different colours and form a unique identifier for each person
By taking a picture of the blood vessels and colouring of someone's eye, we can get a unique pattern that can be used to identify individuals. People might try and circumvent this by using contact lenses thumb|A U.S. Marine Corps Sergeant uses an iris scanner to positively identify a member of the Baghdadi city council prior to a meeting with local tribal leaders, sheiks, community leaders and U.S. service members.
Exercise: Scanners
Explain how a flat bed scanner works
Place the object you want to scan on the glass plane, face down
the light moves to the start of the document and illuminates a slice
The slice is reflected into the CCD where it's image is stored
the light and mirror move down to the next slice and so on
once all the slices are completed the image is assembled using them
Give two examples of devices that collect biometric data
Retina scanners
Finger print scanners
Iris recognition
Check digits
Check Digit an additional digit added to a data string and depending on that string, used for checking that the string has been sent correctly
With input devices we have a lot of data being sent into the computer, with image capture devices we could be talking about billions of ones and zeroes. How can we make sure that they all get from the input device to the computer safely, without becoming corrupted? There are many error checking methods out there and you will cover some of them in more detail in Unit 1, however, for the moment we will learn a little about check digits:
An example of using check digits (The exam will not expect you to know this technique) is the final digit of a Universal Product Code computed as follows:
Add the digits (up to but not including the check digit) in the odd-numbered positions (first, third, fifth, etc.) together and multiply by three.
Add the digits (up to but not including the check digit) in the even-numbered positions (second, fourth, sixth, etc.) to the result.
Take the remainder of the result divided by 10 (modulo operation) and subtract this from 10 to derive the check digit.
Example: Check Digits
For instance, the UPC-A barcode for a box of tissues is "036000241457". The last digit is the check digit "7", and if the other numbers are correct then the check digit calculation must produce 7.
Add the odd number digits: 0+6+0+2+1+5 = 14
Multiply the result by 3: 14 × 3 = 42
Add the even number digits: 3+0+0+4+4 = 11
Add the two results together: 42 + 11 = 53
To calculate the check digit, take the remainder of (53 / 10), which is also known as (53 modulo 10), and subtract from 10. Therefore, the check digit value is 7. Correct!
Exercise: Check digits
Calculate the check digit for the following food item "01010101010".
Add the odd number digits:
Multiply the result by 3:
Add the even number digits:
Add the two results together:
To calculate the check digit, take the remainder of (5 / 10), which is also known as (5 modulo 10), and subtract from 10 i.e. (10 - 5 modulo 10) = 5. Therefore, the check digit value is 5.
If the remainder is 0, subtracting from 10 would give 10. In that case, use 0 as the check digit.
Did the following barcode scan correctly: "01234567890 6".
Add the odd number digits: 0+2+4+6+8+0 = 20
Multiply the result by 3: 20 x 3 = 60
Add the even number digits: 1+3+5+7+9 = 25
Add the two results together: 60 + 25 = 85
To calculate the check digit, take the remainder of (85 / 10), which is also known as (85 modulo 10), and subtract from 10 i.e. (10 - 85 modulo 10) = 5. Therefore, the check digit value is 5.
If the remainder is 0, subtracting from 10 would give 10. In that case, use 0 as the check digit.
Therefore the check digit given, 6, shows that the code is incorrect.
Why do we use check digits?
We use check digits to make sure that data received has been received correctly