In an ER diagram what is represented by Rectangle?
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 an ER diagram what is represented by Rectangle?
What are the conditions of 3NF?
What is metadata?
What are the TWO phases in two-phase locking protocol?
What is MAC model?
What are the ACID properties of a transaction?
Who is having central control over data and programs accessing that data?
What is Relational operator product?
Which language is used in application programs to request data from DBMS?
What operations can be performed on an item that is having exclusive lock?
Which stored procedure is used to test the SQL injection attack?
What is the full form of ODBC?
What is 2-phase locking protocol? How does it guarantee serializability?
Briefly explain ACID property.
Briefly explain the following actions of DBA: Account creation, Priviledge granting, Priviledge revocation and Security level assignment.
Briefly explain the most significant difference between 2-phase locking protocol and the time-stamping technique concurrency protocol.
Explain how the "GROUP BY" clause works. What is the difference between the WHERE and HAVING clauses? Explain them with the help of an example for each.
Consider the following tables: RESTAURANTS(r_id, r_name, r_city, phone, seat_capacity) DISHES(d_id, d_name, d_type, r_id) CUSTOMER(c_id, c_name, c_city, d_id) SERVES(r_id, d_id) HAS_ALLERGY(c_id, d_id) i) Find the names of the restaurants that serves "Pizza" ii) List the names of the dishes that customer "Rony" can eat without allergy problem. iii) List the names of the dishes that appear in all restaurants in "Delhi" iv) Find the names of customers who are in the same city as restaurant "Delicious" and who can eat at least one dish at "Delicious" without allergy problem.
Briefly discuss the major problems with performing update operations through "view".
Specify the following constraints in SQL using accurate applicable command: i) All values of attribute "marks" in relation "enrollment" must be less than 200. ii) If the value of attribute "grade" is 'O' then the mark must be more than or equal to 90. If the value of attribute "grade" is 'E' then the mark must be less than 90 but greater than or equal to 80.
Explain various states of the transactions with a state diagram?
Briefly explain the requirements of Cascadeless Schedule.
Discuss the statement: "Transaction cannot be nested inside one another".
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.
Describe the wait-die and wound-wait protocols for deadlock prevention.
Let T1, T2 and T3 be transactions that operate on the same data items A, B and C. Let, Ri(A) means that Ti reads A, Wi(A) means that Ti writes A, where i=1 or 2 or 3. Consider the following, S1: R2(C). R2(B), W2(B). R3(B). R3(C). R1(A). W1(A). W3(B). R2(A). R1(B).W2(A). Is the schedule serializable?
Consider the following relations: Employee(empID, firstName, lastName, address, DOB, sex, deptNo) Department(deptNo, deptName) Project(projNo, projName, deptNo) WorkOn(empID, projNo, hours_worked) Write the SQL statements for the following: i) List the name and addresses of all employees who work in IT department. ii) List the total hours worked by each employee, arranged in order of department name, alphabetically by employee First Name. iii) List the total number of employees of each department for those departments with more than 10 employees. iv) List all the project number, project name and the number of employees who work on that project. v) List all the employees who have worked more than 20 hours.
Explain the purpose of checkpoint mechanism.
What are the roles of Analysis, Redo and Undo phases in the recovery algorithm 'ARIES'.
Explain the requirement of query optimization.