Professional Documents
Culture Documents
Paperwork
Paperwork
Question 1
a)
b)
-DBMS stores definitions of data elements and relationships (metadata) in a data dictionary
-DBMS creates and manages complex structures required for data storage
-DBMS creates a security system that enforces user security and data privacy
-DBMS uses sophisticated algorithms to ensure concurrent access does not affect integrity
DBMS provides backup and data recovery to ensure data safety and integrity
Question 2
a)
b)
Question 3
b) i)
Table name Primary key Foreign key
STAFF Staff_No Department_Code
VEHICLE Null Staff_No
DEPARTMENT Department_Code Null
b) ii)
Table STAFF
Yes. The reason is because the referential integrity constraint states that Department_Code in the Staff
table must match a valid Department_Code in the Department table.
Table VEHICLE
Yes. The reason is because when setting up referential integrity it is important that the PK and FK have
the same data types and come from the same domain
Question 5
a)
-Partial dependencies are when the key is composite and some but not all of the columns of the key
determine another attribute.
b)
2NF
Partial depency
3NF
c) i)
ii)
iii)
- 1NF
Lecture (EmpNo, EmpName, EmpPost, UnitCode, UnitName, SubjCode, SubjName, CreditHour,
RoomNo)
- 2NF
Lecture (EmpNo, EmpName, EmpPost)
Unit (UnitCode, UnitName)
Subject (SubjCode, SubjName, CreditHour, RoomNo)
- 3NF
Lecture (EmpNo, EmpName, EmpPost)
Unit (UnitCode, UnitName)
Subject (SubjCode, SubjName, CreditHour, RoomNo)
Room (RoomNo, EmpNo*)
Question 6
a)
- The difference between corrective and perfective maintenance is corrective maintenance concerned
with the change in the software that takes place to make the software adaptable to new environment to
run the software on a new operating system. The perfective maintenance is concerned with the change
in the software that occurs while adding new functionalities in the software
Part C
Question 1
a)