0% found this document useful (0 votes)
166 views4 pages

FYIT Dbms March14

The document contains a sample exam paper for a database management systems course. It includes 6 questions testing various DBMS concepts. Question 1 has 4 parts testing queries and operations. Question 2 has 4 parts testing data modeling, keys and joins. Question 3 has 4 parts testing ER diagrams, normalization and UML. Question 4 continues testing queries, normalization and relational algebra. Questions 5 and 6 test additional concepts such as views, integrity constraints, locking, transactions and serialization. Sample tables are provided to demonstrate queries.

Uploaded by

TEJAL
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
166 views4 pages

FYIT Dbms March14

The document contains a sample exam paper for a database management systems course. It includes 6 questions testing various DBMS concepts. Question 1 has 4 parts testing queries and operations. Question 2 has 4 parts testing data modeling, keys and joins. Question 3 has 4 parts testing ER diagrams, normalization and UML. Question 4 continues testing queries, normalization and relational algebra. Questions 5 and 6 test additional concepts such as views, integrity constraints, locking, transactions and serialization. Sample tables are provided to demonstrate queries.

Uploaded by

TEJAL
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

FYIT/SEM-2/MARCH’14/DBMS

Duration: 2Hrs Marks: 60

Q. 1 Attempt any two:


(a) What is database and database management system.Explain?
(b) What are the views of data.Explain?
(c) Explain DML operations.
(d) Refer Table at Page 2.
(i)Write Query to retrieve the name of employees whose name starts with s end with j.
(ii)Write Query to retrieve the name of employees whose names second letter starts with a end with n.
(iii)Write Query to retrieve the name of employees whose city name contains i.
Q. 2 Attempt any two:
(a)Explain Network Data Models with Example.
(b)What are various keys in Relational database.
(c)Explain Foreign key with Example.
(d) Refer Table at Page 2.
(i)Write Query to add new column named as Address in the Employee table.
(ii) change the name of column salary as Empsalary.
(iii)Replace HR dept with Accounts who lives in Mumbai.

Q. 3 Attempt any two:


(a) Explain Serialization and Generalization with Example.
(b) Draw the E-R Diagram for University database consisting four Entities Student,Department,
Class and Faculty.
Students has a UniqueID, students can Enroll for multiple courses and has amajor one.
Faculty must belong to department and faculty can teach multiple classes.
Each class is taught by only faculty.
Every student will get grade for the class he/she has Enrolled.
(c) what are Codd’s rule Explain.
(d) Write short notes on UML.
Q. 4 Attempt any two:
(a)Explain Second Normal Form with Example.
(b)Write short notes on Projection operation and Selection operation in Relational Algebra.
(c) Refer Table at Page 2.
(i)Write Sql Query to perform Equi-Join on Emp and Department table.
(ii)Write Sql Query to perform Cross-Join on Department and Emp table.
(d) Consider the following Relations for database that keeps track of student

Enrollment in Courses and books issued for each course.


STUDENT ( Ssn, Name, subject, DOB)
COURSE ( Course_id, Name, Dept)
ENROLL (Ssn, Course_id, semester, Grade)
Book_Issued (Couse_id,Semester,ISBN)
TEXT (ISBN,Title,Publisher,Author)
Write the queries in Relational algebra.
(ii )Find all the student Details for Course Id 10.
(iii)Find various Book Titles and Author for semester higher than 3.
Q. 5 Attempt any two:
(a) Write short notes on Integrity Constraints.
(b)Explain View and its advantages?
(c) Differentiate between simple view and complex view.
(d) Refer Table at Page 2.
(i)Find out all the Employees having salary not equal to any of manager’s Salary and he should not
be the manager.
(ii)Find out all the Employees having salary less than any of manager’s Salary and he should not
be the manager.

Q. 6 Attempt any two:


(a)What is Deadlock? What are necessary conditions for deadlock. Discuss various strategies used for
Handling deadlocks.
(b) What are different types of Locks ?Explain 2-Phase locking Techniques.
(c) Explain Transaction state diagram.
(d) what are properties of Transactions..

