Documente Academic
Documente Profesional
Documente Cultură
i)
Relation is considered to be n sound normal form if it is in first normal form and it has no ________
dependencies.
a) referential
b) functional
c) partial key
d) transitive
ii)
iii)
Given the relation Schema Bank(BankID, AccountNumb, Balance, Customer) with FDs :
{ BankID, AccountNumb Balance, BankID, AccountNumb Customer, Customer BankID }
What is the highest normal form for the relation schema Bank?
a) First
b) Second
c) Third
d) Boyce Codd
iv)
v)
vi)
The ability to modify the internal schema without causing any change to external schema is
a) Physical data independence
b) Logical data independence
c) External data independence
d) none of these.
x)
2011
i)
c) No. of attributes
b) non-procedural language
d) normalization technique
b) value of a tuple
d) none of these
d) JK and JL
d) none of these
d) Select
c) Create
d) None of these.
2012
i)
d) Sequential index.
2013
i)
ii)
Relational Calculus is a
a) procedural language
c) data-definition language
iii)
b) non-procedural language
d) high level language
c) a ternary operator
d) not defined.
iv)
v)
vi)
d) Rows
d) any value
d) circle.
viii) Which of the following operations is used if we are interested in only certain columns of a table ?
a) Projection
b) Selection
c) Union
d) Join.
ix)
x)
d) All of these.
Using relational algebra the query that finds the customers, who have a balance of over 1000 is
a)
b)
c)
d)
2014
i)
ii)
The employee salary should not be greater than Rs. 20,000. This is
a) integrity constraint
b) referential constraint
c) over-defined constraint
d) feasible constraint
iii)
iv)
v)
When a row is deleted which one of the following techniques should be used to maintain integrity?
a) The row is deleted and nothing else is done
b) The row is deleted and the references to the deleted primary key, if any, are replaced by NULL.
c) The delete operation is not allowed if the rows primary key is a target of a foreign key
d) The row is deleted as well as the rows from other tables that have foreign keys that have the
deleted primary key as their target.
vi)
viii) If a table R consists only of its primary key (which may consist of a number of attributes) and has no
other attributes, the table would always be in
a) 2NF but may not be in 3NF
b) 3NF but may not be in BCNF
c) 4NF
d) none of these
ix)
Three transactions attempt to book seats on a flight that has 12 seats available. The transactions are
T1 for 3 seats, transaction T2 for 5 seats and transaction T3 for 7 seats. If a schedule that is
serializable is executed, the number of seats sold cannot be
a) 7
b) 8
c) 10
d) 12
x)
Which of the following is the size of the data item chosen as the unit of protection by a concurrency
control program?
a) Lock
b) Blocking factor
c) Granularity
d) None of these.
xi)
xii) Which of the following is a recovery technique that does not require logs?
a) Deferred update
b) Immediate update
c) Shadow paging
d) none of these.
xiii) Blocking factor denotes
a) blocks fetched per sec
c) blocks needed for storing a relation
ii)
A trigger is
a) a statement that enables to start any DBMS
b) a statement that is executed by the user when debugging an application program.
c) a condition the system tests for the validity of the database user.
d) a statement that is executed automatically by the system of a modification.
iii)
iv)
Which defining a numeric number field that can hold 3 digits before the decimal point and 3 digits
after the decimal point, the width would be given as
a) 6
b) 7
c) 8
d) 3
v)
vi)
vii) EMPNO
ENAME
SAL
A822
RAMASWAMY
3500
A812
NARAYAN
5000
A973
UMESH
2850
A500
BALAJI
5750
Use these data for the following question.
Select SAL from EMP E1 where 3 > (Select count(*)
from EMP E2 where E1.SAL > E2.SAL) will retrieve
a) 3500, 5000, 2500
b) 5000, 2850
c) 2850, 5750
d) 5000, 5750
d) none of these
ix)
x)
Consider the primary key foreign key relationship between Employee and Department table via Dept
ID column. If you try to delete a department in Department table which is referred in Employee
table, Oracle by default does not allow this. This is known as ON DELETE _________
a) SET CASCADE
b) SET DEFAULT
c) RESTRICT
d) SET NULL.
The operation on certain relation X, produces Y such that Y contains only selected attributes of X.
Such an operation is
a) Projection
b) Selection
c) Union
d) None of these
ii)
b) Derived Attributes
d) None of these
iii)
iv)
v)
b) DROP
d) SELECT
b) Lost update
d) Incorrect summary
vi)
b) every FD in F is also in E+
d) none of these.
viii) Three transactions attempt to book seats on a flight that has 12 seats available. The transactions are
transaction T1 for 3 seats, transaction T2 for 5 seats and transaction T3 for 7 seats. If a schedule that
is serializable is executed, the number of seats sold cannot be
a) 10
b) 12
c) 8
d) 7
ix)
x)
xi)
b) virtual table
d) permanent table
xiv) The ability to modify the internal schema, without causing any change to external schema is
a) external data independence
b) logical data independence
c) physical data independence
d) internal data independence
xv) Cardinality ratio means
a) number of attributes associated with an entity
b) number of entities related with other entities via a relationship
c) number of entities in an entity set
d) ratio of number of columns and rows in a table.
xvi) The command used to delete the records from a table is
a) Truncate
b) Drop
c) Select
d) All of these.
xvii) Aggregation is
a) specialization
c) abstraction
b) generalization
d) all of these.
b) multivalued domain
d) none of these.