Dbms Aug 2021
Dbms Aug 2021
Reg No : .....................
Name : .....................
Part A
Answer any ten questions.
Each question carries 2 marks.
3. What is an entity?
15. Create an ER Diagram that demonstrates Strong entity, Weak entity, relationships and
various types of attributes.
16. Explain weak entity with a meaningful example using E-R diagram.
17. Describe the four clauses in the syntax of a simple SQL retrieval query.
21. Explain for main control measures to provide security of data in databases.
(6×5=30)
Part C
Answer any two questions.
Each question carries 15 marks.
23. Construct a relational schema diagram for the company database . Details of COMPANY
database is as follows. (1) The company is organised into departments.Each department
has a unique name,unique number and a particular employee who manages the
department. Keep track of the start date when that employee began managing the
department. A department may have several locations. (2) A department controls a
number of projects,each of which has a unique name,a unique number and a single
location. (3) Employee has name,SSN,address,salary,gender and birth date.An employee
is assigned to ine department but may work on several projects,which are not
necessarilyb controlled by the same department.Keep track of the current number of
hours per week that an employee works on each project.Also keep track of the direct
supervisor of each employee. (4) Keep track of the dependants of each employee for
instance purposes.Dependant has name,genderdob and relationship to employee.
25. Explain discretionary access control based on granting and revoking privileges.
(2×15=30)
Page 2/2