Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
TASKS OF COMPUTERS
The basic tasks that computers can perform are quite limited and can be divided into
three categories!
1. Arithmetic operations (addition, subtraction, multiplication, and division).
2. Comparison operations (determining whether a given value is greater than, equal to,
or less than another value).
3. Storage and retrieval operations (such as saving a program on a disk so that is can
be used later).
What makes the computer particularly useful to people is its ability to combine
these tasks as needed and to perform them with a high degree of speed and
reliability. With care, a person can add a hundred numbers or even a thousand
numbers and find the correct result, but the chances for making an error in this
tedious process are considerable. Also, It is a boring task. This is the kind of job that
is well suited to a computer. In addition to performing it quickly arid accurately, the
computer can store the result for future use.
HARDWARE
Hardware consists of the actual physical components of the computer. The three basic
components of a computing system, which are essentially the same regardless of the type of
system are: a central processing unit, a primary storage unit, and peripheral devices.
1. The Central Processing Unit
The component of the computer system that performs processing function is called the
central processing unit (CPU). The CPU is the "brain" of the computer and is composed of two
major components: the control unit and the arithmetic/logic unit. The control unit is in charge
of the activities of the CPU, It does not process or store data itself, but instructs various parts
of the computer in performing these tasks. Instructions given to the computer by the user are
interpreted by the control unit, which then sends out signals to circuits within the CPU to
execute these instructions. The appropriate input devices are directed to send the user-
supplied data to the computer. The control unit also keeps track of which parts of a program
have been executed and which ones remain to be executed. Finally, it collects the output and
sends it to the designated output device, such as a monitor screen or a printer.
The arithmetic/logic unit (ALU) performs mathematical computations such as addition and
multiplication and logical operations. A logical operation is performed by instructing the
computer to make a comparison and then to take an action based on the result of that
comparison. For example, a program statement might instruct the computer to determine if
number X is greater than number Y, and to print X if. this condition is true. If the condition is
falsej the program might specify another course of action. Arithmetic and logic operations are
the only types of instructions that the ALU is able to execute.
3. Peripheral Devices
Peripheral devices can be divided into three general categories: input devices, output
devices, and secondary storage devices. Programs and data that are entered into a computer
to be processed are called input. The word data refers to facts that have been collected but
not organized in any meaningful way. When data is processed, or converted to some
meaningful form, the result is information. For example, in a national election, the records of
all the votes cast for the office of President are data. When these votes are tabulated and the
final totals are determined, the result is information.
Input devices are used to enter data into the computer so that it can be processed. There
are many input devices; some examples are a terminal keyboard, a mouse, a graphics tablet,
and a light pen. A given computer system can have many different input devices.
Output devices, such as monitor screens and printer, allow the user to examine the
computer's output, or processing results. Displaying output on the screen, gives the user the
result in a convenient, readable form; this output is referred to as soft copy. However, these
results are lost as soon as something else replaces them on the screen. Printing the results on
paper, however, gives the user a way of permanently saving this information so that he or she
can refer to it at a later time. This output is called hard copy. As with input devices, a
particular computer system can have many different output devices.
Computers have only a limited amount of storage space in the primary storage unit because
this type of memory is relatively expensive to provide, programs, information, and data that
need to be saved for later use can be transferred to secondary storage (also referred to as
auxiliary storage). Secondary storage devices allow programs, data, and processing results to
be saved on secondary storage media such as magnetic tape or floppy diskettes. Disk and
tape drives are commonly used secondary storage devices. When the computer needs to
process these items again, they can be transferred back into the primary storage unit of the
computer. Although it takes more time, to access items in secondary storage than those in
main memory, secondary storage can store enormous quantities of data at a reasonable cost.
In addition to being less expensive than primary storage, the amount of secondary storage
available can easily be increased.
SOFTWARE
Programming is the process of writing instructions (a program) for a computer to use to
solve a problem. These instructions must be written in a programming language. A program
can be anything from a simple list of instructions that adds three numbers together to a large
complex structure with many subsections, which calculates the payroll for a major corporation.
Programs and series of programs are referred to as software. Some programs direct the
computer in its own internal operations. These are called system programs. Other programs are
written to solve users problems. They are referred to as application programs.
SYSTEM PROGRAMS
System programs directly affect the operation of the computer. They are designed to facilitate
the efficient use of the computer's resources and aid in the development and execution of
application programs. In early computer systems, human operators watched over computer
operations, decided the order in which programs were run, and prepared the necessary input
and output devices needed by a program. But as the processing speeds of CPUs increased, the
speed of the human operators remained the same. Time delays and errors caused by human
operators became a serious problem.
In the 1960s operating systems were developed to overcome this problem. An operating system
is a set of system programs that allows system to manage its own operation if such a way that
the system's resources are used efficiently.