EMPLOYEE
EMPID EMPNAME DNAME SALARY CITY JOB_GRADE
E001 AKASH IT 5000 PUNE CLERK
E002 SADMAN HR 8000 MUMBAI MANAGER
E003 SURAJ CS 9000 PUNE MANAGER
E004 NIKHIL IT 6000 NASIK CLERK
E005 VARUN HR 7000 NASIK CLERK
E006 ROHIT CS 5500 PUNE CLERK

DEPARTMENT
DEPTID DNAME
100 IT
200 HR
100 CS

EMP
EID ENAME DEPTID
1 GANESH 100
2 MAHESH 200
3 JAYESH 100

MANAGER
EID ENAME MID
1 GANESH 2
2 MAHESH 3
3 JAYESH 3
FYIT/SEM-2/MARCH’14/DBMS

Duration: 2Hrs Marks: 60

Q. 1 Attempt any two:


(a) What is database and database management system.Explain?
(b) What are the views of data.Explain?
(c) Explain DML operations.
(d) Refer Table at Page 2.
(i)Write Query to retrieve the name of employees whose name starts with s end with j.
(ii)Write Query to retrieve the name of employees whose names second letter starts with a end with n.
(iii)Write Query to retrieve the name of employees whose city name contains i.
Q. 2 Attempt any two:
(a)Explain Network Data Models with Example.
(b)What are various keys in Relational database.
(c)Explain Foreign key with Example.
(d) Refer Table at Page 2.
(i)Write Query to add new column named as Address in the Employee table.
(ii) change the name of column salary as Empsalary.
(iii)Replace HR dept with Accounts who lives in Mumbai.

Q. 3 Attempt any two:


(a) Explain Serialization and Generalization with Example.
(b) Draw the E-R Diagram for University database consisting four Entities Student,Department,
Class and Faculty.
Students has a UniqueID, students can Enroll for multiple courses and has amajor one.
Faculty must belong to department and faculty can teach multiple classes.
Each class is taught by only faculty.
Every student will get grade for the class he/she has Enrolled.
(c) what are Codd’s rule Explain.
(d) Write short notes on UML.
Q. 4 Attempt any two:
(a)Explain Second Normal Form with Example.
(b)Write short notes on Projection operation and Selection operation in Relational Algebra.
(c) Refer Table at Page 2.
(i)Write Sql Query to perform Equi-Join on Emp and Department table.
(ii)Write Sql Query to perform Cross-Join on Department and Emp table.
(d) Consider the following Relations for database that keeps track of student

Enrollment in Courses and books issued for each course.


STUDENT ( Ssn, Name, subject, DOB)
COURSE ( Course_id, Name, Dept)
ENROLL (Ssn, Course_id, semester, Grade)
Book_Issued (Couse_id,Semester,ISBN)
TEXT (ISBN,Title,Publisher,Author)
Write the queries in Relational algebra.
(ii )Find all the student Details for Course Id 10.
(iii)Find various Book Titles and Author for semester higher than 3.

Q. 5 Attempt any two:


(a) Write short notes on Integrity Constraints.
(b)Explain View and its advantages?
(c) Differentiate between simple view and complex view.
(d) Refer Table at Page 2.
(i)Find out all the Employees having salary not equal to any of manager’s Salary and he should not
be the manager.
(ii)Find out all the Employees having salary less than any of manager’s Salary and he should not
be the manager.

Q. 6 Attempt any two:


(a)What is Deadlock? What are necessary conditions for deadlock. Discuss various strategies used for
Handling deadlocks.
(b) What are different types of Locks ?Explain 2-Phase locking Techniques.
(c) Explain Transaction state diagram.
(d) Explain Conflict serilizability..

EMPLOYEE
EMPID EMPNAME DNAME SALARY CITY JOB_GRADE
E001 AKASH IT 5000 PUNE CLERK
E002 SADMAN HR 8000 MUMBAI MANAGER
E003 SURAJ CS 9000 PUNE MANAGER
E004 NIKHIL IT 6000 NASIK CLERK
E005 VARUN HR 7000 NASIK CLERK
E006 ROHIT CS 5500 PUNE CLERK

DEPARTMENT
DEPTID DNAME
100 IT
200 HR
100 CS

EMP
EID ENAME DEPTID
1 GANESH 100
2 MAHESH 200
3 JAYESH 100

MANAGER
EID ENAME MID
1 GANESH 2
2 MAHESH 3
3 JAYESH 3

You might also like