FIT328_DBS_Tutorial_03

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

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

View Full Document Right Arrow Icon
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:
Image of page 1

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

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

{[ 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