Академический Документы
Профессиональный Документы
Культура Документы
A computer can process data, pictures, sound and graphics. They can solve highly
complicated problems quickly and accurately.
Input Unit:
Computers need to receive data and instruction in order to solve any problem. Therefore
we need to input the data and instructions into the computers. The input unit consists of
one or more input devices. Keyboard is the one of the most commonly used input device.
Other commonly used input devices are the mouse, floppy disk drive, magnetic tape, etc.
All the input devices perform the following functions.
Accept the data and instructions from the outside world.
Convert it to a form that the computer can understand.
Supply the converted data to the computer system for further processing.
Storage Unit:
The storage unit of the computer holds data and instructions that are entered through the
input unit, before they are processed. It preserves the intermediate and final results before
these are sent to the output devices. It also saves the data for the later use. The various
storage devices of a computer system are divided into two categories.
1. Primary Storage:
Stores and provides very fast. This memory is generally used to hold the program being
currently executed in the computer, the data being received from the input unit, the
intermediate and final results of the program. The primary memory is temporary in
nature. The data is lost, when the computer is switched off. In order to store the data
permanently, the data has to be transferred to the secondary memory.
The cost of the primary storage is more compared to the secondary storage. Therefore
most
computers
have
limited
primary
storage
capacity.
2. Secondary Storage:
Secondary storage is used like an archive. It stores several programs, documents, data
bases etc. The programs that you run on the computer are first transferred to the primary
memory before it is actually run. Whenever the results are saved, again they get stored in
the secondary memory. The secondary memory is slower and cheaper than the primary
memory. Some of the commonly used secondary memory devices are Hard disk, CD,
etc.,
Memory Size:
All digital computers use the binary system, i.e. 0s and 1s. Each character or a number
is represented by an 8 bit code.
The set of 8 bits is called a byte.
A character occupies 1 byte space.
A numeric occupies 2 byte space.
Byte is the space occupied in the memory.
The size of the primary storage is specified in KB (Kilobytes) or MB (Megabyte). One
KB is equal to 1024 bytes and one MB is equal to 1000KB. The size of the primary
storage in a typical PC usually starts at 16MB. PCs having 32 MB, 48MB, 128 MB,
256MB memory are quite common.
Output Unit:
The output unit of a computer provides the information and results of a computation to
outside world. Printers, Visual Display Unit (VDU) are the commonly used output
devices. Other commonly used output devices are floppy disk drive, hard disk drive, and
magnetic tape drive.
Arithmetic Logical Unit:
All calculations are performed in the Arithmetic Logic Unit (ALU) of the computer. It
also does comparison and takes decision. The ALU can perform basic operations such as
addition, subtraction, multiplication, division, etc and does logic operations viz, >, <, =,
etc. Whenever calculations are required, the control unit transfers the data from storage
unit to ALU once the computations are done, the results are transferred to the storage unit
by the control unit and then it is send to the output unit for displaying results.
Control
Unit:
It controls all other units in the computer. The control unit instructs the input unit, where
to store the data after receiving it from the user. It controls the flow of data and
instructions from the storage unit to ALU. It also controls the flow of results from the
ALU to the storage unit. The control unit is generally referred as the central nervous
system of the computer that control and synchronizes its working.
places it onto a register. The typical operations that take place in the processing of
instruction are part of the instruction cycle or execution cycle. The instruction cycle
refers to the retrieval of the instruction from main memory and its subsequence at
decoding. The process of alerting the circuits in CPU to perform the specified operation.
The time it takes to go through the instruction cycle is referred to as I-time.
4. Bus:
The term Bus refers to an electrical pathway through which bits are transmitted between
the various computer components. Depending on the design of the system, several types
of buses may be present. The most important one is the data bus, which carries the data
through out the central processing unit. The wider the data bus, the more data it can carry
at one time and thus the greater the processing speed of the computer.
Ex: Intel 8088 processor uses a data bus of 8 bits wide. Some super computers contain
buses that are 128 bits wide.
What is RAM?
The main memory of the computer is called as Random Access Memory (RAM). The
name derives from the fact that data can be stored in and retrieved at random, from
anywhere in the electronic main memory chips in approximately the same amount of
time, no matter where the data is.
Main memory is in an electronic or volatile state. When the computer is off, main
memory is empty, when it is on it is capable of receiving and holding a copy of the
software instructions, and data necessary for processing.
Because the main memory is a volatile form of storage that depends on electric power
can go off during processing, users save their work frequently on to non volatile
secondary storage devices such as diskettes or hard disk.
The main memory is used for the following purposes:
1. Storage of the copy of the main software program that controls the general
operation of the computer. This copy is loaded on to the main memory when the
computer is turned on, and it stays there as long as the computer is on.
2. Temporary storage of a copy of application program instruction, to be received by
CPU for interpretation and processing or execution.
3. Temporary storage of data that has been input from the key board, until
instructions call for the data to be transferred in to CPU for processing.
4. Temporary storage of data, which is required for further processing or transferred
as output to output devices such as screen, a printer, a disk storage device.
DIFFERENCE BETWEEN RAM AND ROM:
ROM (Read only memory)
1. You can only read the data.
1. Data cant be written every time, to write the data we need PROM, EPROM, OR
EEPROM.
2. ROM is non volatile in nature. The data stored in ROM is permanent in nature.
3. Size of the ROM has nothing to do with processing.
RAM (Random access memory):
1. You can read and write data on the chip.
2. RAM has volatile memory. It looses its contents when the power is switched off.
3. Size of the RAM makes difference in the processing i.e., bigger the size of the
RAM more is the speed of processing.
4. The data can be read and written at anytime.
What is ROM?
Instructions which are critical to the operation of a computer are stored permanently on
Read only Memory. (ROM) chip installed by the manufacturer inside the computer.
This ROM chip is also called firm ware, retains instructions in a permanently accessible
nonvolatile form. When the power in the computer is turned off, the instructions stored
in ROM are not lost.
It is necessary and also convenient to have instructions stored in ROM.
The more instructions in ROM, the fewer diskettes you may have to handle.
//Until recently the process of manufacturing ROM chips and recording data on them was
more expensive than the process of producing RAM chips. As a result the manufacturers
tended to record in ROM only those instructions that were crucial to the operation of the
computer.
Today, due to improvements in the manufacturing process of ROM chips have lowered
the cost to the point where manufacturers are beginning to include additional software
instructions.//
ROM, three additional categories of non volatile memory are used in some computer
systems.
They are PROMs, EPROM, and EEPROM. PROM stands for programmable read only
memory.
It works similar to that of ROM. PROM chips are custom made for the user by the
manufacturer. The user determines what data and instructions are to be recorded on them.
The data on PROM is permanent and cannot be erased.
Erasable programmable read only memory (EPROM), developed as an
improvement over PROM. The data on the EPROM can be read with the help of a
special device that uses ultra violet light. The data or instructions on the EPROM are
erasable and new data can be entered in its place. EPROM functions exactly same as
PROM.
Electronically erasable programmable read only memory (EEPROM) avoids the
inconvenience of having to take chips out of the computer to change data and
instructions. Changes can be made electrically under software control. These are used in
point of sale terminals to records price related data for products. The prices recorded on
them can be easily updated as needed. The only disadvantage of EEPROM is, the regular
ROM
To run an application programs such as word processing program, the user types the
name of the program after getting the Dos prompt on the screen.
Ex C:\>WS.
The operating system accepts the command WS and reads the program into RAM. When
the application program is in RAM, the operating system executive program gives control
of the computer system to the applications programs. The computer then executes the
application program. When the application program ends, control is restored to the
operating system executive program, which monitors the keyboard for the users next
command.
When the application program is running the operating system manages the allocation of
memory. When a user requests that a program be run, the operating system allocates the
memory required for the program instructions and for data.
3. Running utility programs:
An operating system includes utility programs that give the user control over various
features of the computer system. The utility programs are either residient or transient.
Residient programs are always present in RAM; transient program must be read into
RAM, as they are requested.
Ex. CON: name of the keyboard, or console.
PRN: name of the printer.
Disk Copy A: B: (copies the contents of the disk in drive A, onto the disk on drive B)
4. Managing files:
Information on the disk is organized into files. A file is collection of Bytes.
1. at periodic intervals and of something goes wrong the application program can be
restarted at the last check point.
2. File organization: when a disc file becomes too unwieldy to use, for instance if
the over flow areas are almost full, it has to be reorganized in to its original
format.
3. File maintenance: Enables the user to create, delete and rename records, amend
standing data etc.
4. Debugging: Provides for outline program testing and error correction during
program development.
5. Sorting/Merging: Enables records to be reorganized into desired key field
sequence. The parameters of a sort program which are to be supplied for each
application are:
The sort is carried out by sorting small groups of records into the desired sequence in
main storage and writing each group on to backing storage, and then merging the strings
in to larger ones in main storage, and so on, until the file is stored.
Type of application.
Method of processing.
Size of the file.
File inquiry capabilities.
File volatility.
The response time.
1. Sequential access method: Here the records are arranged in the ascending or
descending order or chronological order of a key field which may be numeric or both.
Since the records are ordered by a key field, there is no storage location identification. It
is used in applications like payroll management where the file is to be processed in
entirety, i.e. each record is processed. Here, to have an access to a particular record, each
record must be examined until we get the desired record.
Sequential files are normally created and stored on magnetic tape using batch processing
method.
Advantages:
Simple to understand.
Easy to maintain and organize
Loading a record requires only the record key.
Relatively inexpensive I/O media and devices can be used.
Easy to reconstruct the files.
The proportion of file records to be processed is high.
Disadvantages:
Entire file must be processed, to get specific information.
Very low activity rate stored.
Transactions must be stored and placed in sequence prior to processing.
Data redundancy is high, as same data can be stored at different places with different
keys.
Impossible to handle random enquiries.
2. Direct access files organization: (Random or relative organization). Files in his type
are stored in direct access storage devices such as magnetic disk, using an identifying
key. The identifying key relates to tits actual storage position in the file. The computer
can directly locate the key to find the desired record without having to search through any
other record first. Here the records are stored randomly, hence the name random file. It
uses online system where the response and updation are fast.
Advantages:
2. Analog Computers:
This type of computers work on continuous data measured along a continuous scale. E.g.,
a speedometer is a mechanical device that works on a continuous data. Analog computers
are used in process control systems which monitor pressure, temperature etc.
3. Hybrid Computers:
This type of computers combines the properties of both analog and digital computers. A
typical example is found in medicine where analog properties are sued to record the
patients data, while digital properties help in the analysis of the data as well as in
monitoring the patients health.
Computers are also classified on the basis of their physical size, memory and processing
speeds.
Five of these categories are described below:
1. Micro computers:
These are based on the use of micro processors. A microprocessor is a programmable
large scale integrated circuit chip containing all the elements required to process binary
encoded data. A micro computer performs all arithmetic and logical functions of a
computer. They are also referred as personal computers.
2. Mini Computer:
These systems are more powerful than micro computers and are also more expensive.
The word length is generally 16 bits or more. The processing speed of a computer is often
measured in terms of MIPS-Millions of Instructions per Second.
3. Super mini computers:
These are faster than mini computers. The word length is generally 32 bits and
processing speed is more than 1.5 MIPS. These systems have efficient time sharing
operating systems with multiprogramming features.
4. Mainframe computers:
These are machines with word length of 32 bits or more. The processing speed is of the
order of 10 MIPS. These computers support a large main memory. In the time sharing
mode, due to fast processing speed, they can support hundreds of terminals. Memory size
may be 10Mb to 128 Mb.
5. Super Computers:
They are the fastest computers and can be used to solve a wide range of large scale
problems which require extensive numeric computations like complex molecular
structural analysis, weather forecasting etc. The processing speeds are of the order of 100
MIPS. These machines have word lengths of 64 bits or more. These computers have a
very large memory, ranging from 8 Mb to 10 gigabytes.
What is system software and application software?
Software is a set of instructions, programs which enable the computer to perform
specified task. In other words, software is nothing but binary code instructions which
control the hardware.
//In most of the organizations the computer is a valuable resource. Among the resources
that a computer has are processing time, storage space, printers, terminals and
information. The management of these resources is performed largely by a type of system
software called an operating system. When users interact with the computer the
interaction is with system software.
There are two broad categories of software, system software and application software.
System software is a set of programs that manage the resources of a computer system, so
that they are used in an optimal fashion, provide routine services such as copying data
from one file to another and assist in the development of applications programs.//
System software consists of programs that assist the computer in the efficient control,
support, development and execution of application programs. Application software on the
other hand, performs specific tasks for the computer user.
System software:
They can be broadly classified in to three types.
1. System control programs control the execution of programs, manage the storage
and processing resources of the computer and perform other management and
monitoring functions. Other examples are DBMS and communication monitors.
2. System support programs provide routine service functions to the other computer
programs and computer users. Ex. Libraries, utilities, job accounting etc.
3. System development programs assist in the creation of application programs.
System programs are developed and sold by both computer companies and
specialized software firms.
Application Software:
It is a program written for, or by, a user to perform a specific job. General purpose
application software such as electronic spreadsheet has a wide application. Specific
purpose application software, such as payroll and sales analysis is used only for the
application for which it is designed.
The system software controls the execution of the application software and provides other
support functions such as data storage.
The code is machine dependant. Hence a program written on one machine, will not
work on other machine.
They are highly efficient and speed as they are directly executed on the computer.
What are high level languages? What are its features?
A computer cannot work by itself. It has to be instructed to perform a task, using a
language which it can understand. A machine can understand only 0s and 1s. But it is
very difficult for the user to create instructions, or programs using 0s and 1s. In order to
make the process easy, scientists have developed a high level language, which uses
simple English for programming. The programs written in high level language are then
translated in to machine language or low level language by a compiler.
Features of high level language:
A high level language is very user friendly.
Enables programmer to write in simple English and mathematical notations.
The languages are machine independent. Hence they can be executed on different
machines.
All these programs require compilers to translate the program in to machine
understandable form, vice versa.
COBOL, Pascal, FORTRAN are the some of the examples of high level languages.
Advantages:
Uses simple mathematical and lain expressions making it easy to learn them. They are
procedure oriented; hence they take less time to write.
Easy to test and correct errors.
Program in this language can be written without the knowledge of internal structure of
the computer.
High level language programs are machine independent. They can be written on any
computer and can be used on any computer.
Easy to make modifications in the program.
Disadvantages:
Programs written in high level languages are less efficient in the use of CPU and
facilities. As they are not in machine understandable form, the program is first converted
in to machine understandable form and then it is executed.
Runs slower due to the generality of statements and the fact that they are portable
between different machines provided a suitable compiler is available.
As the program is written in high level language, it needs a compiler to translate the
program in to machine understandable form and the compiler occupies enough of
memory space, and the memory space available to the program is reduced.
direct control of each operation by using simple English. These languages are used in
scientific applications e.g. C language.
Hard disk is one of the storage devices, developed to store huge amount of data. The
introduction of high capacity hard disks for micro computer system solved two serious
problems related to the limited storage capacity of diskettes.
First, as a business begins to use micro computers extensively, the amount of software
acquired and data collected tends to grow substantially. As a result the number of
diskettes required, increases, dramatically second, the largest file that can be accessed at
one time is limited to the capacity of the main memory and the storage medium. A hard
disk can store huge amount of data in a most convenient way.
In hard disk system, data is stored in the same way as it is on diskettes. A series of tracks
are divided in to sectors when the disk is formatted. Hard disk is made out of a rigid
substance that is capable of storing a greater amount of data than the soft material used
for diskettes. The hard disk drives for the micro computer can be internal or external.
In a disk pack, the access mechanism can position itself to access data from each of the
200 cylinder is a set of all tracks with the same distance from the axis about which the
disk pack rotates. In this example there are 10 tracks in each cylinder.
The capacity of diskettes in wide use today ranges from 360KB to 144MB each.
Microsoft hard disk capacity ranges from 10MB to 1GB or higher. Hard disks larger
capacity allows the user to store larger files and larger programs than can be used with
diskettes. Access time with the hard disk is much lower than that of diskette i.e., data
retrieval is much faster with the hard disk than a diskette.
Characteristics of a Hard disk:
1.
2.
3.
4.
5.
1. In most of the disk units, the read/ write head does not touch the surface of the
disk. Instead they are designed to float from 0.5 to 1.25 millionth of an inch from
the disk surface. (Flying head design). Because the heads float so close to the
sensitive disks, any contamination such as dust particle or hair, cause a head crash
or a disk crash, which destroys some or all the data on the disk. Therefore hard
disks are handled under sterile conditions.
2. Hard disk technology was introduced by IBM (1970) since then they have become
the most necessary memory hungry software.
Various data storage and retrieval methods
It deals with the storage and retrieval of data in computer usable form. The three principal
methods of storing and retrieving the data are
1. Sequential: Meaning that the records are stored and retrieved in a sequential
order.
2. Direct: Meaning that the records are not stored or retrieved in any special order.
3. Indexed sequential access method: Indexed sequential is a combination of the
preceding two methods where by, records are stored in sequential order but with
an index that allows both sequential and random retrieval.
Each of them is suited to different applications and processing requirements.
1. Sequential storage and retrieval: This method is suitable for situations in which
comprehensive reports are generated. The data is generated in the sequence in
which it was recorded on the storage media. The records must be accessed one
after the other. The user cannot jump from one record to another. It is not
accessible to the CPU until it has been loaded on to an input device. Punched
cards are the earliest types of storage media which are sequential access.
2. Direct access storage and retrieval: It is also called as random access, is best
suited to situations in which only few records directly in no particular order. The
most common approach is to use a unique element of data called a key field or
key contained in each record as a basis for identifying the record and for
determining which storage location on the disk the record should be stored in or
retrieved from.
3. Indexed sequential storage and retrieval: To access the data in either a sequential
or direct fashion, a third storage and retrieval methodology was developed.
Indexed sequential access method. It is used with direct access micro computer
storage devices to provide maximum flexibility for processing and has proved to
be the most flexible for business applications. In this approach, each file contains
an index of the records stored in it. This index is some what like the index at the
back of the book. When you want to look up something in the book, you check
the index for the item you want and locate the page number. In the case of on the
disk. The file can be indexed using any key field. Multiple indexes can be created
on the same file using one or more fields as primary key field.
Scanners have become an important part of the home office over the last few years.
Scanner technology is everywhere and used in many ways:
Flatbed scanners, also called desktop scanners, are the most versatile and
commonly used scanners. In fact, this article will focus on the technology as it
relates to flatbed scanners.
Sheet-fed scanners are similar to flatbed scanners except the document is moved
and the scan head is immobile. A sheet-fed scanner looks a lot like a small
portable printer.
Handheld scanners use the same basic technology as a flatbed scanner, but rely
on the user to move them instead of a motorized belt. This type of scanner
typically does not provide good image quality. However, it can be useful for
quickly capturing text.
Drum scanners are used by the publishing industry to capture incredibly detailed
images. They use a technology called a photomultiplier tube (PMT). In PMT,
the document to be scanned is mounted on a glass cylinder. At the center of the
cylinder is a sensor that splits light bounced from the document into three beams.
Each beam is sent through a color filter into a photomultiplier tube where the light
is changed into an electrical signal.
The basic principle of a scanner is to analyze an image and process it in some way. Image
and text capture (optical character recognition or OCR) allow you to save information to
a file on your computer.
Major types of printer
Printers can be divided into two main groups, impact printer and non-impact printer.
Impact printer produces text and images when tiny wire pins on print head strike the ink
ribbon by physically contacting the paper. Non-impact printer produces text and graphics
on paper without actually striking the paper.
Printers can also be categorized based on the print method or print technology. The most
popular ones are inkjet printer, laser printer, dot-matrix printer and thermal
printer. Among these, only dot-matrix printer is impact printer and the others are nonimpact printers.
Some printers are named because they are designed for specific functions, such as photo
printers, portable printers and all-in-one / multifunction printers. Photo printers and
portable printers usually use inkjet print method whereas multifunction printers may use
inkjet or laser print method.
Inkjet printers and laser printers are the most popular printer types for home and business
use. Dot matrix printer was popular in 70s and 80s but has been gradually replaced by
inkjet printers for home use. However, they are still being used to print multi-part forms
and carbon copies for some businesses. The use of thermal printers is limited to ATM,
cash registers and point-of-sales terminals. Some label printers and portable printers also
use thermal printing.
Due to the popularity of digital camera, laptop and SoHo office (small office / home
office), the demand for photo printers, portable printers and multifunction printers has
also increased substantially in recent years.
Popular Printers:
Inkjet printers
Laser printers
Specialty Printers:
Photo printers
Portable printers
Multifunction / all-in-one printers