Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  Consider the following schedule S of transact... Start Learning for Free
Consider the following schedule S of transactions T1, T2, T3, T4:

Q. Which one of the following statements is CORRECT?
  • a)
    S is conflict-serializable but not recoverab le
  • b)
    S is not conflict-serializable but is recoverable
  • c)
    S is both conflict-serializable and recoverable
  • d)
    S is neither conflict-serializable nor is it recoverable
Correct answer is option 'C'. Can you explain this answer?
Verified Answer
Consider the following schedule S of transactions T1, T2, T3, T4:Q. Wh...
To check for conflict-serializable, we need to make a precedence graph, if the graph contains a cycle, then it's not conflict serializable, else it is. Here, for the precedence graph there will be only two directed edges, one from T2 -> T3 (Read- Write Conflict), and another from T2 -> T1(Read- Write Conflict), hence no cycle, so the schedule is conflict serializable. Now to check for Recoverable, we need to check for a dirty-read operation(Write by Transaction Ti, followed by Read by Transaction Tj but before Ti commits) between any pair of operations. If no dirty-read then recoverable schedule, if a dirty read is there then we need to check for commit operations. Here no dirty read operation (as T3 and T1 commits before T4 reads the Write(X) of T3 and T1 , and T2 commits before T4 reads the Write(Y) of T2). Therefore the schedule is recoverable. Hence, Option C.
View all questions of this test
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Consider the following schedule S of transactions T1, T2, T3, T4:Q. Which one of the following statements is CORRECT?a)S is conflict-serializable but not recoverab leb)S is not conflict-serializable but is recoverablec)S is both conflict-serializable and recoverabled)S is neither conflict-serializable nor is it recoverableCorrect answer is option 'C'. Can you explain this answer?
Question Description
Consider the following schedule S of transactions T1, T2, T3, T4:Q. Which one of the following statements is CORRECT?a)S is conflict-serializable but not recoverab leb)S is not conflict-serializable but is recoverablec)S is both conflict-serializable and recoverabled)S is neither conflict-serializable nor is it recoverableCorrect answer is option 'C'. Can you explain this answer? for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about Consider the following schedule S of transactions T1, T2, T3, T4:Q. Which one of the following statements is CORRECT?a)S is conflict-serializable but not recoverab leb)S is not conflict-serializable but is recoverablec)S is both conflict-serializable and recoverabled)S is neither conflict-serializable nor is it recoverableCorrect answer is option 'C'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for Consider the following schedule S of transactions T1, T2, T3, T4:Q. Which one of the following statements is CORRECT?a)S is conflict-serializable but not recoverab leb)S is not conflict-serializable but is recoverablec)S is both conflict-serializable and recoverabled)S is neither conflict-serializable nor is it recoverableCorrect answer is option 'C'. Can you explain this answer?.
Solutions for Consider the following schedule S of transactions T1, T2, T3, T4:Q. Which one of the following statements is CORRECT?a)S is conflict-serializable but not recoverab leb)S is not conflict-serializable but is recoverablec)S is both conflict-serializable and recoverabled)S is neither conflict-serializable nor is it recoverableCorrect answer is option 'C'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of Consider the following schedule S of transactions T1, T2, T3, T4:Q. Which one of the following statements is CORRECT?a)S is conflict-serializable but not recoverab leb)S is not conflict-serializable but is recoverablec)S is both conflict-serializable and recoverabled)S is neither conflict-serializable nor is it recoverableCorrect answer is option 'C'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Consider the following schedule S of transactions T1, T2, T3, T4:Q. Which one of the following statements is CORRECT?a)S is conflict-serializable but not recoverab leb)S is not conflict-serializable but is recoverablec)S is both conflict-serializable and recoverabled)S is neither conflict-serializable nor is it recoverableCorrect answer is option 'C'. Can you explain this answer?, a detailed solution for Consider the following schedule S of transactions T1, T2, T3, T4:Q. Which one of the following statements is CORRECT?a)S is conflict-serializable but not recoverab leb)S is not conflict-serializable but is recoverablec)S is both conflict-serializable and recoverabled)S is neither conflict-serializable nor is it recoverableCorrect answer is option 'C'. Can you explain this answer? has been provided alongside types of Consider the following schedule S of transactions T1, T2, T3, T4:Q. Which one of the following statements is CORRECT?a)S is conflict-serializable but not recoverab leb)S is not conflict-serializable but is recoverablec)S is both conflict-serializable and recoverabled)S is neither conflict-serializable nor is it recoverableCorrect answer is option 'C'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Consider the following schedule S of transactions T1, T2, T3, T4:Q. Which one of the following statements is CORRECT?a)S is conflict-serializable but not recoverab leb)S is not conflict-serializable but is recoverablec)S is both conflict-serializable and recoverabled)S is neither conflict-serializable nor is it recoverableCorrect answer is option 'C'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev