Showing posts with label Data Processing system. Show all posts
Showing posts with label Data Processing system. Show all posts

Friday, March 14, 2014

DATA PROCESSING SYSTEMS

 The methods of data processing depend upon the following factors:
(a) Volume of data to be processed
(b) Complexity of data processing operations
(c) Computational demands
(d) Processing time constraints and
(e) Economic factors.
Various methods or modes of data processing are given below:
(i). The single user system
(ii). Batch processing
(iii). Multi-programming
(iv). On-line Processing
(v). Real-Time processing
(vi). Time sharing concept
(vii). Distributed processing

The methods of data processing are explained below:

The single user system

It is one-man show and is indicative of one of the earlier stages of computer
development. Here only one person can work at a time. Hence, especially if the machine is
meant for the use of many persons, much computer time is wasted waiting for one person to
finish and debug his program on the machine.

Batch Processing

This is an old system but even today it is used for data processing in computing
machines, in which the capacity of the CPU is limited. In this system, the data is collected for a
predetermined period of time, after which it is accumulated in sequential manner.
In this system the source transaction documents are first collected before being sent to
computer room. A batch of transactions is entered onto a computer media by data entry devices.
The transactions are validated during data entry and verified with the source documents from the
check lists. The validated and verified results on reports are returned to the user departments. In
batch processing system the emphases is on maximizing the computer resource utilization.
In batch processing, the processing cycle called Batch processing cycle repeats itself at
every regular intervals. The elements this cycle are given below:
(i) Data capture.
(ii) Data transmission.
(iii) Data transcription, verification and validation.
(iv) Job Processing.
(v) Job assembly putting together the batch for processing.
(vi) Job disassembly (separating out the reports after processing)
(vii) Reports and distribution.

Features

(a) Here, the data is accumulated into batches and processed periodically.
(b) The jobs are processed one after the other without any user interaction.
The concept of Batch Processing is dearly explained with the help of the following
diagram:
Examples of applications which can use batch processing are:
(1) Payroll Processing: In payroll processing the data are collected for a stipulated period of
time usually one month and processed at regular intervals after which payments are
distributed to all the employees.
(2) Telephone Billing: Here the subscriber does not get a bill for every call he makes. Instead,
his calls are recorded at a centralized place and are processed on a predetermined period of
time to prepare his bills.
(3) Financial accessing
(4) Budgeting and Budgeting control
(5) Production planning and control
(6) Project planning and control
(7) Project planning and control
Drawbacks in Batch Processing:
The following are the drawbacks of batch processing:
1. Time gap between capture of data
2. Time consuming to debug
3. Delay in generating reports

Multi-programming:

In batch processing, programs are executed one by one. The memory and ALU of the
machine are not being fully utilized. To get the maximum use of the machine, multiprogramming
system is used. “Multi-programming enables to store and execute more than one
program in the CPU at the same time”. The multi-programming concept is event based. The
purpose of multi-programming is to increase utilization of the computer system as whole.
Multi-programming is defined as execution of two or more program that all reside in
primary storage. Since the CPU can execute only one instruction at a time, cannot
simultaneously execute instructions from two or more program. However, it can execute
instructions from one program then from second program then from first again, and so on. This
type of processing is referred to as concurrent execution. Using concept of concurrent execution,
multi-programming operate in the following way:
When processing is interrupted on our program, perhaps to attend an input or output
transfer, the processor switches to another program. This enables all, parts of the system, the
processor, input and output peripherals to be operated concurrently thereby utilizing the whole
system more fully. When operating on one program at a time the processor or peripherals would
be idle for a large proportion, if the total processing time, even though this would be reduced to
some extent by buffering. Buffering enables the processor to execute another instruction while
input or output is taking place rather than being idle while transfer was completed. Even then,
when one program is being executed at a time, basic input and output peripherals such as floppy
disk drive and line printers are slow compared with the electronic speed of the processor and this
causes an imbalance in the system as a whole. However, in a multi-programming environment
the CPU can execute one program's instructions while a second program is waiting for I/O
operations to take place.
In a system of multi-programming storage is allocated for each program. The areas of
primary storage allocated for individual programs are called ‘partitions’. Each partitions must
have some form of storage protection and priority protection to ensure that a program must have
some form of storage protection to ensure that a program is one portion will not accidentally
write over and destroy the instructions of another partition and priority (when two or more
programs are residing in primary storage) because both programs will need access to the CPU's
facilities (e.g.; the arithmetic and logic section) A system of priority a method that will determine
which program will have first call on the computer's facilities is normally determined by locating
the program in specific partitions.
Programs that have the highest priority normally are stored in an area called the
‘foreground partition’. Programmes with lowest priority are stored in an area called ‘background
partition’.

On-Line Processing

Definition of Online Processing:

