Assignment:
Database Fundamentals
Assignment
June 2018
Objective(s)
This assessment item relates to the unit learning outcomes as in the unit descriptors. This checks your understanding about basic constructs of C# programming.
Details & Problems
In this assignment, you are required to answer the short questions, create the E R Diagram, normalize tables, develop SQL statements to demonstrate your ability to use Select, Update, Delete, Create, Alter, Drop statements and show your ability to create Views and Procedures.
Q1) Define DBMS. List few advantages of it.
Q2) What is weak entity? Explain it with example.
Q3) Notown Records has decided to store information about musicians who perform on its albums (as well as other company data) in a database. The company has wisely chosen to hire you as a database designer (at your usual consulting fee of $2500/day). Draw E-R diagram for following scenario:
• Each musician that records at Notown has an SSN, a name, an address, and a phone number. Poorly paid musicians often share the same address, and no address has more than one phone.
• Each instrument used in songs recorded at Notown has a unique identification number, a name (e.g., guitar, synthesizer, flute) and a musical key (e.g., C, B-flat, E-flat).
• Each album recorded on the Notown label has a unique identification number, a title, a copyright date, a format (e.g., CD or MC), and an album identifier.
• Each song recorded at Notown has a title and an author.
• Each musician may play several instruments, and a given instrument may be played by several musicians.
• Each album has a number of songs on it, but no song may appear on more than one album.
• Each song is performed by one or more musicians, and a musician may perform a number of songs.
• Each album has exactly one musician who acts as its producer. A musician may produce several albums, of course.