Professional Documents
Culture Documents
www.vustuff.com
WWW.VUTUBE.EDU.PK
CS403 Database Management System
Final Term Examination - February 2005
Time Allowed: 150 Minutes
Please read the following instructions carefully before attempting any of the
questions:
1. Attempt all questions. Marks are written adjacent to each question.
2. Do not ask any questions about the contents of this examination from anyone.
a. If you think that there is something wrong with any of the questions, attempt
it to the best of your understanding.
b. If you believe that some essential piece of information is missing, make an
appropriate assumption and use it to solve the problem.
You are allowed to use MS VISIO to make diagrams. If you do so please remember to copy
and paste your code into the examination solution area.
**WARNING: Please note that Virtual University takes serious note of unfair means. Anyone found
involved in cheating will get an `F` grade in this course.
Total Marks: 55
Total Questions: 5
Question No. 1
Marks : 10
Marks : 10
Do as appropriate:
a) A relation that has no partial functional dependencies is in ___________ normal form.
b) A transaction must acquire a ________ before doing any
operation.
c) A ________ is a simple identifier that serves to identify each transaction.
d) The primary goal of physical database design is data processing security.(T/F)
e) The last step in the design process is the ______________, which maps the local
conceptual schemas to physical storage devices available at the corresponding
f) Join
and subquery techniques may often be used to accomplish the same
sites.
task.(T/F)
g) The special value of the attribute is generally referred to as the ___________
h) A join is a relational operation that causes two common attributes to be combined
intosingle
a
composite attribute.(T/F)
i) The hierarchical data model is the most commonly used model in contemporary
database
applications.(T/F)
j) A ___________ key is an attribute in one table that acts as a primary key in another
table.
Question No. 3
Marks : 6
Page 2 of 2
a. On what attributes should indexes be defined to speed up the above query?
Givethe reasons for each attribute
selected.
b. Write
SQL command to create indexes for each attribute you identified in (a).
When a student has not chosen a major at a university, the university often enters a
c)
of "Undecided"
value a default value or a way to represent the null
value?
Question No. 4
Marks : 15
Question No. 5
Marks : 14