Fill This Form To Receive Instant Help
Homework answers / question archive / Module Intended Learning Outcome: On completion of the module, students are expected to be able to: Apply database design techniques to design relational data models typically used in business application systems Lesson Intended Learning Outcome: On completion of this lab, students are expected to be able to: State the features of Three-level Architecture
Module Intended Learning Outcome:
On completion of the module, students are expected to be able to:
Lesson Intended Learning Outcome:
On completion of this lab, students are expected to be able to:
TASK:
1. Given the following relations of the scholarship system of a college:
SCHOLARSHIP (ScholarshipNo, ScholarshipName, DonorName)
STUDENT (StudentID, StudentName, ProgrammeCode)
AWARD (ScholarshipNo, StudentID, AwardAmount, AwardDate)
Define the following database terms, and give ONE example for EACH term with suitable attribute(s) in the above relations.
(i) Composite Primary Key; [3 marks]
(ii) Foreign Key. [3 marks]
2. Given the following sample data of the STUDENT relation:
StudentID | StudentName | ProgrammeCode |
111106234 | Mary Liu | IT114105 |
111108465 | Jenny Tam | IT124106 |
111108778 | Tony Wong | IT114105 |
111109372 | Amy Wong | CN128899 |
111109566 | David Chan | BA123453 |
111109667 | Stephen Au | BA224466 |
(iii) Describe the meaning of the following database terms and give a value for each of them using the above sample data given in the STUDENT relation:
3. SCHOLARSHIP (ScholarshipNo, ScholarshipName, DonorName)
STUDENT (StudentID, StudentName, ProgrammeCode)
AWARD (ScholarshipNo, StudentID, AwardAmount, AwardDate)
(i) Describe how the Entity Integrity rule can be enforced in the STUDENT relation.
[3 marks]
(ii) Describe how the Referential Integrity rule can be enforced in the AWARD relation.
[6 marks]
4. Name and describe the three levels of the ANSI-SPARC Three-level Architecture. [9 marks]