Quiz Space

Database Management Systems · End Term · 13 Apr 2025 · January 2025 term · Set QDD3

Question 18: Consider the given log records at an instance of time: T…

Question 18

+3 marksNumerical answer

Consider the given log records at an instance of time:

Table 3: Log records

<T0 start>< T_0 \text{ start} >
<T0,A,500,600>< T_0, A, 500, 600 >
<T1 start>< T_1 \text{ start} >
<T1,B,800,700>< T_1, B, 800, 700 >
<T0,C,400,900>< T_0, C, 400, 900 >
<T2 start>< T_2 \text{ start} >
<T2,D,1000,200>< T_2, D, 1000, 200 >
<Commit T0>< Commit\ T_0 >
<Checkpoint L>< Checkpoint\ L >
<T2,C,400,1000>< T_2, C, 400, 1000 >
<T1,A,500,300>< T_1, A, 500, 300 >
<Commit T2>< Commit\ T_2 >
<T1,D,1000,450>< T_1, D, 1000, 450 >

Suppose there is a system crash after the last log record. What will be the value of the expression (A+B+C-D), based on the values stored on the disk at that point?

Show answer

Correct answer: 2200

Question 18 of 20 in the IIT Madras BS Database Management Systems (DBMS) End Term paper sat on 13 Apr 2025, in the January 2025 term (IIT M DIPLOMA AN EXAM QDD3 13 Apr 2025). It carries 3 marks.

More questions from this paper

  1. Q1Consider the instance of a relation R. Which among the following functional dependencies set can be inferred from the g…
  2. Q2Figure question
  3. Q3Consider the following monthly backup schedule used by a company: | Monday | Tuesday | Wednesday | Thursday | Friday | …
  4. Q4Consider the following schedule S.\ S:W1(A), W3(A), W3(C), R2(A), W2(A), W1(B), W3(B)\ Consider the following statement…
  5. Q5Consider a B+-tree index to be built on the attribute OrderID of a table Orders, with the following properties: The len…
  6. Q6Consider the following relational schema:\ Student(<u>student_id</u>, first_name, last_name, course_id)\ Course(<u>cour…
  7. Q7Consider the following statements and select the correct option.\ RAID 1 employs mirroring, maintaining two identical c…
  8. Q8Choose the correct statement(s).
  9. Q9Consider the hash functions given below. h_1(n) = (n) \bmod 6, h_2(n) = (n^2 + 2) \bmod 11, h_3(n) = (4n + 5) \bmod 25,…
  10. Q10Figure question
  11. Q11Consider the following Entity Relationship Diagram: Choose the correct statements.
  12. Q12Consider the Employee table given below: | EmpID | Name | Dept | Salary | |---|---|---|---| | 001 | Harry | IT | 80000 …
  13. Q13Consider you have a file in your hard disk of size 1024 KB. The seek time of your hard disk read head is 4 ms, and the …
  14. Q14Consider a Block nested loop join for the two relations, employee and department. Assuming the worst-case memory availa…
  15. Q15Figure question
  16. Q16Figure question
  17. Q17Figure question
  18. Q19Consider the SQL query to create a table Insurance and Nominee as shown below and answer the given subquestions The ins…
  19. Q20Consider the SQL query to create a table Insurance and Nominee as shown below and answer the given subquestions The ins…