In the relational modes, cardinality is termed as
Official theoretical question paper for Database Management Systems (PCC-CS601) conducted by Maulana Abul Kalam Azad University of Technology. All questions from Groups A, B, and C are reproduced below with marks weightings.
In the relational modes, cardinality is termed as
Relational calculus is a
Cartesian product in relational algebra is
DML is provided for
In a relational model, relations are termed as
In case of entity integrity, the primary key may be
In an E-R diagram an entity set is represented by a
Which of the following operations is used if we are interested in only certain columns of a table ?
Which of the following is a comparison operator in SQL ?
Using relational algebra the query that finds customers, who have a balance of over 1000 is
Explain in brief 3-schema architecture of DBMS.
Explain with example super key, candidate key and primary key
What is cardinality ratio ? What is the difference between procedural and non-procedural DML ? What is disjointness constraint ?
Describe three layer architecture of DBMS.
Indicate the advantage of DBMS over conventional file system.
a) What do you mean by integrity constraint ? b) What is lossless decomposition ? c) What do you mean by closure ? d) Suppose that we decompose the schema. R = {A, B, C, D} into {A, B, C} and {A, D, E}. Show that this decomposition is lossless decomposition, if the following set F of FDs holds — A → BC, CD → E, B → D, E → A. 2 + 2 + 2 + 9
a) State two-phase commit protocol and discuss the implications of a failure on the part of i) the coordinator ii) a participant, during each of the two phases. b) Describe the wait-die and wound-wait protocols for deadlock prevention. c) Define three concurrency problems : dirty read, non-repeatable read, phantoms. d) Let T1, T2 and T3 be transactions that operate on the same data items A, B and C. Let r1(A) mean that T1 reads A w1(A) means that T1 writes A and so on for T2 and T3. Consider the following schedule : S1 : r2(c), r2(B), w2(b), r3(B), r1(A), w1(A), w3(B), w3(C), r2(A), r1(B), w1(B), w2(A) Is the schedule serializable ? e) What are the roles of Analysis, Redo and Undo phases in the recovery algorithm 'ARIES' ? 4 + 2 + 3 + 3 + 3
a) When do we call a relation is in 3NF ? b) Consider the relation assignment {worker_id, building_id, startdate, name, skilltype} and FDs are {worker_id->name, (worker_id, building_id)->startdate}. Is the relation in 2NF ? If not, then make it in 2NF. c) Describe Boyce-Codd normal form with example. d) What is Query Tree ? Why we need query tree ? Consider the query "SELECT EMP_NAME FROM EMPLOYEE, WORK_ON, PROJECT WHERE PROJECT_NAME='ASSEMBLY' AND PRJ_NO=P1'AND JPOIN_DATE='21-12-12'. Construct a query tree for this query. 1 + 4 + 3 + (1 + 2 + 4)
a) What is trnasacton ? b) What is ACID property ? c) Explain with example serial and serializable schedule. d) What are the problems of concurrent execution of transaction ? e) Explain with the help of precedence graph the conflict and non-conflict serializability. 1 + 3 + 4 + 3 + 4
Write short notes on any three of the following : a) Functional dependency b) Dead lock c) Transaction state diagram d) B-tree e) Data Dictionary.