Database Management Systems - CS403 Summer 2007 Quizz Solution

You might also like

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 3

CS403 Quiz

Solution
WWW.VUTUBE.EDU.PK

1. In two phase locking, locks are granted only in --------------- phase.

a) Growing phase
b) Updating phase
c) Shrinking phase

2. An interleaved schedule is said to be ----------- if its final state is equivalent to some


serial schedule.

a) Consistent
b) Serializable
c) Permanent

3. Indexes can not defined when there is no data the table

a) True
b) False

4. ------------ is used to manipulate database

a) DDL
b) DCL
c) DML

5. WORM stands for------------------

a) Work-once, redo-many
b) Write-once, read-many
c) Worse-once, remember many

6. 2PL stands for -------------

a) Two programming languages


b) Pearl language having two compilers (One for compilation and one for execution)
c) Two phase locking
CS403 Quiz
Solution

7. Hashing provides rapid, sequential, direct access to records.

a) True
b) False

8. Log file entry for immediate update technique is-------

a) (Tr, X, OldVal, NewVal)


b) (Tr, X, NewVal, OldVal)
c) (X, Tr, OldVal, NewVal)

9. In ------- type of partitioning table is split on the basis of rows

a) Horizontal
b) Vertical
c) Parellel

10. A fully normalized database schema can fail to provide adequate system response
time due to excessive table join operations

a) True
b) False

11. When there is no data in the table, indexes can not be defined.

a) True
b) False

12. Views are used for security as well.

a) True
b) False

13. Projection operation is

a) Unary
CS403 Quiz
Solution
b) Binary
c) Ternary

14. HAVING can be used only with the SELECT statement.

a) True
b) False

15. SQL has ----------- types of commands

a) 3
b) 5
c) 2

You might also like