• Join over 1.2 million students every month
  • Accelerate your learning by 29%
  • Unlimited access from just £6.99 per month

Batch Processing

Extracts from this document...

Introduction

Batch Processing Using batch processing input data is grouped together into batches. No data is processed until a complete batch has been put together. Then all the data in a batch is processed in one go. There may be a long time delay between data being input into the system and the data being processed. In this type of system the important data that the computer stores all the time is kept in a file called the master file. The data in the master file is sorted into order using one of the fields in the records in the file, known as the primary key field. The primary key field must uniquely identify each record in the file. Each piece of input data (which will update the contents of the master file) is known as a transaction. All the input data is put together into a batch in a file called the transaction file. There are three different types of transaction that any processing system will have to cope with. They are: * Add a new record to the master file. * Delete a record from the master file. * Amend / update an existing record in the master file. At some predetermined time (e.g. the end of the day or week) the computer system will process the data stored in the transaction file and make any changes that are necessary to the master file as a result of the transactions. This will produce an updated master file and an error report detailing any transactions that could not be processed for some reason. ...read more.

Middle

At the end of the week the transaction file would be processed. Before processing it would have to be sorted into the same order as the master file, i.e. records in order of employee number. The computer would then process the transactions, using the information about how many hours each employee has worked this week (from the transaction file) and their rates of pay (from the master file) to calculate the employee's wages for the week. Payslips can then be printed and the master file can be updated to increase the amount paid so far this year by the wages paid this week. An error report will also be produced. Transaction Processing (or Interactive or On-Line or Pseudo Real Time Processing) For some applications the master file needs to be kept up to date all of the time. For example in a travel agents whenever a seat is booked on a flight the number of seats that remain available on the flight must be reduced by one immediately. If this update was not done until the end of a day (as might happen in a batch processing system) then the flight could become overbooked. Transaction processing systems are used whenever the master file must be kept up to date. A transaction processing system operates like this: When a transaction is entered it is placed in a queue of transactions waiting to be made. The transactions are processed in the order that they are placed into the queue. ...read more.

Conclusion

There is a real world time limit on how long the computer system can take to process data without having terrible consequences. Therefore a missile control system has to be a real time system. Most real time systems are control systems. Other examples include the cooling system in a nuclear reactor, which prevents the reactor overheating, or any system, which must control a dangerous chemical reaction. Real time systems are very fast but they do not process data instantly. Any processing will take some time. However real time systems will process data very quickly. To ensure that any input data can be processed sufficiently quickly real time systems must incorporate a lot of redundancy. This means having much more hardware than is required to process the expected amount of input data. The extra hardware is known as redundant hardware because it is not normally used. Under normal circumstances only a small fraction of the hardware is required. In extreme circumstances when there is an unusually large amount of input data to process the redundant hardware can be used. Therefore the system will not slow down and will still be capable of meeting deadlines. Having to incorporate lots of redundant hardware makes real time systems very expensive. They are usually only used in safety critical situations. Advantage of Real-time Systems Disadvantage of Real-time Systems If real-time systems were not available we would not be able to do certain jobs. E.g. missile guidance. Real-time systems are very expensive to produce and require lots of development time and backup hardware (redundancy). EMMA MOORE - 1 - ...read more.

The above preview is unformatted text

This student written piece of work is one of many that can be found in our AS and A Level Computer Science section.

Found what you're looking for?

  • Start learning 29% faster today
  • 150,000+ documents available
  • Just £6.99 a month

Not the one? Search for your essay title...
  • Join over 1.2 million students every month
  • Accelerate your learning by 29%
  • Unlimited access from just £6.99 per month

See related essaysSee related essays

Related AS and A Level Computer Science essays

  1. I have been given the task of creating a system for a hospital to ...

    the duration of the loan and the computer automatically works out the date it was due for return. This works by having a hidden cell with the formula =TODAY() in it and in the equipment return cell I have just added the loan duration to the hidden cell, which displays the correct return date.

  2. I have been given the task to design a database for a company called ...

    The screen print below shows you how the weight and cost have been taken from different tables. This query is not used as a parameter query as it is not directly going to be used as parameter query, it will be used to create the form to enter data about parcels.

  1. White Soul System Designs - creating a computer system.

    [1] How efficient is the current system? [2] What do you think of the products? [3] How well do the staffs treat customers? [4] How well is the store run? [5] How is service time? Please fill in the remaining questions with a Black pen... [6] How do you think the current system may be improved?

  2. Machine Shack Management System.

    MS-DOS 6.22 which costs �15 Using MS-DOS has saved in my estimations saved a lot more money then if we purchased Microsoft Windows and MS Access. Total spent on some very nice upgrades �144 which is within the available fund.

  1. What is transaction processing?

    This is the forward progression of technology. Transactional processing also involved the use of the internet to order and purchase good again at a time convenient to the customer making it easier for them to shop. The advantages are that purchases can be made without leaving your home or workplace.

  2. Creating a database - Mr Parkes wishes to have a computerised order processing system.

    Supplier orders and payments The ordering of products (stock), and payment for them, will not form part of the new system. This will be handled manually by the user. Integration with existing system Each month a record of all payments from customers (in the form of invoices)

  1. Operating Systems

    * it requires similar processing, * the computer system has identifiable times when it is not being used, and so has available processor time * the application does not require human intervention. Typical examples of applications which would be done using batch processing include production of bank statements from customer files, production of gas (electricity, telephone)

  2. The Value of Data and the Use of Databases

    Data Mining Data mining and knowledge discovery in databases are often used synonymously. Data mining is the term applied to the software technique that looks at a huge set of data and tries to find hidden trends in it. Data can be extracted in such a way that they can

  • Over 160,000 pieces
    of student written work
  • Annotated by
    experienced teachers
  • Ideas and feedback to
    improve your own work