FIT328_DBS_Tutorial_03

# FIT328_DBS_Tutorial_03 - DBS Tutorial Week 3 Exercise 1 For...

This preview shows pages 1–3. Sign up to view the full content.

DBS Tutorial Week 3 Exercise 1 For each of the following pairs of related entities, indicate whether (under typical circumstances) there is a one-to-many or a many-to-many relationship. Then, using the notation introduced in the lecture, draw a diagram for each of the relationships. a. STUDENT and COURSE (students register for courses) b. BOOK and BOOK COPY (books have copies) c. COURSE and SECTION (courses have sections) d. SECTION and ROOM (sections are scheduled in rooms) e. INSTRUCTOR and COURSE Exercise 2 Match the following terms and definitions: ___ composite attribute ___ associative entity ___ unary relationship ___ weak entity ___ attribute ___ entity ___ relationship type ___ cardinality constraint ___ degree ___ identifier ___ entity type ___ ternary ___ bill-of-materials a. uniquely identifies entity instances b. relates instances of a single entity type c. specifies maximum and minimum number of instances d. relationship modeled as an entity type e. association between entity types f. collection of similar entities g. number of participating entity types in relationship h. property of an entity i. can be broken into component parts j. depends on the existence of another entity type k. relationship of degree 3 l. many-to-many unary relationship m. person, place, object, concept, event Exercise 3 Consider the two E-R diagrams below, which represent a database of community service agencies and volunteers in two different cities (A and B). City A City B For each of the following three questions, place a check mark under City A, City B, or Can’t Tell for the choice that is the best answer:

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

View Full Document
City A City B Can’t Tell a. Which city maintains data about only those
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• 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.

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

• 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.

Dana University of Pennsylvania ‘17, Course Hero Intern

• 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.

Jill Tulane University ‘16, Course Hero Intern