阿摩線上測驗 登入

試題詳解

試卷:114年 - 114 學士後醫學系招生考試試題:計算機概論與程式設計#137105 | 科目:【阿摩】未分類題庫

試卷資訊

試卷名稱:114年 - 114 學士後醫學系招生考試試題:計算機概論與程式設計#137105

年份:114年

科目:【阿摩】未分類題庫

17. A banking system allows users to transfer money between accounts. The system must maintain atomicity and isolation. Consider the following transaction steps:
(1) Check if Account A has enough balance
(2) Deduct the amount from Account A
(3) Add the amount to Account B
(4) Commit the transaction
Which of the following database properties is most critical to prevent a scenario where money is deducted from Account A but not added to Account B due to a system crash?
(A) Durability
(B) Isolation
(C) Atomicity
(D) Consistency

(E) Concurrency

正確答案:登入後查看