Database Summative 2020 - 1
Database Summative 2020 - 1
TIME: 60 minutes
Marks: 40
QUESTION 1:
(b) Identify one Update anomaly and one deletion anomaly. [2]
© Explain why the table is not in the second normal form [2]
(c) Outline what would be necessary to make the above unnormalized table conform
to the 2ndl Form (1NF). [2]
(e) Construct the 3rd Normal Form (3NF) of the unnormalized relation shown above. [6]
(f) Identify the primary key and Foreign key in any of the tables in (e) [2]
(f) Explain the difference between 1st normal Form (1NF) and 2nd Normal Form (2NF). [3]
(g) As stated above, A student takes multiple courses. Each course is taught by a teacher.
Each course now has exams, and each student takes final exams for all courses he has enrolled
for . There is also an attendance system that keeps track of the attendance. The final report
card is created taking into account the attendance and final grades of the students. Draw an
ERD for this relationship………………………………………………………………………….[5]
QUESTION 2
Credit Monitor is an e collection platform that uses a relational database to support its operations.
They get accounts from several banks. Each bank has multiple loans it offers and each loan
category has multiple customers. Each customer can take take one or more loans of the same type
or different types
Loan account Bank id Loan type Customer id Principal Days past due
number outstanding
amount
1)Construct the entity relationship diagram (ERD) that shows the relationship between Credit
monitor, different banks, different customers and different loans? [3]
QUESTION 3
A customer wants to transfer some amount from one database management system to another.
Both accounts are held in the banks DBMS. There are a series of operations carried out in order to
achieve these steps. An error may occur if the process is interrupted and the integrity of the DBMS
could be compromised.
(a) Explain any two characteristics of the transactions in terms of a Database. [4]
(b) Define the term Database Schema ? Distinguish between a physical schema
and the logical schema ? [4]