Kamis, 27 November 2014

Batch Processing applications,Automatic stock control, online booking system


Batch Processing applications

Batch Processing


·         Use to process a lot of data and a fast response time
·         No data is processed until a complete batch has been put together
·    
Three types of transaction:
  1. ·         Add
  2. ·         Delete
  3. ·         Update

Before process
·         Validating = each transaction is check again
·         Sorting = sort using a primary key
Advantage
·         Cheaper and easier real-time system
·         It is automatically, when it is less busy.
Disadvantage
·         The time lag is not so fast when updating
·         A delay when processing before work and when the output is obtained

Payroll System:

Payroll system is an application that are used to count the wages of every employees at the end of the week or month and also to print it using the information in its server.
Input : First it reads the detail of the Employees, the time that the employees worked and any overtime duration
Process:  gross pay, any deduction (e.g Tax) , etc
Output : Print the Slip(Check), update the file, Transfer money to the Bank account of the employees if they have Bank account

Billing systems

Companies send their bill on a pre-determined date, so that theyu send their bills in one batch.
Inputs: customer details (address), charge per kW (unit) of power, previous readings, new readings taken from the electricity meter, bank account details.
Process: the process is done by the calculation of number of units of electricity used, customer’s cost, monthly payments made (if using direct debit), outstanding amount owed or carried in the next bill.
Outputs: bill showing all the details, updating of customer file, production of request for payment if not done through direct debit

Automatic Stock Control

 Automatic uses a Barcode. With this the identification of the item will be faster in the cashier with a barcode reader. Barcodes are made up of alternating dark and light lines of varying thickness barcode usually consists of four parts: country code, manufacturer’s code, product code and a check digit.check digit is a form of validation which is used to make sure no errors occurred during the reading of the barcode.

Here is the example of a barcode reading:

  1    3    5    7    9    11      odd digit position
  4 7 2 8 4 6 9 3 2 2 1
     2    4    6    8   10           even digit position

even numbers: 7,8,6,3,2
odd numbers:4,2,4,9,2,1

Add together the digits in the odd positions and multiply the sum by 3:

(4+2+4+9+2+1) times 3 = 22 x 3 =66

Add together the digits in the even positions:

7+8+6+3+2= 26

Add the two results together: 66+26= 92 

To find the check digit, calculate what needs to be added to 92 to make the next
multiple of 10 i.e. 100

.Hence the final code is 4 7 2 8 4 6 9 3 2 2 1 8

Barcodes are used in the following applications:
  1. library book systems 
  2. administration systems 
  3. passport and ID card systems
  4. some burglar alarm systems
  5. equipment checking systems 
  6. automatic stock control systems 



·       Stock control system are   system that monitor the item in stock, to know if it is too much or too little to all items
·         It works just like Microsoft Excel (spreadsheet)
·         Example: for stores
·         When a item is added or taken, the system will record it
·         The system will check if the item is less than the quantity that the market needs.

Advantage:
·         Make updating easier
·         Instant feedback
·         Sales are shown
·         Re ordering can quickly be done

Disadvantage:
·         Complicated
·         Expensive
·         Staff training
·         If the system broke, the whole place will be confused
·         Need backup plans
·         Staff needs to remember to update

Online booking

·         Website
·         Example is booking flight
·         In the website, you can see the flight available
·         You can book seats/rooms in the form from the website
·         The details will transferred to the central database, which will be update
·         It uses real-time transaction processing so that if the seat is taken it will give the information that the seat is not available anymore
·         They have strict changes so only one person can change it.

Advantage:
·         Save time
·         Saves money (in transport), by not going to the place where we need to buy the ticket we can save fuels and money
·         Easier

Disadvantage:
·         By fake website, our personal info can be stolen
·         It is hard for the one that can’t use the internet

·         Hard for someone that doesn’t have any gadget or PC

Tidak ada komentar:

Posting Komentar