Question

�Martial Arts R Us� (MARU) needs a database. MARU is a martial arts school with hundreds of students. It is necessary to...

�Martial Arts R Us� (MARU) needs a database. MARU is a martial arts school with hundreds of students. It is necessary to keep track of all the different classes that are being offered, who is assigned to teach each class, and which students attend each class. Also, it is important to track the progress of each student as they advance. Create a complete Crow�s Foot ERD for these requirements: Students are given a student number when they join the school. This is stored along with their name, date of birth, and the date they joined the school. � All instructors are also students, but clearly, not all students are instructors. In addition to the normal student information, for each instructor, the date that they start working as an instructor must be recorded, along with their instructor status (compensated or volunteer). � An instructor may be assigned to teach any number of classes, but each class has one and only one assigned instructor. Some instructors, especially volunteer instructors, may not be assigned to any class. � A class is offered for a specific level at a specific time, day of the week, and location. For example, one class taught on Mondays at 5:00 pm in Room #1 is an intermediate-level class. Another class taught on Mondays at 6:00 pm in Room #1 is a beginner-level class. A third class taught on Tuesdays at 5:00 pm in Room #2 is an advanced-level class. � Students may attend any class of the appropriate level during each week so there is no expectation that any particular student will attend any particular class session. Therefore, the actual attendance of students at each individual class meeting must be tracked. � A student will attend many different class meetings; and each class meeting is normally attended by many students. Some class meetings may have no students show up for that meeting. New students may not have attended any class meetings yet. � At any given meeting of a class, instructors other than the assigned instructor may show up to help. Therefore, a given class meeting may have several instructors (a head instructor and many assistant instructors), but it will always have at least the one instructor that is assigned to that class. For each class meeting, the date that the class was taught and the instructors� roles (head instructor or assistant instructor) need to be recorded. For example, Mr. Jones is assigned to teach the Monday, 5:00 pm, intermediate class in Room #1. During one particular meeting of that class, Mr. Jones was present as the head instructor and Ms. Chen came to help as an assistant instructor. � Each student holds a rank in the martial arts. The rank name, belt color, and rank requirements are stored. Each rank will have numerous rank requirements. Each requirement is considered a requirement just for the rank at which the requirement is introduced. Every requirement is associated with a particular rank. All ranks except white belt have at least one requirement. � A given rank may be held by many students. While it is customary to think of a student as having a single rank, it is necessary to track each student�s progress through the ranks. Therefore, every rank that a student attains is kept in the system. New students joining the school are automatically given a white belt rank. The date that a student is awarded each rank should be kept in the system. All ranks have at least one student that has achieved that rank at some time. Please provide the Crow's Foot ERD meeting these requirements, thank you.
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer: Crow Foot ERD diagram: STUDENT SID Sname DOB, JOIN DATE INSTRUCTORS IID SID IJOIN_DATE STATUS CLASS CID IID DAY LOCAT. All the entities are connected with the equivalentrelationship supplies by using the cofo otation ach tabe contains the pri

Add a comment
Answer #2

Please rate this..


STUDENT ( SID, Sname, DOB, JOIN_DATE)

INSTRUCTORS( IID,SID,I_JOIN_DATE, STATUS)

CLASS ( CID, IID, DAY,LOCATION,LEVEL, DESC )

ClassMeeting ( CMID,CID,IID)

MARTIAL(REQID,BELT_COLOR,REQUIREMENTS)

MARTIALACTIVITIES(SID,RANK,BELT_COLOR)

STUDENTCLASSMEETINGS(CMID,SID,ATTENDENCE)


CREATE TABLE STUDENT

(

SID INT IDENTITY,

Sname VARCHAR(50) NOT NULL,

DOB DATETIME NOT NULL,

JOIN_DATE DATETIME NOT NULL,

PRIMARY KEY (SID)

)


CREATE TABLE INSTRUCTORS

(

IID INT IDENTITY NOT NULL,

SID INT,

I_JOIN_DATE DATETIME,

STATUS VARCHAR(1) NOT NULL

PRIMARY KEY (IID),

FOREIGN KEY INSTRUCTORS(SID) REFERENCES STUDENT(SID)

)