Online processing refers to processing of individual transactions as they occur from their
point of origin as opposed to accumulating them into batches. This is made possible by such
direct access devices as Magnetic disk and Magnetic Drum and number of terminals connected
to, and controlled by a central processor. In this way, various departments in a company can be
connected to the process by cables. If operating companies are a number of miles away from the
processor then they are linked by means of telegraph or telephone lines. This type of processing
provides multi access to information files by terminal users and also enables them to update with
transactions data.
It is a non-sequential process in which data is directly transmitted between input/ output
device and a computer system via communication links. It is a method of processing where many
users have direct access to the same system, and where the file is updated as soon as the
transaction is completed.

Special Features

1. In this method data is not accumulated, instead it is entered and executed directly.
2. Quick Processing - By means of direct communication with the computer and continuous
flow of input, the delay between transactions and their processing is avoided.
3. This method reduces the data entry errors, because the user who generates, the data is the one
who keys it in.
4. This system validates data at various points and ensures that correct data is being entered.
5. Under this method the system performs the whole task in a conversational 'manner helping
the data entry process.
6. In on line processing, one has the latest update immediately.
Online processing ensures that the records are in updated at any time whereas this is so
with batch processing say once a week but the fact remains that online processing is usually
more costly. Therefore in choosing one of the processing both updating of records and costs are
to be considered.

 On-line Applications:

Systems are being developed and are already in use for a wide range of application in
different type of industries described below:
a. Electricity and Gas Boards: By means of terminals situated in showroom it is possible to
inform perspective customers of the availability of the appliances in response to their
inquiries.
b. Banking: It is possible to inform bank customers of the status of their accounts in
response to an inquiry by accessing relevant file using on online terminal.
c. Tour Operators Reservation Offices accept telephone inquiries from travel agents
regarding the availability of holidays in respect of client's inquiries. By means of
terminals, the availability of the required holidays can be checked and booked
immediately.
d. Stock Exchange: Terminals located in major stock Exchange through out the country and
the offices of participating brokerage from enable the speedy processing of share
dealings.
e. Stock Control: Terminals located in warehouse provide the means for automatic
recording of stocks, updating of stock records, reservations, follow-up of outstanding
orders and the printing of picking list etc.,
Benefits provided by Online Systems: Online systems provide a number of benefits all of
which assist in improving administrative efficiency which is essential in today's competitive
business environment. A number of benefits are out-lined below:

a. Integration of clerical work with the computer:

On-line systems assist in harnessing activities of clerical staff to the computer by the use
of terminals. They can have access to information which they require for the efficient
performance of their jobs in dealing with customer enquiries and order processing.

b. Elimination of tedious tasks:

Routine clerical tasks are replaced by terminal operations providing a greater degree of
job interest, operating efficiency and job satisfaction.

c. Reduction in paper work:

Volume of paper work generated by normal clerical system and batch processing system
is relatively high. Online systems reduce the volume of print out required for management report
since the information can be displayed on terminal screen on demand.

d. Improved accuracy:

As terminal messages are checked accuracy before being transmitted to the computer by
data validation programs, the quality of formation in a system increases as the input errors are
reduced. Hence, information is more reliable.

e. File updating improved:

Master files are more easily updated by terminal key board with regard to transaction
data, as special runs do not require to be set up as is the case with batch processing applications.

f. Management Information more readily available:

Management information becomes more readily available by direct access facilities
which enables mangers to obtain a greater degree of control to the operations for which they are
responsible.

g. Improved customer services:

Improvements in the level of customers service can be expected in these systems
concerned with appliances sales, booking systems and accounting enquiries.

h. Reduced data preparations cost:

On-line system dispense with the need to convert human sensible data into machine
sensible data thereby eliminating punching and verifying operations. This saves time and the cost
associated with such operations.

Real Time Processing

It is also called as interactive mode or Direct mode. This system makes the user to have
direct contact with the computer through his terminal. It is an alternative approach to an on-line
processing system. Here the data is processed, the instant it occurs. There is no delay between
the time data is available, and the time it is processed.

The term real time refers to the technique of updating files transactions date immediately
after the event to which it relates occurs. This is in distinction to batch processing which
processes related data to batches of pre-defined periods of time. Real time systems are basically
on-line systems with one specially in inquiry processing. The response of the system to the
inquiry itself is used to control the activity. An on-line production data collection system that
simply accepts input and utilities it for payroll and costing purposes cannot be termed real-time,
but if, on the other hand, the system is designed to provide immediate information to monitor the
production processes, it is a real time system.

Special Features

(a) Program is always under execution.(b) It produces output to control, direct or affect the outcome of an ongoing activity or
process.
(c) In this method, the control is exercise during the actual functioning.
(d) It is meant exclusively to perform one task.
(e) It is like an online system with; title constraints on response time availability.
(f) It is called a real time system because it has to give results based on dead lines which
are imposed by the real world outside.
(g) The data which has to be produced by the systems has to be in such a less time, that they can
influence the external events which are based on this data.

Thus the response of a real time system is one type of feedback control system. The
response time would naturally differ from one activity to another. If the example, it is the
launching of a space vehicle, the response time should be in split second whereas in business
situation even a few minutes of response time may be alright. Online updating in real time
usually leads to transaction as a by-product. For example, the updating in real time a customer's
order may lead to such transactions as dispatch noted and purchase requests, etc. Real time
systems offer accountants and others in business a chance to fulfill the potential of the computer
as a tool of management.

