Unit 2.1
Hardware

 

 

INPUT DEVICES

 

An INPUT device is a peripheral which accepts data and sends it to the central processing unit.

Input devices considered:   

 

 

KEYBOARD

The most common method of input, because of its flexibility. Keyboards may be designed for a specific purpose (a customised keyboard) or may just be the standard ‘QWERTY’ keyboard.

There are a number of ‘keys’ supplied on the keyboard,

 

The process of transferring data from the keyboard straight to disc is called KEY – TO – DISC

In the case of data being transferred onto tape it is KEY – TO – TAPE

 

 

MOUSE

A mouse is an input device designed to fit snugly under the hand while it is moved over a table. Moving the mouse produces movements of a pointer on the screen. A mouse is also provided with one, two or three buttons

INVESTIGATE :   What is a TRACKER BALL?

 

JOYSTICK

A JOYSTICK is a device which enables the user to control movement on the screen by manoeuvring a small lever.

 

BAR CODES

A BARCODE is a set of parallel printed lines of differing thickness, which represent a number. Often the number represented by the barcode is also printed above or below the barcode.

When a barcode appears on shop goods, the number coded identifies the product, usually giving the code for: country of origin, manufacturer, item number and size of the object.

PRICE IS NEVER INCLUDED ON A BARCODE !!!!

 

A number of devices are available to read a barcode. These are commonly :

 

MAGNETIC STRIPES

A MAGNETIC STRIPE is a short length of magnetic coating printed onto the surface of a ticket or card.

To SWIPE a card with a magnetic stripe means to move the card through a reader so that it can be read.

Card which use a magnetic stripe may be hard plastic permanent cards : bank card, membership cards etc, or disposable cards such as train tickets, clothing tags etc.

 

INVESTIGATE : What is a SMART CARD ?

 

‘POINT AND TOUCH METHODS’

 

THE LIGHT PENA LIGHT PEN is a pen-shaped device, held in the hand, which can detect the presence or absence of light. The pen is used to select a point on the screen, the screen is ‘refreshed every fiftieth of a second and therefore the computer can work out where the pen is on the screen at a given instant.

(A light pen used to read a bar code works in a similar principle only that a LED detects the black and white bars)

A common use for light pens is in CAD (Computer Aided Design) – see later case study.

 

 

TOUCH SENSITIVE SCREENS

A TOUCH SCREEN is a screen through which data can be entered into a computer just by touching the screen with a finger.

The screen contains a fine pressure sensitive mesh which can detect the presence of pressure and the location of the pressure.

 ADVANTAGES :

DISADVANTAGES

 

 

GRAPHICS TABLET

To DIGITISE data means to convert it from analogue form to digital form

A GRAPHICS TABLET or DIGITISING TABLE is a board which can detect the position of a pointing device on its surface. 

The drawing is placed on top of the digitising table. The outline of the shape is then traced using the stylus (pen). The computer can pick up the position of the moving pen and therefore forms a ‘tracing’ of the drawing on the screen.

A series of further menus are normally available of the graphics tables similar to those found in a graphics package – enlarge, fill, select, cut, rotate etc.

 

SCANNERS

A SCANNER is a device used to examine and pictures, text or other information and represent them as computer data.

Scanners are of two main types :-

HAND – HELD SCANNER

Which moves across the picture being scanned:

FLAT – BED SCANNER

The picture is laid flat on a glass surface and the scanner remains stationary while the picture is being scanned (similar to a photocopier only the image comes out on the computer screen rather than on paper)

As well as digitising pictures, scanners can also be used to capture text from a document (see later notes on OCR). Many scanners can also recognise barcodes.

One disadvantage of scanners is that scanned images tend to take up a lot of memory.

 

VOICE INPUT (Voice recognition)

This is one of the areas which is developing fast because of its obvious benefits. Using a microphone, human speech is coded into a sequence of electrical signals. When voice input is detected, the computer searches its memory for pre-stored patterns for the sound which has been input.

The current problems with voice recognition are

 

 

