100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

CSE 511 Midterm ACTUAL UPDATED Exam Questions and CORRECT Answers

Rating
-
Sold
-
Pages
10
Grade
A+
Uploaded on
18-08-2025
Written in
2025/2026

CSE 511 Midterm ACTUAL UPDATED Exam Questions and CORRECT Answers Transaction - CORRECT ANSWER or to the database system ACID - CORRECT ANSWER ACID - Atomic - CORRECT ANSWER in full or not at all (no subdividing) -User program that can either read or write data from -Atomicity, Consistency, Isolation and Durability -All or nothing - Transaction must be completed ACID - Consistency - CORRECT ANSWER -Transactions will transform the database from one consistent state to another. There are no violations of integrity constraints.

Show more Read less
Institution
CSE
Course
CSE









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
CSE
Course
CSE

Document information

Uploaded on
August 18, 2025
Number of pages
10
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Content preview

CSE 511 Midterm ACTUAL UPDATED
Exam Questions and CORRECT Answers
Transaction - CORRECT ANSWER -User program that can either read or write data from
or to the database system


ACID - CORRECT ANSWER -Atomicity, Consistency, Isolation and Durability



ACID - Atomic - CORRECT ANSWER -All or nothing - Transaction must be completed
in full or not at all (no subdividing)


ACID - Consistency - CORRECT ANSWER -Transactions will transform the database
from one consistent state to another. There are no violations of integrity constraints.


ACID - Isolated - CORRECT ANSWER -Transactions execute independently of one
another. Database changes are not revealed to one another until after a transaction has completed.
Serializable - even if some transactions are executed concurrently the results must be the same as
if they were executed serially in some order.


ACID - Durable - CORRECT ANSWER -Database changes are permanent.



How is concurrency achieved in DBMS? - CORRECT ANSWER -Interleaving actions of
multiple transactions.


Serial Schedule - CORRECT ANSWER -Schedule that does not interleave the actions of
different transactions.


Equivalent Schedule - CORRECT ANSWER -Effect of executing the first schedule is
identical to the effect of executing the second schedule.

, Serializable Schedule - CORRECT ANSWER -A schedule that is equivalent to some serial
execution of the transaction.


Two schedules are conflict equivalent if: - CORRECT ANSWER -- Schedules involve the
same actions of the same transactions
- Every pair of conflicting actions (read/write conflict) is ordered the same way


Conflict Serializable Schedule - CORRECT ANSWER -Schedule S is conflict serializable
if S is conflict equivalent to some serial schedule.


Creating dependency graph to determine if transactions are conflict serializable - CORRECT
ANSWER --Create one node per transaction (e.g. Ti, Tj)
-Create an edge from Ti to Tj if Tj reads/writes an object last written by Ti
-Examine the graph for cycles. If a cycle exists then the set of transactions is NOT conflict
serializable


Strict Two Phase Locking - CORRECT ANSWER -A transaction must acquire a shared
lock on an item before reading and an exclusive lock on an item before writing.
-Multiple transactions may hold a shared lock on a single item.
-If a transaction holds an exclusive lock on an item no other transaction may hold a
shared/exclusive lock on that same item.


Define the two phases of Strict 2PL - CORRECT ANSWER -Phase One: transaction will
acquire locks that it needs
Phase Two: transaction will release locks at the end of the transaction


What is the lock manager? - CORRECT ANSWER -The lock manager handles lock and
unlock requests. These operations are atomic.


What is deadlock and how do we detect it? - CORRECT ANSWER -Cycle of transactions
waiting for locks to be released by one another.

Get to know the seller

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.
MGRADES Stanford University
View profile
Follow You need to be logged in order to follow users or courses
Sold
1078
Member since
1 year
Number of followers
102
Documents
68972
Last sold
1 day ago
MGRADES (Stanford Top Brains)

Welcome to MGRADES Exams, practices and Study materials Just think of me as the plug you will refer to your friends Me and my team will always make sure you get the best value from the exams markets. I offer the best study and exam materials for a wide range of courses and units. Make your study sessions more efficient and effective. Dive in and discover all you need to excel in your academic journey!

3.8

171 reviews

5
73
4
30
3
46
2
8
1
14

Recently viewed by you

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

Frequently asked questions