Guided Missile System

Real Time Processing is suitable in the following type of business operations:
i. Wholesale supplier and manufacture - Availability of stocks.
j. Airline - Flight seat availability.
k. Manufacturing - Status of production orders.
l. Process Control.

Space Craft Control.

Real time systems usually operate in multi-programming and multi-processing: This
increases both availability and reliability of the system. CPU's in real time system should possess
the, capability of what is known as program interrupts. These are temporarily stoppage or halts in
the execution of a program so that more urgent messages can be handled on priority. It may be
worth noting that some computers systems are dedicated to real time operations and others are
designed to operate in both batch and real time modes so that they can also serve as stand by unit
to each other.

Time Sharing

It is a special type of on-line processing in which several users share the resources of an
on-line computer system to avoid turn about time, especially when results are needed quickly;
another system is available i.e., time sharing system. In this method the individual user has an
independent local terminal. The terminal is connected to a main computer, which does all the
processing work.
Under this system each person on a terminal has to log into the system. The system then
lists him in the order in which he has logged on. Once everybody has logged on, the system will
permit the first in the list to run his program. The time given for running the program is generally
10 milliseconds. It is called a time slice or a time slot or a quantum. Starting then, with the first
to log on, each user is given his time slice. Once all have made use of it, the system starts all over
again, repeating the cycle. The system maintained is called a polling system whereby each
terminal is polled on a round robin basis.
All the instructions given by the users are carried to the centrally located main computer
system and processed there and retrieve back by the user instantaneously. Since, the centrally
located main computer has high-speed processor, users may feel that they are sharing the same
computer resources.

Features

1. The processor time is shared between two or more persons.
2. The processor switches from one user's job to another at a rapid rate under the control
of a monitor program.
3. This concept is time based.

The concept of time-sharing can be explained with the help of the following diagram.
Let us suppose that there are three terminals, each person on a terminal has to log into the
system. The system then lists him the order in which he has logged on. Once everyone has
logged on, the system will permit the first on the list to run his program. The time given for
writing a program is called a time slice or time slot. Starting from the first, each user is given his
time slice. Once, all the three users have made use of it, the system starts all over again,
repeating the cycle. The sequence maintained is called Polling System. Most time sharing
systems respond to user's instructions in milli/micro seconds.

Advantages of Time-Sharing System

(1) Simultaneously several users can be served.
(2) All the users have the same priority.
(3) All the users get equal amount of processor time.
(4) The interaction with the running programs is possible.

Time-Sharing Vs Multi-programming

The difference between these two methods is that in "time, sharing" the CPU links only
one terminal at a time and its total time is shared uniformly by all the users. But in
multiprogramming, the CPU links more than one terminal or other peripherals at a time.
Therefore, multiprogramming more efficiently utilizes the main memory and the central
resources than time sharing. Time sharing is employed only for multi terminal system whereas
multi programming is meant both for single as well as the multi terminal system.

Distributed Processing

In computer science, a form of information processing in which work is performed by
separate computers that are linked through a communications network. Distributed processing is
usually categorized as either plain distributed processing or true distributed processing. Plain
distributed processing shares the workload among computers that can communicate with one
another. True distributed processing has separate computers perform different tasks in such a
way that their combined work can contribute to a larger goal, such as the transfer of funds from
one bank to another. This latter type of processing requires a highly structured environment that
allows hardware and software to communicate, share resources, and exchange information
freely. At the highest (and most visible) levels, such distributed processing can also require datatransfer
mechanisms that are relatively invisible to users but that enable different programs to use
and share one another's data.
Distributed data processing system is a network of several computers in remote stations,
each of which is linked to a single host computer. The larger, central computer maintains the
firm's master data base and system log. Each remote system is a fully independent computer that
maintains its own local data base in addition to communication with the master computer. These
individual computers are tied together through a high speed communication network. This allows
individual computers to communicate with one another in a variety of ways depending on the
CIS requirements.
Many small computers (called nodes) are employed as data collection points in several
departments. They are connected to a main computer system (called File Server) in a centralised
department, which controls the entire database. The processing involved here is known as
distributed processing.
The distributed data processing system exists because of the need for large interactive
installations with a high degree of reliability and accuracy. Moreover, large number of mini
computers can be connected in this system which results in cost reduction.

Features

(a) Decentralized computer system
(b) Interconnected by communication network (c) More reliable
(d) Since more than one computer is used in the network, it is economical.

Advantages:

Distributed data processing system has many advantages:
a. Local computers on the network offer immediate response to local needs.
b. Systems can be expanded in modular fashion as needed because many small
c. Computers are used as the system is not dependant on large unit that could shut down the
network if it failed.
d. Equipment operating and managing costs are often lower.
e. Minicomputers tend to be less complex than large systems; therefore, the system is more
useful to local users.
Distributed data processing system a number of computer systems are linked together. So the
facilities available-in one computer system can be shared by all. This link is called computer network.