Ask DBMS Expert


Home >> DBMS

Assignment

Overview
You are to create an ER diagram, and a relational schema for a small business. You need to provide adiscussion of normalisation including the normal form that each entity is in, a list of relationships with all table names, primary and foreign keys, and attributes indicating their type and purpose.

Learning Outcomes Assessed

The following course learning outcomes are assessed by completing this assessment:
- K4. design a relational database for a provided scenario utilising tools and techniques including ER diagrams, relation models and normalisation
- K5.describe relational algebra and its relationship to Structured Query Language (SQL);
- A1.design and implement a relational database using a database management system;

Project Specification

You have been commissioned to create a database for TopFit, acompany that runs a gym in Albury. TopFit offers a variety of fitness, strength and conditioning courses for members at various times. The gym provides top quality teachers and excellent equipment for the training of members.

All of TopFit's coursesconsist of several classes, taught by TopFit staff. Each coursehas a number of classes with a maximum number of participants and some courses have prerequisites (for example, to enrol in "Advanced Cardio-fit", members have to have successfully completed "Introductory Cardio-fit"). Anyone can sign up as a member and enrol in one or more courses at TopFit. Members can pay by different methods, either by monthly membership, or per day (they can attend as many classes as they wish on any given day).

The following business rules and information gathered about the current business activities will allow you to derive entities. Your submission is not expected to have many to many relationships left unresolved. You may add entities or attributes as you see fit. Assumptions can be made toinclude further entities and their relationships, but referential integrity and normalisation processes must be adhered to. Reasons should be given for any relation that is not maintained in 3NF.

- TopFit employs many staff members, keeping track of their unique ID, name, phone number, address and email, as well as tax number, job title and weekly rate of pay.
- Course types run by TopFit have a name, number of classes, a course description and a maximum student number. Some course types have another course type as prerequisite.
- Coursesrun by TopFit from time to time belong to a course type, are assigned to a supervising staff member and have a starting and end date. They also allow staff to records notes about the course.
- Members are recorded by name, address, email, phone number, date of birth and notes about special requirements (dietary or health problems). An emergency contact name and number are also recorded. Additionally, the date of joining up is recorded, and if the member has left, the date of leaving as well. Current members have a joining date but no leaving date.
- If the member makes regular monthly payments, the following details need to be stored: bank name, account type (savings, cheque or credit), account number and account name.
- Members can enrol in one or more of TopFit gym courses, and they can attend as many classes as they wish on any day.
- Members have 3 different methods of paying. All payments recorded by staff include a date paid, amount paid and the member's ID.

Additionally:
o If the payment method is "Automatic Monthly", then success or failure of the direct debit is recorded (if the payment failed, staff will contact the member).
o If the payment method is "Single Day", the payment method is recorded.
o If the payment method is "Multiple Pass", then the number of days on the pass is recorded (this can be 10, 20 or 50), as well as the payment method.

- TopFit tracks every class, recording the id of the staff member who taught the class (this can be any staff member, not just the supervisor for the course), the date and time, the id of the course it belongs to, the roomused and any notes the teacher wishes to record.

- The participation of each member in each class is recorded.

- Members can earn awards for successful completion of courses or for other achievements. TopFit has many award types (for example: "Monthly Hero", "Most improved Beginner" and "Successful completion of Level 3 Strength Training"). For each award type, the gym has an id, name and description of competencies.

- TopFit also maintain a register of all awards earned by members, showing the date awarded, member, award type and special notes. If the award is for a completed course, then the course id is recorded as well, so that a certificate can be issued to the member.

Submission
Your submission should include:
- An ER Diagram with all entity names, attribute names, primary and foreign keys, relationships, cardinality and participation indicated. All many to many relationships should be resolved.
- A discussion of normalisation including the normal form that each entity is in and why that is optimal. Also a discussion of how normalisation was achieved for that entity.
- A list of relationships with all table names, attributes, primary and foreign keys indicated as per the conventions given in the lecture slides (ie entity/table names in capitals, attributes as proper nouns, primary key underlined and foreign keys in italics.)
- A database schema indicating the type and purpose of all attributes.

DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M92574516
  • Price:- $30

Priced at Now at $30, Verified Solution

Have any Question?


Related Questions in DBMS

Data mining assignment -in this assignment you are asked to

Data Mining Assignment - In this assignment you are asked to explore the use of neural networks for classification and numeric prediction. You are also asked to carry out a data mining investigation on a real-world data ...

Sql query assignment -for this assignment you are to write

SQL Query Assignment - For this assignment you are to write your answers in a word document. This assignment is in three parts: Part A (reporting queries), Part B (query performance), Part C (query design). For this assi ...

The groceries datasetimagine 10000 receipts sitting on your

The groceries Dataset Imagine 10000 receipts sitting on your table. Each receipt represents a transaction with items that were purchased. The receipt is a representation of stuff that went into a customer's basket. That ...

You are in a real estate business renting apartments to

You are in a real estate business renting apartments to customers. Your job is to define an appropriate schema using SQL DDL in MySQL. The relations are Property(Id, Address, NumberOfUnits), Unit(ApartmentNumber, Propert ...

Objectivethe objective of this lab is to be familiar with a

OBJECTIVE: The objective of this lab is to be familiar with a process in big data modeling. You're required to produce three big data models using the MS PowerPoint software. This tool is available on UMUC Virtual Deskto ...

The relation memberstudentid organizationid roleid stores

The relation Member(StudentId, OrganizationId, RoleId) stores the membership information of student joining organization. For example, ('S1', 'O2', 'R3') indicates that student with Id 'S1' joined the organization with i ...

Relational database exerciseyou have been assigned to a new

Relational Database Exercise: You have been assigned to a new development team. A client is requesting a relational database system to manage their present store with the anticipation of adding more stores in the future. ...

Relational database design a given the following business

Relational Database Design A) Given the following business rules, identify entity types, attributes (at least two attributes for each entity, including the primary key) and relationships, and then draw an Entity-Relation ...

We can represent a data set as a collection of object nodes

We can represent a data set as a collection of object nodes and a collection of attribute nodes, where there is a link between each object and each attribute, and where the weight of that link is the value of the object ...

Data model development and implementationpurpose of the

Data model development and implementation Purpose of the assessment (with ULO Mapping) The purpose of this assignment is to develop data models and map Database System into a standard development environment to gain unde ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As