Self Studies

Databases Test ...

TIME LEFT -
  • Question 1
    1 / -0

    There are three transactions T1, T2. and T3 Transaction T1 has 6 transactions, T2 has 3 transactions and T3 has 4 transactions. Find the number of non-serial schedule?

  • Question 2
    1 / -0

    If wound and wait scheme is considered, which of the following will holds good?

    If T22 requests a data item held by T23

    If T24 requests a data item held by T23

    where '22', '23' and '24' are time stamps in seconds

  • Question 3
    1 / -0

    Which property of database transaction create an allusion than only 1 transaction is executed in system in spite of more than one transaction is executed in parallel manner?

  • Question 4
    1 / -0

    Consider the following transactions with data items P and Q initialized to zero:

    T1 : read(P)

    read(Q)

    if P = 0 then Q: = Q + 1;

    write (Q);

    T2: read (Q);

    read (P);

    if Q = 0 then P : = P + 1;

    write (P);

    Any non-seral interleaving of T1 and T2 for concurrent execution leads to

  • Question 5
    1 / -0

    Which of the following statement is/are true?

    I. A transaction writes a data item after it is read by an uncommitted transaction leads to an irrecoverable error in a database system.

    II. Timestamp ordering protocol does not ensure freedom from deadlock

    III. In case of disk crash, Among the ACID property, the durability property fails to make changes successfully in the database

  • Question 6
    1 / -0

    Consider the following schedules:

    Schedule 1:

    T1T2T3
    read(A)  
    read(B)  
    write(A)  
     read(A) 
     write(A) 
      read(A)
    abort  

     

    Schedule 2:

    T1T2T3
    read(A)  
    read(B)  
    write(A)  
    commit  
     read(A) 
     write(A) 
     commit 
      read(A)
      commit

     

    Schedule 3:

    T1T2T3
    read(A)  
    read(B)  
    write(A)  
    commit  
     read(A) 
     write(A) 
      read(A)
     abort 
      commit

     

    Which of the above schedules are cascadeless schedules?

Submit Test
Self Studies
User
Question Analysis
  • Answered - 0

  • Unanswered - 6

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
Submit Test
Selfstudy
Selfstudy
Self Studies Get latest Exam Updates
& Study Material Alerts!
No, Thanks
Self Studies
Click on Allow to receive notifications
Allow Notification
Self Studies
Self Studies Self Studies
To enable notifications follow this 2 steps:
  • First Click on Secure Icon Self Studies
  • Second click on the toggle icon
Allow Notification
Get latest Exam Updates & FREE Study Material Alerts!
Self Studies ×
Open Now