Back to marketplace

Chapter 20 - Transaction processing

No description yet. This curated deck is ready for daily study.

Total cards: 24•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (24)

#1
Front (Question)

What are 3 examples of automated methods?

Back (Answer)

» Smart card readers » Barcode readers » Scanners

#2
Front (Question)

What are 2 examples of manual methods of data capture?

Back (Answer)

» Forms » Questionnaires

#3
Front (Question)

What are 3 ways in which data can be transferred into a database?

Back (Answer)

» DMBS software » Typing it into a customised form » Using EDI

#4
Front (Question)

What does EDI stand for?

Back (Answer)

» Electronic Data interchange

#5
Front (Question)

What is EDI?

Back (Answer)

» Is the computer to computer exchange of documents such as purchase orders, invoices and shipping orders

#6
Front (Question)

What is the main requirement of using EDI, and how does it help the environment?

Back (Answer)

» Must be in standard format so that the computer can understand it » It replaces post, email or fax, therefore saving paper

#7
Front (Question)

How can you select data?

Back (Answer)

» Using SQL

#8
Front (Question)

What is a single logical operation?

Back (Answer)

» Defined as a transaction

#9
Front (Question)

What is Transaction processing?

Back (Answer)

» Any information processing that is divided into individual, indivisible operations called transactions

#10
Front (Question)

What is the base functionality of all relational databse?

Back (Answer)

» Referred to using the acronym CRUD » Create - Insert/create » Read - Select » Update - Update » Delete - Delete

#11
Front (Question)

What does DBMS stand for?

Back (Answer)

» Database mangement systems » Provides a layer for the user and the programmer

#12
Front (Question)

What does ACID stand for, and what is the purpose?

Back (Answer)

» Atomicity, Consistency, isolation, Durability » Set of properties to ensure data integrity is maintained as well as transactions are processed reliably

#13
Front (Question)

What is Atomicity?

Back (Answer)

» Ensures that a transaction is processed in its entirety or not at all » Half- completed change must not be saved back to the database

#14
Front (Question)

What is Consistency?

Back (Answer)

» Ensures that no transactions can violate any of the defined validation rules » Referential integrity, will always be upheld - Meaning any change in the databse must retain the overall state of the database

#15
Front (Question)

What is isolation?

Back (Answer)

» Ensures that concurrent execution of transactions leads to the same result as if transactions were processed one after the other » Transactions must not be interrupted by another transaction

#16
Front (Question)

What is durability?

Back (Answer)

» Ensures once a transaction has been committed, it will remain so, even in the event of system failure » DBMS writes the effects of the transactions into secondary storage rather than RAM » Held in buffer until all elements are compelted » Only then will the changes to the database tables be made

#17
Front (Question)

What is the purpose of record locking?

Back (Answer)

» Prevents simultaneous access to objects in a database in order to prevent updates being lost or inconsistencies in the data arising

#18
Front (Question)

What is one problem with record locking?

Back (Answer)

» A dealock can arise where if 2 users are attempting to update 2 records

#19
Front (Question)

What is Serialisation?

Back (Answer)

» Ensures that transactions do not overlap in time and therefore cannot interfere with each other or lead to updates being lost

#20
Front (Question)

What are the 2 techinques of serialisation?

Back (Answer)

» Timestamp ordering » Commitment ordering

#21
Front (Question)

How does timestamp ordering work?

Back (Answer)

» If 2 transactions affect the same object, the transaction with the earlier timestamp should be applied first

#22
Front (Question)

Explain how timestamp ordering works?

Back (Answer)

» Every object in the database has a read and write timestamp, which is updated whenever an object is read or written » When the user tries to save an update, if the read timestamp is not the same as it was when they started the transaction, the DMBS knows another user has accessed the same object?

#23
Front (Question)

What is commitment ordering?

Back (Answer)

» Another serialisation technique to ensure that no transactions are lost if 2 clients are simultaneously trying to update a record

#24
Front (Question)

Explain how commitment ordering works?

Back (Answer)

» Transactions are ordered in terms of their dependencies on one another as well as the time they were initated » Can be used to prevent deadlock by blocking one request until another is completed