Anda di halaman 1dari 2

Rayat-Bahra Institute of Engineering &

Nanotechnology, Hoshiarpur.
Roll No: ____________________ Dated:
______________
Class: CSE-5th Batch: 2012
Subject Code: BTCS-502 Subject Title: RDBMS-I
MST: III Session: July-Nov. 2014
Time: 3 Hours Max. Marks: 60

SECTIONA (10 2 = 20)

Q1. (a) Write any four advantages of database management system?


(b) What is the difference between file and database?
(c) Explain Commit and Rollback command.
(d) Give example using SQL for the retrieval using ANY
(e) What are the different constraints in relation model?
(f) Explain the use of Where and Having clause in SQL by giving example.
(g) Create a View in SQL.
(h) What is normalization?
(i) Discuss the different transaction states.
(j) What is statistical database security?

SECTION B (4 5 = 20)

Q2. What are the various objectives of a database . Explain the architecture for a
database.
Q3. What is E-R Model? Write the uses of ER model. Draw the ER model for any
database of your choice. Specify different entities, their attributes, cardinalities and
degree of the relationships in ER model.
Q4. Explain Triggers and Cursors in detail.
Q5. What is a transaction? Explain the two phase locking techniques of concurrent
execution of transaction with suitable example.
Q6. Explain the selection and projection clauses in relational algebra and relational
calculus.

SECTION C (2 10 = 20)

Q7. (a) What are the various components of DDL . Explain with example.
(b) What are the various transaction states.
Q8. (a) Explain Discretionary Access Control and Mandatory access control.
(b) Explain the ACID properties and usefulness of each with examples?
Q9. Given the Schema:
EMP (Fname,Lname,SSN,Bdate,Address,Sex,Salary,SuperSSN,Dno)
DEPT(Dname,Dnumber,MgrSSN,Mgrstartdate)
DEPT_LOC(Dnumber,Dloc)
PROJECT(Pname,Pnumber,Ploc,Dnum)
WORKS-ON(ESSN.PNO.Hours)

Given the relational algebra expression for the following:

(a) List female employees from Dno=20 earning more than 50000.
(b) List CSE deptt details.
(c) Retrieve the first name,last name and salary of all employees who work on
department number 50.
(d) Retrieve the name of manager of all departments.
(e) Retrieve the name and address of all employess who work for sports department.

Anda mungkin juga menyukai