Monday, March 7, 2011

Question Bank

Q.1.
Given the following relational schema

DIVISION(Div #, Div_Name, Director)
DEPARTMENT(Dept #, Dept_Name, Location, Div #)
EMPLOYEE(Emp #, Emp_Name, Salary, Address, Dept #)
State the following queries in SQL
a) Get the employee name, department name and division name for all employees whose salary is above Rs.20,000.
b) List the names of all employees who work in “Information Technology” Division.
c) List the departments and employees in each department located in “Mumbai”.

Q.2. Consider the relational DB
Employee(emp_name,street,city)
Works(emp_name,city)
Manager(emp_name,manager_name)
Give expression in relational algebra and SQL for the following:
i. Find name of all employee in the database who live in same city as the company for which they work.
ii. Find name of employee who earn more than every employee of “small Bank corporation”.
iii. Delete all tuples in work relationship for employee of “small Bank corporation.

Q.3. Discuss the various levels of data abstraction and explain task of DBA.

Q.4. with the help of block diagram explain basic structure of DBMS.

Q.5. write short notes on generalization specialization and weak entity set.

Q.6.
A university registrar’s office maintains data about the following entities: (a)
courses, including number, title, credits, syllabus, and prerequisites; (b) course
offerings, including course number, year, semester, section number, instructor(s),
timings, and classroom; (c) students, including student-id, name, and program;
and (d) instructors, including identification number, name, department, and title.
Further, the enrollment of students in courses and grades awarded to students
in each course they are enrolled for must be appropriately modeled.
Construct an E-R diagram for the registrar’s office. Document all assumptions
that you make about the mapping constraints.

Q.7. Explain view in detail with its benefit and limitation?

Q.8. Explain serializability in detail with appropriate example?

Q.9. Explain any five relational algebra operator?

Q.10. Write Short note
a. weak entity set b. Aggregation
c. Specialization and genralization

No comments:

Post a Comment

Lecture PPTs of MIS , Module 4 to Module 6

 Module 4 Social Computing (SC): Web 3.0 , SC in business-shopping, Marketing, Operational and Analytic CRM, E-business and E-commerce B2B B...