CREATE TABLE CLASS

(

CID INT IDENTITY,

IID INT,

DAY DATETIME,

LOCATION VARCHAR(10),

LEVEL INT,

DESC VARCHAR(100),

PRIMARY KEY CLUSTERED(CID,IID),

)


CREATE TABLE CLASSMEETING

(

CMID INT IDENTITY,

CID INT,

IID INT

PRIMARY KEY(CMID),

FOREIGN KEY CLASSMEETING(CID,IID) REFERENCES CLASS(CID,IID)

)



CREATE TABLE MARTIAL

(

REQID INT IDENTITY,

BELT_COLOR VARCHAR(30),

REQUIREMENTS VACRHAR(50)

PRIMARY KEY (REQID)

)


CREATE TABLE MARTIALACTIVITIES

(


SID, INT IDENTITY,

RANK INT IDENTITY,

VARCHAR(30),

BELT_COLOR VACRHAR(50)

PRIMARY KEY (RANK),

FOREIGN KEY MARTIALACTIVITIES(SID) REFERENCES STUDENT(SID)

)

CREATE TABLE STUDENTCLASSMEETINGS(

CMID INT IDENTITY,

SID INT,

ATTENDENCE varchar(1),

FOREIGN KEY MARTIALACTIVITIES(CMID) REFERENCES CLASSMEETING(CMID)

)

Add a comment
Answer #3
Answers:

Notice that the ?gure includes surrogate keys for RANK, REQUIREMENT, and MEETING because thenatural keys did not meet the requirements for a good primary key.

The most common areas for confusion among students on this particular case surround attendance in the classmeetings. Students tend to think of relationship between CLASS and STUDENT similar to the M:N enrollrelationship that they have seen throughout the textbook. In this case, however, the relationship is not anenrollment relationship – instead it is an attendance relationship. As described in the case, students do notenroll in any particular class. What must be tracked is the attendance for each individual class meeting.Therefore, the M:N relationship in this scenario is actually between the STUDENT and the individual class MEETING.


The case also provides an opportunity to reinforce the fact that subtypes inherit not only the attributes of thesupertype but also the relationships. One requirement of the case is that the system must be able to trackwhich instructors actually taught each class meeting. There is already a M:N relationship between STUDENTand MEETING that can be implemented with the ATTENDANCE bridge entity using only the Stu_Num andMeet_Num attributes. Students should consider that because INSTRUCTOR is a subtype of STUDENT,instructors are already associated in a M:N relationship with MEETING through that same bridge. By addingthe Attend_Role attribute to ATTENDANCE, the bridge entity can properly track all students in a given classmeeting and record what role they played in that meeting (e.g. student, assistant instructor, or head instructor).