HANDWRITTEN INPUT

Again, this would be an extremely useful tool to have – problems are that everyone’s handwriting differs so much and your own handwriting can itself vary.

The process involves scanning the handwriting, separating individual letters and then deciphering what letter it is most likely to be.

 

Direct Data Capture

Data is collected using Documents and forms. Forms often take the form of questionnaires, which are filled in and the data is read from these SOURCE DOCUMENTS and transcribed into the machine by data preparation staff. TRANSCRIPTION ERRORS can be caused by the data being typed incorrectly. Direct data capture avoids these errors.

 

Methods of direct data capture.

Optical Mark Recognition  (OMR)

Optical Mark Readers can detect marks made on specially prepared documents. The school roll sheets are an example of these.

Advantages

Disadvantages

 

Optical Character Recognition (OCR)

These can read letters or numbers, rather than just marks. As with OMR a light is shone on the document and marks on the document will not reflect light back, thus the OC reader can detect writing.

TURNAROUND DOCUMENTS are a useful application of OCR. These are documents which are produced by the computer, sent out to be filled in, and are then used for data input.

Advantages

Disadvantages

 

 

Magnetic Ink Character Recognition

Magnetic ink documents are printed with a special magnetised ink, these are read by Magnetic ink readers.

Advantages

Disadvantages

 

 

Bar Code Readers

Bar codes are very common in modern society, everything from groceries to books have bar codes attached. Data is stored in a series of thick and thin black and white lines.

Advantages

Disadvantages

 

 

OUTPUT DEVICES

Once data has been input and processed, some form of output will have to be produced. The output may be in the form of :

Output as DATA

This is output in the form which is understood by the computer

Output as INFORMATION

This is output which is understood by humans

 

OUTPUT TO SCREEN

 

 

 

PRINTED OUTPUT

Printers provide a HARD COPY of the output.

Printers are broadly classified into four groups:

 

CHARACTER PRINTERS that print a character at a time

Examples

 

LINE PRINTERS that print one line at a time

Examples

 

PAGE PRINTERS that print one page at a time

Example

 

GRAPH PLOTTERS that are used to print out specialised graphics

Examples

 

PRINTER STATIONARY

Paper can be fed through a printer in a number of ways:

 TRACTOR FEED

The paper used will have a set of holes punched along the left and right hand side (line-feed paper). The paper is pulled through the machine by a set of wheels with sprockets. Usually tractor feed paper is of poor quality but can be fed through the printer at high speed. 

FRICTION FEED

This is where single pages are fed through the printer one by one. Different sizes of paper can be used including pre-printed paper and plain paper.

 

 

COMPUTER OUTPUT ON MICROFILM (COM)

 

A page of output is photographed, miniaturised, and then reproduced on microfilm.

 

Typically, about 200 A4 pages can be miniaturised and copied onto a post card sized acetate sheet called a MICROFICHE or copied onto a roll of MICROFILM.

 

The microfilm is read using a microfilm reader that enlarges the sections of the sheet to a readable size.

 

VOICE OUTPUT (Voice synthesis)

Voice output from computers is generally easier and more successful than voice input (voice recognition).

Voices can be successfully synthesised (made artificially) by storing word patterns as a binary code.

Getting the computer to say "HELLO" uses three sound HHHH - L - OH

The sound "HHHHH" which is stored as 0001110110

The sound "L" which is stored as 1010000101

The sound "OH" which is stored as 0110001111

The binary pattern 1000111011010100001010110001111 would sound like HELLO

 

 

 

BACKING STORAGE DEVICES

There are two types of storage used by a computer :

IMMEDIATE ACCESS STORE (IAS)

This is memory inside the CPU of the computer and is normally found in the form of memory chips. IAS is extremely fast memory and is where data is stored while it is being used (processed). The size of the IAS memory depends on the computer and although its size is increasing it is still very small in comparison to the storage space required by a computer.

This type of memory is discussed later.

 

BACKING STORAGE (AUXILIARY STORAGE)

