Search Header Logo

TCL UNIT 5

Authored by Siva G

Computers

University

Used 3+ times

TCL UNIT 5
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What are the potential problems when a DBMS executes multiple transactions concurrently?

Phantom problem

The dirty read problem

Unrepeatable read problem

All of the above

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following schemas are used for ensuring atomicity?

ACID properties and transactions

Data redundancy management

Normalization techniques

CAPM principles

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Assume transaction A holds a shared lock R. If transaction B also requests for a shared lock on

R, it will:

result in deadlocked situation

immediately be granted

immediately be rejected

be grateful as soon as it released by A

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Consider the following schedules involving 2 transactions which one of the following

statements are true?

S1: r1(X); r1(Y); r2(X); r2(Y); w2(Y); w1(X)

S2: r1(X); r2(X); r2(Y); w2(Y); r1(Y); w1(X)

Both S1 and S2 are conflicted serializable

S1 is conflict serializable and S2 is conflict serializable

S1 is not conflict serializable and S2 is conflict serializable

Both S1 and S2 are not conflict serializable

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following scenarios may lead to an irrecoverable error in database system?

A transaction writes a data item after it is read by an uncommitted transaction

A transaction read a data item after it is read by an uncommitted transaction

A transaction read a data item after it is written by an uncommitted transaction

A transaction read a data item after it is written by a committed transaction

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following concurrency control protocol ensures both conflict serializability

and freedom from deadlock?

(i) 2 phase locking
(ii) time stamp ordering

(i) only

(ii) only

None of these

(i) and (ii)

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

In case of time stamp ordering R-timestamp (Q) denotes

the largest timestamp of any transaction that execute read(Q) successfully

the average timestamp of any transaction that execute read(Q) successfully

the average time stamp of any transaction that execute read(Q) unsuccessfully

the smallest timestamp of any transaction that execute read(Q) successfully

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?