Transaction Processing Flashcards

(12 cards)

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

What is transaction processing in networking and computing?

A

Transaction processing is the method of executing a series of operations (a transaction) as a single unit that must be completed entirely or not at all, ensuring data integrity.

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

What are the key properties of a transaction?

A

The key properties are ACID: Atomicity, Consistency, Isolation, and Durability.

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

What does Atomicity mean in transaction processing?

A

Atomicity ensures that all operations in a transaction are completed successfully. If any part fails, the entire transaction is rolled back.

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

What does Consistency mean in transaction processing?

A

Consistency ensures that a transaction brings the system from one valid state to another, maintaining all data rules and constraints.

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

What does Isolation mean in transaction processing?

A

Isolation means that transactions are executed independently of each other, so one transaction does not affect the others’ operations or data.

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

What does Durability mean in transaction processing?

A

Durability guarantees that once a transaction is committed, its results are permanent and will survive system failures.

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

What is an example of transaction processing in real life?

A

A bank transfer is a transaction: withdrawing from one account and depositing in another must both succeed or both fail to maintain accurate balances.

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

What is a transaction processing system (TPS)?

A

A TPS is a system that collects, stores, modifies, and retrieves data transactions for an enterprise. Examples include systems for banking, booking, or retail sales.

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

What is the difference between batch and real-time transaction processing?

A

Batch processing handles multiple transactions at once after a delay, while real-time processing executes transactions instantly as they occur.

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

Why is transaction processing important in networking systems?

A

It ensures reliability and integrity when multiple users or systems are updating shared data, especially in database and financial systems.

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

What role does rollback play in transaction processing?

A

Rollback undoes changes made by a failed or incomplete transaction, restoring the system to its previous consistent state.

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