PROCESSING MODES
Processing is the • Time-sharing
manipulation of
data to produce • Batch processing
information.
• Real-time processing
There are 4 types.
• On-line processing
PROCESSING MODES
1. Time-sharing – is a method used in multi-access systems. It
makes many users believe that they have the undivided attention
of the CPU.
– To do this, the CPU allows each terminal in turn a small amount
of processing time (time slice) before it goes on to the others.
The process happens so quickly that every user on the system
thinks he or she has the continuous use of the CPU.
– The UNIX OS is an e.g of multi-access time-sharing systems.
– An e.g – in universities, where many students and professors may
be connected to the central CPU at one time from different
terminals.
PROCESSING MODES
2. Batch processing – systems refer to where programs and data
are collected together in a batch queue before processing starts.
Normally done on mainframe computers.
– Batch jobs can be stored up during working hours and then
executed whenever the computer is least in use (usually done at
night).
– Once a batch job starts, it continues until it is done or until an
error occurs.
– There is no user interaction while the program is being run.
– Used for weekly, fortnightly, monthly payroll processing, or
processing of utility bills and credit card billing or accounts
receivables where invoices are hand-written.
PROCESSING MODES
2. Real-time processing – refers to where the data is processed
immediately, thus making information current and readily
available. (give examples)
– Real-time OSs are designed to respond to an event within a
predetermined time.
– mainly used in environments where computers are responsible
for controlling systems continuously; for example, robotics,
manufacturing, interactive games, airline reservation system.
– The computer is often a dedicated computer and runs the same
program all the time.
PROCESSING MODES
2. On-line processing – is used where data needs to be processed
quickly or to be shared among users.
– When a transaction is made the processing may or may not be
done during the transaction. (credit card payment via on-line
banking after hours).
– Examples of on-line processing systems are, ABMs, and Point of
Sale Terminals at retail stores or supermarkets.
From syllabus glossary – (to know the difference)
• Multitasking – is the concurrent execution ( at the same
time) of two or more related tasks. A group of
cooperating tasks is executed simultaneously to achieve
a common goal.
• Multi-programming – is the ability of a computer to
execute two or more programs a the same time, using
one CPU (or processor).
• Multi-processing – is the ability of a computer to
execute programs on two or more processor
simultaneously. The program is distributed over several
processors.