Transaction Processing Systems Flashcards

1
Q

What is a transaction? /2

A

A transaction is a series of events important to an organisation that involve:

  • request
  • acknowledgement
  • action
  • outcome

An example is ordering a product or purchasing an item

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the components of a transaction processing system? /5

A
  • purpose
  • data
  • information technology
  • processes
  • participants
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Two outcomes of a transaction? /2

A
  • complete success

- complete failure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Define Batch Processing, Explain Process, Provide Examples, Advantages and Disadvantages? /6

A

Batch processing is the collection and storage of data for processing at a scheduled time or when there is sufficient data.

Transaction collected and put into batches or groups&raquo_space;> Transaction File created (contains all data before submitted for processing)&raquo_space;> Transaction file is stored&raquo_space;> Transactions processed and master file updated periodically

Examples: Clearing cheques, payroll processing

Advantages: can be run as a regularly scheduled event, can be run as a fully automated process without need of a human operator

Disadvantages: does not provide data that are full current hence can be out of date, will stop processing if error is detected in any of the tasks, must have exclusive access and control over its data files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Define Real Time Processing, Explain Process, Provide Examples, Requirements Needed? /6

A

Real time processing immediate processes the data when requested hence everything is up to date.

Processing occurs as the transactions arrive and not delayed like batch processing. Each transaction must be completed within a reasonable amount of time or the user must be notified.

Examples: OLTP (Online Transaction Processing )

Requirements needed are faster direct access to secondary storage, large amount of RAM to allow common processes to be consistent, secure communication links, quick processor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

ACID Properties include: /4

A

Atomicity- All events within a transaction must complete successfully or none at all. e.g airline reservation using credit card

Consistency- Ensures that transactions take data from one consistent state to another. e.g no. reserved seats vs no. tickets issued

Isolation- Allows transactions to process data without interfering with or being influenced by other transactions

Durability- Ensures committed transactions are permanent. All changes written from RAM to permanent storage before transaction is considered to be committed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Types of TPS? /5

A
  • Web based
  • Non web based
  • Online Real Time
  • Batch
  • Systems that appear in real time but actual updating is batch processing. Example: credit cards, deposits ATM
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Identify and Describe storage of digital data in database files? /6

A

Sequential data storage: Stores data in a set sequence and either uses Linear search (unsorted&sorted) or Binary search (sorted)

Indexed Sequential Storage: Made of a main data file and separate smaller index file. Index file contains the key field value and location of every data record in the main file. Can be searched using linear & binary search. If the main file is sorted or content is added / edited then the index file must be altered.

Hashed File Storage: Divides data storage area into a number of different locations and give each location an identifying number. Dividing the key filed value of the designated rerecord by the number of storage locations leaves a remainder. The remainder becomes the location number for the record. Very FAST at locating records in LARGE databases.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Systems to store paper records of transactions? /6

A

Paper records have several disadvantages

Storing paper is bulky and requires lots of space

A separate index or catalogue must be maintained to locate documents

Difficult to manually find all occurrences of text in multiple documents

Sorting large quantities of paper documents is slow and unreliable

Paper documents can be converted to digital by:

Document imaging

Optical Character Recognition (OCR)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly