@vtucode - in Model Paper 2018 Scheme Set 2 DBMS
@vtucode - in Model Paper 2018 Scheme Set 2 DBMS
Note: 01. Answer any FIVE full questions, choosing at least ONE question from each MODULE.
02.
03.
Module – 1 Marks
Q.1 (a) List and briefly explain the characteristics of Database Approach 8
Briefly explain the Following
(b) 2
i.Database ii. DBMS
(c) List and briefly explain the advantages of using DBMS Approach 10
OR
Q.2 Briefly explain the following
(a) 2
i. Database Schema ii. Weak Entity Type
(b) With a neat diagram, explain the Three Schema Architecture 8
(b) List and briefly explain the various attribute Data Types and Domains in SQL 7
18CS53
With an explain, UPDATE Statement in SQL 3
(c)
Module – 3 Marks
Q.5 (a) By refereeing the following Database schema. 10
Employee(Fname, Minit, Lname, SSN, Bdate, Address, Sex, Salary, Sup_SSN,Dno)
Department(Dname, Dnumber, Mgr_SSN, Mgr_Start_date)
Dept_Locations( Dnumber, Dlocation)
Project( Pname, Pnumber, Plocation, Dnum)
Works_On( Essn, Pno, Hours)
Dependent (Essn, Dependent_Name, Sex, Bdate, Relationship)
Write the SQL Queries for the following
(i). Retrieve the name and address of all employees who work for the ‘Research’ department.
(ii). Make a list of all project numbers for projects that involve an employee
whose last name is ‘Smith’, either as a worker or as a manager of the department
that controls the project.
(iii). List the names of managers who have at least one dependent.
(iv). Find the sum of the salaries of all employees, the maximum salary, the minimum salary,
and the average salary.
(v). For each project, retrieve the project number, the project name, and the number of
employees who work on that project.
(c) Consider the three transactions T1, T2, and T3, and the schedules S1 and S2 given 10
below. Draw the serializability (precedence) graphs for S1 and S2, and state whether
18CS53
each schedule is serializable or not. If a schedule is serializable, write down the
equivalent serial schedule(s).
T1: r1 (X); r1 (Z); w1 (X);
T2: r2 (Z); r2 (Y); w2 (Z); w2 (Y);
T3: r3 (X); r3 (Y); w3 (Y);
S1: r1 (X); r2 (Z); r1 (Z); r3 (X); r3 (Y); w1 (X); w3 (Y); r2 (Y); w2 (Z); w2 (Y);
S2: r1 (X); r2 (Z); r3 (X); r1 (Z); r2 (Y); r3 (Y); w1 (X); w2 (Z); w3 (Y); w2 (Y);
OR
Q.10 (a) With an example, explain basic Timestamp Ordering algorithm for Concurrency 6
Control
(b) Briefly explain Transaction Support in SQL 4
(b) With an example, explain ARIES Recovery Algorithm 10