0% found this document useful (0 votes)
81 views10 pages

Idbms Quiz

Uploaded by

riztrey02
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
81 views10 pages

Idbms Quiz

Uploaded by

riztrey02
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

2 29 PM Sun 22 Oct ••• -:;:- 19% 17•

• moodle lnm11t ac 1n

MOODLE@LNMIIT .t. • Aryan Baghla


Ud:::t l lUUd l U / IVIY \.,UUl::>t::::> f IUD IV I .:> LULL - L.::> f IUOIVI.:> \a{UIL.::, \ lldll::>d\,,,llUll::>J / \a{UIL.::,

Started on Tuesday, 22 November 2022, 12:40 PM


State Finished
Completed on Tuesday, 22 November 2022, 12:49 PM
Time taken 9 mins 12 secs
Grade 6.25 out of 10.00 (63%)
Feedback https:lfwww.lnmiit.ac.in/

Qu estion 1
Which of the following method will ensure the non-serializability of the schedules ?
Correct

Mark 1.00 out


of 1.00
a. Conflict serializability
f' Flag
question
• b. View Serializability

c. None of the given option

d. Both Conflict serializability and View Serializability

The correct answer is:

View Serializability
2 29 PM Sun 22 Oct ••• -:S:- 19% I i•
moodle lnm11t ac 1n

MOODLE@LNMIIT .t. • Aryan Baghla

The correct answer is:

View Serializability

Question 2 Strict 2PL ensures _______________?


Correct

Mark 1.00 out a. Strict Recoverability


of 1.00

f" Flag
question
b. Serializability

c. Cascadeless rollback recoverability

• d. Both Strict Recoverability and Serializability

The correct answer is:

Both Strict Recoverability and Serializability

Question 3
Transaction log files are maintained in the database until _ _ _ _ _?
Correct

Mark 1.00 out


of 1.00
2 29 PM Sun 22 Oct ••• -::S:- 19% I i•
moodle lnm11t ac 1n

MOODLE@LNMIIT .t. • Aryan Baghla

The correct answer is:

Both Strict Recoverability and Serializability

Question 3
Transaction log files are maintained in the database until _ _ _ _ _?
Correct

Mark 1.00 out


of 1.00

Flag a. Rollback
question

b. Partial commit

c. Commit

• d. Rollback or Commit

The correct answer is:


Rollback or Commit

Question 4
Any concurrent execution of transactions is correct/consistent if it is ________?
Incorrect

Mark -0.25 out


of 1.00
2 29 PM Sun 22 Oct ••• -:S:- 19% "17•
moodle lnm11t ac 1n

MOODLE@LNMIIT .t. • Aryan Baghla

The correct answer is:


Rollback or Commit

Qu estion 4
Any concurrent execution of transactions is correct/consistent if it is ________?
Incorrect

Mark - 0.25 out


of 1.00

Flag a. Serializable
question

b. Recoverable

,c
• c. Both Serializable and Recoverable

d. Strict recoverable and Serializable

The correct answer is:

Strict recoverable and Serializable

Question 5
R1(X), R2(Y), R3(Y). W2(Y). W1(X). W3(X), R2(X) , R3(X)
Correct
The given schedule is equivalent to which serial schedule?
Mark 1.00 out
2 29 PM Sun 22 Oct ••• -:;:- 19% 1----i,
moodle lnm11t ac 1n

MOODLE@LNMIIT .t. • Aryan Baghla

The correct answer is:

Strict recoverable and Serializable

Qu estion 5
R1(X), R2(Y), R3(Y). W2(Y). W1(X). W3(X), R2(X), R3(X)
Correct
The given schedule is equivalent to which serial schedule?
Mark 1.00 out
of 1.00

f" Flag
question 0
a. T1 -> T3 - > T2

b. T2 -> T1 - > T3

c. T2 -> T3 - > T1

d. T3 -> T1 - > T2

The correct answer is:

T1 -> T3- > T2

Qu estion 6
The below given schedule is
2 30 PM Sun 22 Oct ••• -:S:- 19% 0 •
• moodle lnm11t ac 1n

MOODLE@LNMIIT .t. • Aryan Baghla

T1 - > T3- > T2

Question 6
The below given schedule is
Correct
R1(B), R3(C), R1(A), W2(A), W1(A), W2(B), W3(A), W1(B), W3(B), W3(C)
Mark 1.00 out
of 1.00

Flag
question
a. Recoverable schedule

b. Non- recoverable schedule

c. Conflict serializable schedule

• d. Not conflict serializable schedule

The correct answer is:

Not conflict serializable schedule

Qu estion 7
Following two schedules are conflict equal or not?
Incorrect
Schedule 1: R2(A), W2(A), R3(C), W2(B), W3(A), W3(C), R1(A), R1(B), W1(A), W1(B)
Mark -0.25 out
2 30 PM Sun 22 Oct ••• -:S:- 19% r-=l•
moodle lnm11t ac 1n

MOODLE@LNMIIT .t. • Aryan Baghla

The correct answer is:

Not conflict serializable schedule

Qu estion 7
Following two schedules are conflict equal or not?
Incorrect
Schedule 1: R2(A) , W2(A), R3(C), W2(B), W3(A), W3(C), R1(A) , R1(B) , W1(A), W1(B)
Mark -0.25 out
of 1.00

Flag Schedule 2: R2(A), R3(C), W3(A), W2(A), W2(B), W3(C), R1(A), R1(B), W1(A), W1(B)
question

• a. Schedule 1 and Schedule 2 are conflict equal

b. Schedule 1 and Schedule 2 are not conflict equal

c. Schedule 1 is not conflict equal and Schedule 2 is conflict equal

d. Schedule 1 is conflict equal and Schedule 2 is not conflict equal

The correct answer is:

Schedule 1 and Schedule 2 are not conflict equal

Qu estion 8
Consider the below given schedule
Incorrect
R1(A), W2(A), R2(A), R2(B), R1(B), W1(B), T1-Commit, T2-Commit
2 30 PM Sun 22 Oct ••• -:S:- 19% I i•
moodle lnm11t ac 1n

MOODLE@LNMIIT .t. • Arya n Baghla

Question 8
Consider the below given schedule
Incorrect
R1(A), W2(A), R2(A), R2(B), R1(B), W1(B), T1-Commit, T2-Commit
Mark -0.25 out
of 1.00 The given schedule is
f° Flag
question

a. Recoverable but not serializable

• b. Non-recoverable and serializable

c. Recoverable and serializable

d. Non-Recoverable

The correct answer is:

Recoverable but not serializable

Question 9
Consider the following sequence of instructions in a transaction
Correct
R(A), Debit x from A account, W(A), R(B), Credit x in B account, W(B)
Mark 1.00 out
of 1.00 Which of the following property ensures that sum of A and B account should be same before and after the transaction
f" Flag completion?
2 30 PM Sun 22 Oct ••• -:S:- 19% 0 •
moodle lnm11t ac 1n

MOODLE@LNMIIT .t. • Aryan Baghla


I I It: t.:UI I ~l..,:l di 1::, VV~I 1::, ,

Recoverable but not serializab le

Question 9
Consider the following sequence of instructions in a transaction
Correct
R(A) , Debit x from A account, W(A), R(B), Credit x in B account, W(B)
Mark 1.00 out
of 1.00 Which of the following property ensures that sum of A and B account should be same before and after the transaction
Flag completion?
question

a. Isolation

b. Atomicity

C. Deadlock

• d. Consistency

The correct answer is:


Consistency

Question 10
Which of the following statement is correct?
Correct

Mark 1.00 out


of 1.00
a. 2 PL is free from deadlock
Flag
question
b. 2 PL is free from sta rvat ion
2 30 PM Sun 22 Oct ••• -:::-19% , ~.
moodle lnm11t ac 1n

MOODLE@LNMIIT .t. • Aryan Baghla

The correct answer is:


Consistency

Question 10
Which of the following statement is correct?
Correct

Mark 1.00 out


of 1.00
a. 2 PL is free from deadlock
Flag
question
b. 2 PL is free from starvation

c. 2 PL is free from irrrecoverability

• d. None of the given option

The correct answer is:


None of the given option

Finish review

Lab Midterm Quiz I Jump to ...

You might also like