Professional Documents
Culture Documents
Department of - Computer Science & Engineering Model Examination-Ii
Department of - Computer Science & Engineering Model Examination-Ii
11.a Consider the relational table given below and assess about CO1 B4
the following SQL queries.
Employee (Empno, Name, Department, Salary). (3)
(i) List all the employees whose name starts with
the letter 'L'. (2)
(ii) Find the maximum salary given to employees
in each department. (2)
(iii) Find the number of employees working in
'accounts' department. (2)
(iv) Find the second maximum salary from the
table. (2)
(v) Find the employee who is getting the
minimum
Salary. (2)
(Or)
11.b With the help of the block diagram, describe the basic CO1 B1
architecture of a database management system.
12.a CO1 B1
List out the operations of the relational algebra with
suitable example.
(Or)
12.b Discuss the entity integrity and referential integrity CO1
constraints. Why are they important? Explain them with B1
suitable examples.
13.a What is Normalization and discuss First normal form. CO2 B2
Second normal form and third normal with an example.
(Or)
13.b For the following relation R and set of functional CO2 B4
dependencies F : R(A,B,C,D,E),
F = {AC -> E, B->D, E-> A) }. Show all candidate keys.
14.a A University contains many Faculties. The Faculties in CO2 B4
turn are divided into several Schools. Each School offers
numerous programs and each program contains many
courses. Lecturers can teach many different courses and
even the same course numerous times. Courses can also be
taught by many lecturers. A student is enrolled in only one
program but a program can contain many students.
Students Design an ER schema can be enrolled in many
courses at the same time and the courses have many
students enrolled. ER diagram for this application, stating
any assumptions you make.
(Or)
14.b Show the steps involved in the ER – to Relational CO2 B2
mapping in the process of relational database design.
(Or)
16.b A database is being constructed to keep track of the teams CO2 B3
and games of a sports league. A team has a number of
players, not all of whom participate in each game. It is
desired to keep track of the players participating in each
game for each team, the positions they played in that
game, and the result of the game. Design an ER schema
diagram for this application, stating any assumptions you
make. Choose your favorite team sport (e.g., baseball,
curling, kabbadi, ...). Be sure your design is described in a
way understandable by someone not familiar with that
sport.
Prepared by
S.Pradeepkumar,
A.P(S.G)/CSE