This is storage space for data and programs that are not currently in use. Common examples are MAGNETIC DISC, MAGNETIC TAPE, and OPTICAL DISC. These are called backing storage MEDIA (singular MEDIUM)

Backing storage can be of two types:

 

HOW IS DATA STORED?

  

A REMINDER OF A FEW FACTS

 

Data is stored electronically, the character is first converted into a binary pattern.

In the case of a magnetic medium (magnetic disc or magnetic tape) the binary pattern is stored as magnetic patches with different polarities. (1 is North, 0 is South)

In the case of optical media small ‘pits’ can be formed on the surface (1 is pit, 0 is no pit)

  

MAGNETIC DISCS

A magnetic disc is a circular disc coated with a magnetic surface (Iron Oxide).

When a disc is used for the first time it is FORMATTED which means that the surface of the disc is prepared so that it is ready to store data. This preparation involves the computer mapping out the surface of the disc.

The disc is divided into BLOCKS, SECTORS and TRACKS with each sector being separated by an INTER-BLOCK GAP.

 

DIAGRAM TO SHOW THE LAYOUT OF THE MAGNETIC DISC

 

 Data is converted into binary (using the ASCII code)

The data is stored as magnetic ‘patches’ along the circular tracks.

  QUESTION

What is the purpose of the inter-block gaps?

  QUESTION

How is an item of data found on the surface of the disc?

 

 

  

QUESTION

How is data read off a disc?

What is a READ/WRITE HEAD?

Why does the disc spin?

 

 

HARD DISCS AND FLOPPY DISCS

 

A HARD DISC is a rigid magnetic disc (normally a metal disc covered in a magnetic coating) whereas a FLOPPY DISC is a thin plastic disc covered in a magnetic coating.

 

CHARACTERISTICS OF HARD DISCS

Some computers use DISC PACKS which are a series of hard discs held on a protective case which can be removed, stored and re-inserted at a later date or into another computer.

 

 

CHARACTERISTICS OF FLOPPY DISCS

 

 

QUESTION

Why are floppy discs less reliable than hard discs?

QUESTION

What type of data would be stored on the hard drive?

QUESTION

Why do most computers use a hard disc and a floppy disc as well?

QUESTION

What is the difference between the storage capacity of a hard drive unit and a floppy disc?

QUESTION

A floppy disc needs to be protected from certain conditions such as water, extreme heat. What other conditions need to be avoided? 

QUESTION

What is the function of the

WRITE PERMIT SLOT?

 

C D – R O M

 

Types of Compact discs : Music CD - standard music discs

Photo CD - discs containing photographic images

CD-ROM - compact discs designed for use as computer storage.

CD-ROM stands for Compact Disc Read Only Memory

 

 

CHARACTERISTICS OF CD-ROM

QUESTION

What is a WORM disc?

QUESTION

Why are CD’s so reliable?

QUESTION

What is the average storage capacity of a CD-ROM?

  

QUESTION

Which is faster to read – a hard disc or a CD-ROM ?

Give a reason.

MULTI-MEDIA means the presentation on a computer of information combining animated and still graphics, sound and text.

 

MAGNETIC TAPES

Magnetic tape is the main type of serial access store.

 

QUESTION

What is the difference between SERIAL ACCESS and RANDOM (DIRECT) ACCESS?

 

 Originally computer tape was in separate reels. However, increasingly tape is being used in the form of a CARTRIDGE. This is better protected from dirt, is much more compact and is easier to use.

 

APPLICATION OF MAGNETIC TAPE:

THE TAPE STREAMER

 

A school has a network of PCs controlled by a fileserver with a hard drive. Attached to the fileserver is a magnetic tape unit called a tape-streamer. This holds a tape cartridge, which will store, on average, 160 Mb of data.

Every week the technician (or someone in charge of making back-ups) runs the ‘archive’ program which copies all of the important files onto the tape which is then removed and stored separately from the fileserver.

If a file is corrupted or deleted accidentally, then the tape can be re-loaded and the previous data restored.

