www.vusr.net LMS.VUSR.
NET
WWW.VUPages.Com
Connecting VU Students
CS403 Database Management System
Final Term Examination – Spring 2006
Time Allowed: 150 Minutes
Question No. 1 Marks : 2
I wo phase locking, when a transaction releases a lock, it may acquire additional lock.
SR
n
t
? True
U
? False
Question No. 2 Marks : 15
V
a) Why standardization is necessary? Explain its benefits in terms of database
architecture.
b) Why we choose DBMS after conceptual model? Discuss.
c) Check the following relation is in 2nd normal form. If no, then convert it in 2nd
normal form and explain its reason.
ORDER_ITEM (orderId, itemId, itemDescription, qty, pricePerItem, totalPrice)
LANG
UAGE
(langN
o,
Question No. 3
langNa
Write SQL queries for the following relations: me)
www.vusr.net LMS.VUSR.NET
NATION (nationNo, nationName)
MAGAZINE (magNo, magName, startDate, langNo, nationNo)
ISSUE (readerNo, magNo, borrowDate, returnDate, comment)
Marks : 15
SR
U
V
www.vusr.net LMS.VUSR.NET
READER (readerNo, readerName, deptNo, address, birthDate, phone, email)
DEPARTMENT (deptNo, deptName)
a) Delete a reader’s record whose name is Salman and department is Management.
b) List all the magazine names in ascending order whose language is Arabic.
c) List all the reader’s email addresses that have been issued Islam magazine.
d) List all the magazine names which are issued to Zaid.
e) Create a view containing the following attributes from the READER and
DEPARTMENT relations.
READER (readerNo, readerName, phone)
DEPARTMENT (deptName)
Question No. 4 Marks : 2
The general purpose of data partitioning and placement is ------------------.
SR
? Increasing workload
? Decreasing workload
? None of others
U
Question No. 5 Marks : 10
Differentiate between the followings?
V
a) Simple and materialized view.
b) WHERE and HAVING clause.
Question No. 6 Marks : 2
Transaction is executed as a whole or none. This property of transaction is called ----------------
-.
? Atomicity
? Durability
? Concurrency
Question No. 7 Marks : 10
a) What is transaction? Differentiate between preemptive and non preemptive
transactions.
b) Why we need sub query? Explain in detail.
Questio
www.vusr.net LMS.VUSR.NET
n No. 8
Marks : 2
SR
U
V
www.vusr.net LMS.VUSR.NET
RAID level 4 stripes data at byte level.
? True
? False
Question No. 9 Marks : 2
IN function helps reduce the need to use multiple AND conditions.
? True
? False
SR
U
V