Finally, it is worth pointing out to the students that requirements are described as being an attribute of a rank.Some students will immediate consider requirements to be an entity, while others will model requirement as anattribute of the RANK entity. Considering rank requirements to be an attribute of RANK is perfectlyacceptable – however, it must be noted that as such rank requirements would be a multi-valued attribute.Therefore, the preferred implementation of a multi-valued attribute (creating a new entity for the multi-valuedattribute) would result in the creation of the REQUIREMENT table anyway.
Add a comment
Know the answer?
Add Answer to:
�Martial Arts R Us� (MARU) needs a database. MARU is a martial arts school with hundreds of students. It is necessary to...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • In this phase of the project you will create an ERD based upon the following requirements and bus...

    In this phase of the project you will create an ERD based upon the following requirements and business rules. Limit your ERD to entities and relationships based on the business rules showed here. In other words, do not add realism to your design by expanding or refining the business rules. However, make sure you include all attributes needed that would permit the model to be successfully implemented, including all primary and foreign keys. 1. Trinity College (TC) is divided into...

  • Suppose a local college has tasked you to develop a database that will keep track of...

    Suppose a local college has tasked you to develop a database that will keep track of students and the courses that they have taken. In addition to tracking the students and courses, the client wants the database to keep track of the instructors teaching each of the courses. Database Design Diagram Use any drawing package or any other application you know such as Visio, Word, PowerPoint, or another tool to create the Database Design Diagram. Otherwise, you may draw the...

  • The Hudson Engineering Group (HEG) has contacted you to create a conceptual model whose application will...

    The Hudson Engineering Group (HEG) has contacted you to create a conceptual model whose application will meet the expected database requirements for the company’s training program. The HEG administrator gives you the description (see below) of the training group’s operating environment. (Hint: Some of the following sentences identify the volume of data rather than cardinalities. Can you tell me which ones?) The HEG has 12 instructors and can handle up to 30 trainees per class. HEG offers five Advanced Technology...

  • This is database system concept. 1.Find the ids of instructors who are also students using a...

    This is database system concept. 1.Find the ids of instructors who are also students using a set operation. Assume that a person is identified by her or his id. So, if the same id appears in both instructor and student, then that person is both an instructor and a student. Remember: set operation means union, intersect or set difference. 2.Find the ids of instructors who are also students using the set membership operator. 3.Find the ids of instructors who are...

  • Introduction Young School for Wee People Young School for Wee People (YSWP) had been running a...

    Introduction Young School for Wee People Young School for Wee People (YSWP) had been running a small, for-profit preschool program for young children between the ages of two and four for several decades. YSWP was one of several privately run programs in the suburban Philadelphia area. For each of the three age groups (i.e., two-, three- and four-year olds), there were two classes per day for a total of six classes in the facility each day. The classes were held...

  • Draw the domain class diagram for the following question. You should identify the necessary classes and...

    Draw the domain class diagram for the following question. You should identify the necessary classes and the types of relationships connecting them, in order to closely model the provided information. Include the names, role names, and multiplicities for all associations. Provide the directionality for the aggregations and reflexive associations, if you use them in your diagram. Identify at least two attributes for each class. Methods are not required. Question: At a university, courses are offered as course sections, and a...

  • Database Design

    Smart Driving School (SDS) was established recently. SDS has five branches in Canberra. SDS requires your team to design a database system to enable more smooth operation of the centre. The details of the branches of SDS are: Branch nameAddressSDS Dickson150 Camilla Way, Dickson, 2662, ACTSDS Page12 Page St, Page, 2614, Page, ACTSDS Franklin12 Franklin St, Franklin, 2912, Franklin, ACTSDS City12 Bunda St, 2601, City, ACTSDS Bruce12 Norman Fisher Crt, 2617, Bruce, ACT SDS database will record and store the data about...

  • Problem 11-25 Effects of operating leverage on profitability Franklin Training Services (FTS) provides instruction on the...

    Problem 11-25 Effects of operating leverage on profitability Franklin Training Services (FTS) provides instruction on the use of computer software for the em ployees of its corporate clients. It offers courses in the clients' offices on the clients' equipment. The only major expense FTS incurs is instructor salaries; it pays instructors $6,000 per course taught. FTS recently agreed to offer a course of instruction to the employees of Novak Incorporated at a price of $700 per student. Novak estimated that...

  • python anywhere questions. A Class Management System, Part 2 Please also refer to the description provided...

    python anywhere questions. A Class Management System, Part 2 Please also refer to the description provided in Part 1 of the project “A Class management System”. You have had a chance to state your understanding of the requirements for this project, draft a preliminary design, and express it by means of UML diagrams. Now it’s time to implement your design. As stated in the original requirements, there will be three categories of users: 1. Students 2. Instructors 3. Administrators Recall...

  • (MMU) has decided to consolidate the functionality of three small overlapping database systems, which support applications...

    (MMU) has decided to consolidate the functionality of three small overlapping database systems, which support applications for 1) teaching (e.g. instructor assignment and evaluation), for 2) registration (e.g. online course status, waiting lists), and for 3) student records (e.g. transcript generation) The resulting new system will support the following enterprise description: Professors and GTAs are assigned to teach the sections of each class being offered in a semester. At the end of the semester, they get a "team rating" (professors...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT