Answered step by step
Verified Expert Solution
Question
1 Approved Answer
15 marks] Question 1 (a). Explain five functionality of a DBMS (b) Differentiate between the following with an example if possible; (i) Database state and
15 marks] Question 1 (a). Explain five functionality of a DBMS (b) Differentiate between the following with an example if possible; (i) Database state and database schema. (ii) Entity type and entity set. (iii) Foreign key and surrogate key. (iv) M:N relationship type and 1:N relationship type. (v) DML and DDL [10 marks) (c) Draw UML class diagram for a company scenario described below. The company is organized into DEPARTMENTS. Each department has a name, number and an employee who manages the department. We keep track of the start date of the department manager. A department may have several locations. Each department controls a number of PROJECTS. Each project has a unique name, unique number and is located at a single location. We store each EMPLOYEE's social security number, address, salary, sex, and birthdate. Each employee works for one department but may work on several projects. We keep track of the number of hours per week that an employee currently works on each project. We also keep track of the direct supervisor of each employee. Each employee may have a number of DEPENDENTS. For each dependent, we keep track of their name, sex, birthdate, and relationship to the employee. [10 marks)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started