Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

DBMS ONLINE QUIZ - ASSIGNMENT 3 (10 MARKS)

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

A _________ consists of a sequence of query and/or update statements.

a)

Transaction

b)

Commit

c)

Rollback

d)

Flashback

2.

Which of the following makes the transaction permanent in the database?

a)

View

b)

Commit

c)

Rollback

d)

Transaction

3.

In order to undo the work of transaction after last commit which one should be used?

a)

View

b)

Commit

c)

Rollback

d)

Flashback

4.

What does Rollback do?

a)

Undoes the transactions before commit

b)

Clears all transactions

c)

Redoes the transactions before commit

d)

No action

5.

Consider the schedule for transactions T1, T2 and T3: 

a)

T1->>T3->>T2

b)


T2->>T1->>T3

c)

T2->>T3->>T1

d)

T3->>T1->>T2

6.

Which one of the following is NOT a part of the ACID properties of database transactions?

a)

Atomicity

b)

Consistency

c)

Isolation

d)

Deadlock

7.

Database locking concept is used to solve the problem of

a)

Lost Update

b)

Uncommitted Dependency

c)

Inconsistent Data

d)

All of these

8.

A transaction completes its execution is said to be

a)


Saved

b)

Lodded

c)

rolled

d)

Committed

9.

A transaction for which all committed changes are permanent is called:

a)


atomic

b)


consistent

c)


isolated

d)

durable

10.


A shared lock allows which of the following types of transactions to occur?

a)

Delete

b)

Insert

c)

Read

d)

Update