QUESTION

What is a FILESERVER?

QUESTION

What is a Mb?

QUESTION

What is an ‘archive program’?

QUESTION

What does the word CORRUPTED mean?

  

QUESTION

Where would the back-up tape be stored?

QUESTION

What happens to the set of previous back-up tapes?

 

 

 

THE CENTRAL PROCESSING UNIT

 

The CENTRAL PROCESSING UNIT (CPU) is the brain of the computer – it is where the processing takes place.

Functions -

 

A PERIPHERAL is any device connected to the CPU of the computer system

An INTERFACE is some hardware, and possibly some software, that is used to connect two devices or systems to enable them to communicate.

 

Because different parts of a computer system operate at different speeds :

the computer uses BUFFERS which can be thought of as ‘temporary waiting rooms’. When data is to be printed, it can be loaded into the output buffer thus freeing the CPU.

Data can be loaded into the input buffer slight before it is needed by the CPU so it can be used when ready and the CPU does not have to wait.

 

 

The CPU contains three components :-

each has a specific function. We will look at each in detail

 

THE ARITHMETIC LOGIC UNIT (ALU)

 

(A REGISTER is just a temporary storage location)

 

 

THE IMMEDIATE ACCESS STORE (IAS)

 

 

HOW IS MEMORY ORGANISED?

The internal memory is divided into a number of storage compartments called LOCATIONS or CELLS. Each location is identified by means of an ADDRESS.

As mentioned before, everything inside the computer is in binary......

 

 

 

The following terms commonly encountered when discussing memory.

Define them

 

INTERNAL MEMORY CHIPS

A computer has a number of ‘types’ of memory chips :

 

 

 

 

 RAM

ROM

PROM

EPROM

IS THIS MEMORY VOLATILE ?

 Yes

 No

No 

No 

CAN IT BE ERASED ?

 Yes

No 

No 

Yes 

CAN IT BE WRITTEN TO ?

 Yes

No 

 Yes

Yes 

CAN IT BE READ FROM?

 Yes

Yes 

Yes 

Yes 

 WHAT TYPE OF DATA MIGHT THIS CHIP STORE?

Programs that are currently being exectuted

Basic input output system (BIOS) - the booting system of the computer

 

 

 

 

 

 

THE CONTROL UNIT

 

The CONTROL UNIT supervises the execution of the program instructions.

It controls:

 

It contains a number of components :-

 

COMPONENT

Abbreviation

FUNCTION

 THE CLOCK PULSE GENERATOR 

-

Controls the timing of the Fetch Execute Cycle

 THE SEQUENCE CONTROL REGISTER

(PROGRAM COUNTER)

 SCR

(PC)

Contains the address of the next instruction or piece of data to be accessed

 THE CURRENT INSTRUCTION REGISTER 

 CIR

Holds the instruction which is currently being executed

The CIR is split into 2 parts:

  • the OR (Operations Register) holds the operator (command part) of the instruction

  • the ASR (Address Selection Register) holds the operand (address part) of the instruction

 THE MEMORY ADDRESS REGISTER 

 MAR

Passes the address of the memory location being accessed to the IAS 

 THE MEMORY DATA REGISTER

 MDR

All data going into and out of the IAS goes through the MDR.

 

 

CONNECTING THE UNITS

 

When showing the connection between the main functional components (control unit, ALU, IAS)

We normally include :

The CONTROL BUS - the connections along which the contrrol signals travel

The DATA BUS - the connections along which the data can travel.

 

THE FETCH – EXECUTE CYCLE

This is the accurately timed sequence by which the control unit ‘fetches’ an instruction from the immediate access store, decodes it before fetching the next instruction

At the start of the program the PC is given the address of the first instruction

Fetch Cycle

The instruction is decoded

Execute Cycle
The execute cycle will change depending on the instruction that is being executed. The example given is for a typical mathematical instruction like ADD

The PC is incremented (increased by 1)

 

 

Hosted by www.Geocities.ws

1