Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 1 out of 3 pages
Exam (elaborations)

ADB Final Exam Questions and Answers Fully Solved

Document preview thumbnail
Preview 1 out of 3 pages

ADB Final Exam Questions and Answers Fully Solved During simultaneous execution each operation should be interleaved with the others, ensuring no interference with the other operations. This maintains a database's... - Answers Concurrency The system has entered an undesirable state (eg, deadlock) as a result of which a transaction cannot continue with its normal execution. This is called - Answers Logical Error Which isolation level has the highest risk of blocking? - Answers Serializable Consider the following transaction involving two bank accounts x and y. read (x); x := x-50 ; write (x); read (y); y:= y + 50; write (y) The constraint that the sum of the accounts x and y should remain constant is that of T1: read(x) x := x -50 write(x) T2: read(y) y := y+50 write(y) Before transaction: initially x=100 and y =150 then x + y = 250 After transaction: finally x=50 and y=200 then x + y =250 The constraint that the sum of the accounts x and y should remain constant is that of ... - Answers Atomicity Phantom reads occur when a transaction rereads data it has previously read and finds new rows that were inserted by a different transaction. True or False - Answers True In what case would a database prefer the 2PL protocol? - Answers When the system needs to avoid the problem of lost updates. Can a deadlock still occur if a system allows circular wait but no hold and wait? - Answers Yes, always. Which of the following deadlock prevention strategies can lead to starvation? - Answers Resource ordering Snapshot isolation is used to give... - Answers Transactions a snapshot of the database an

Content preview

ADB Final Exam Questions and Answers Fully Solved

During simultaneous execution each operation should be interleaved with the others, ensuring no
interference with the other operations. This maintains a database's... - Answers Concurrency

The system has entered an undesirable state (eg, deadlock) as a result of which a transaction cannot
continue with its normal execution. This is called - Answers Logical Error

Which isolation level has the highest risk of blocking? - Answers Serializable

Consider the following transaction involving two bank accounts x and y.

read (x); x := x-50 ; write (x); read (y); y:= y + 50; write (y)

The constraint that the sum of the accounts x and y should remain constant is that of

T1: read(x)

x := x -50

write(x)

T2: read(y)

y := y+50

write(y)



Before transaction: initially

x=100 and y =150 then x + y = 250

After transaction: finally

x=50 and y=200 then x + y =250



The constraint that the sum of the accounts x and y should remain constant is that of ... - Answers
Atomicity

Phantom reads occur when a transaction rereads data it has previously read and finds new rows that
were inserted by a different transaction. True or False - Answers True

In what case would a database prefer the 2PL protocol? - Answers When the system needs to avoid the
problem of lost updates.

Document information

Uploaded on
June 21, 2025
Number of pages
3
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$10.89

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
TutorJosh
3.5
(75)
Sold
491
Followers
16
Items
32822
Last sold
1 day ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions