Date of Submission: 08-11-2021 @ R.No. 302 (Handwritten ) Section – B12 & B15
Answer all the questions:
Section -A (5X2= 10 Marks) 1. Define atomicity, consistency, isolation, durability 2. Differentiate between precedence graph, wait-for graph 3. From the given diagram what will be the values of Tippu express and Chamundi express after executing T1 & T2 and find the anomaly
4. Differentiate between Strict 2PL, 2PL and conservative 2PL
5. How checkpoint is useful in system crash?
Section -B (2X10= 20 Marks)
1. a.) Why we need Concurrency Control Protocols ? Explain about Lock based protocols b.) Explain in detail about Anomalies Due to Interleaved Execution
2. a.)Explain the steps for recovery from system crash.
b.) Consider the execution shown in Figure, What is done during Analysis, Redo and Undo phase? LSN LOG 00 begin__checkpoint 10 end checkpoint 20 update: Tl writes P5 30 update: T2 writes P3 40 T2 commit 50 T2 end 60 update: T3 writes P3 70 Tl abort X CRASH, RESTART