FIT2094SampleExamSolnS22017.pdf

A show can be scheduled on multiple days for example

Info icon This preview shows pages 9–13. Sign up to view the full content.

A show can be scheduled on multiple days, for example Melbourne Symphony-Summer Classic has two performances on the 12-Jan-2015 and 17-Jan-2015. A show can be scheduled twice a day (matinee and night). Start Time Date Venue Venue Location Show Type Show Organiser Organiser’s contact 8 PM 12-Jan- 2015 Robert Blackwood Hall Clayton Music concert Melbourne Symphony – Summer Classic MSO (03) 99021212 8 PM 12-Jan- 2015 K3.24 Caulfield Comedy Adam Hill Melbourne Comedy Festival (03) 99031456 2 PM 14-Jan- 2015 Robert Blackwood Hall Clayton Musical Cats Monash Student Association (03) 99012233 8 PM 14-Jan- 2015 Alexander Theatre Clayton Comedy Dave Hughes Melbourne Comedy Festival (03) 99031456 8 PM 16-Jan- 2015 Robert Blackwood Hall Clayton Music concert Hoodoo Guru Mushroom Promoter (02) 90021002 8 PM 17-Jan- 2015 Robert Blackwood Hall Clayton Music concert Melbourne Symphony – Summer Classic MSO (03) 99021212 a) Draw a dependency diagram for this table. (10 marks) b) Convert the table shown above to Third Normal Form (3NF), showing each stage of the process. Clearly state any assumptions that you make. (10 marks)
Image of page 9

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Page 10 of 15 Answer Q3 a) Draw a dependency diagram for this table. date, start_time, event_name, v_name, v_location, event_type, o_name, o_contact =========== ALTERNATIVE ====================== date, start_time, v_name, event_name, v_location, event_type, o_name, o_contact b) Convert the table shown above to Third Normal Form (3NF), showing each stage of the process. Clearly state any assumptions that you make. You should not add new attribute. 1NF PERFORMANCE (date, start_time, event_name, v_name, v_location, event_type, o_name, o_contact) 2NF PERFORMANCE (date, start_time, event_name, v_name, v_location, o_name, o_contact) EVENT (event_name, event_type)
Image of page 10
Page 11 of 15 3NF PERFORMANCE (date, start_time, event_name, v_name, o_contact) VENUE (v_name, v_location) EVENT (event_name, event_type) ORGANISER (o_contact , o_name) =========== ALTERNATIVE ====================== 1NF BOOKING (date, start_time, v_name, event_name, v_location, event_type, o_name, o_contact) 2NF BOOKING (date, start_time, v_name, event_name, event_type, o_name, o_contact) VENUE (v_name, v_location) 3NF BOOKING (date, start_time, v_name, event_name, o_contact) VENUE (v_name, v_location) EVENT (event_name, event_type) ORGANISER (o_contact , o_name)
Image of page 11

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Page 12 of 15 4. DDL (10 marks) An entity relationship diagram to depict a relationship between STUDENT and UNIT is given below (i) Map the above conceptual model to a logical level diagram of relational model using Crow’s foot notation. Include in this model the attributes semester, year and mark . The mark is allocated for a student for a given unit in a given semester and year. (5 marks) (ii) Write the create table statement for the table that contains the semester, year and mark attributes . Include in the create table statement a constraint that ensures that the mark is limited to the range of 0 to 100 inclusive. You DO NOT need to write create table statements for the STUDENT and the UNIT tables. In writing the create table statement, you can assume that create table statements for the STUDENT and the UNIT table have been included in the schema and will be executed prior to the execution of the create table statement that you have to write. (5 marks) Student Key student_id student_firstname student_lastname student_dob Unit Key unit_code unit_name studies
Image of page 12
Image of page 13
This is the end of the preview. Sign up to access the rest of the document.
  • '17
  • Entity-relationship model, Relational model, Monash University

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern