Database Design Concept
Database Design Concept
Assignment Specification
Rational
The objective of this assignment is to assure that the students have gained the relevant
knowledge according to the outcomes specified in the syllabus.
Scheme of Assessment:
PASS
Once you complete the tasks given will be eligible only for PASS.
MERIT
In addition to completing the tasks, if the student has
• Drawn diagram clearly and completely with the correct cardinality
• Correct SQL cording for the given scenario
• Reasonable comparison of approaches & explanations.
• Correct set of tables and fields after 3NF with related data
• Drawn diagram clearly and completely with the all the correct cardinality
• Produced high quality documentation
• Correct SQL cording for the given scenario
• Well organized comparison of approaches & explanations with examples.
• Correct set of all tables and fields after 3NF with related data
Task 01
Task 02
a. Compare the advantages and disadvantages of the traditional file systems and database
management system.
b. Briefly explain the five database management principles. Explain the role of the database
administrator.
c. Briefly explain the three data modules.
b. Normalize the following un-normalized table to 3rd Normal Form (1NF, 2NF and 3rd NF).
Modules
staffNam assGrad
moduleName staffNo studentNo student assType
e e
Relational Database 234 Davies T 34698 Smith S B3 cwk1
System
B1 cwk2
37798 Jones B2 cwk1
34888 Patel P B1 cwk1
B3 cwk2
Relational Database 234 Davies T 34698 Smith S B2 cwk1
Design
B3 cwk2
Deductive Database 345 Evans R 34668 Smith J A1 exam
Operating Schedule
Doctor Doctor OpNo OpDate OpTime Patient Patient Addmission
No Name No Name Date
78654 Smith AA1234 04/02/1999 08:30 2468 Davies M. 20/01/1999
78654 Smith BA1598 04/02/1999 10:30 3542 Jones D. 11/01/1999
18654 Smith AA1235 13/02/1999 14:00 2468 Davies M. 20/01/1999
18592 Jones FG1965 04/02/1999 16:00 1287 Evans I. 25/12/1999
c. Write the SQL code that will produce a table, containing the same information that was
shown in the above table.
d.
i. Write the SQL Code to INSERT one record into the above table.
ii. Write the SQL Code to display the records.
iii. Write the SQL Code to UPDATE ‘Evans’ operation date to 06/01/2000
iv. Write the SQL Code to display the details of doctors who conduct the
operation on 04/02/1999
v. Write the SQL Code to count the number of records of the above table.
End of Assignment