0% found this document useful (0 votes)
143 views4 pages

Database Summative 2020 - 1

Uploaded by

Mayan Barik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
143 views4 pages

Database Summative 2020 - 1

Uploaded by

Mayan Barik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

DATABASE SUMMATIVE

TIME: 60 minutes
Marks: 40

QUESTION 1:

A student takes multiple courses. Each course is taught by a teacher.

(a) Explainone​ ​benefit of normalizing a database. [3]

(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]

(d) Identify any transitive dependency in the table [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

A1234 A CC-Axis C1001 1000 30

A1235 A CC-Axis C1002 1250 60

A1114 A PL-Axis C1003 1200 70

A1115 A PL-Axis C1004 1300 20

A1122 A Auto-Axis C1005 1000 90

A2222 B CC-IC C1001 1110 110

A2223 B PL-IC C1005 1310 120

A1234 C PL-SBI C1003 1210 100

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]

(c) State the difference between a Relational Database Management systems


and a file based management system [2]

You might also like