Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Homework 1:
COSC 3380
(100 points)
(Due date found in the COSC 3380 BB Calendar!)
-10 points
-20 points
-20 points
-10 points
-90
100 points
time, and has an associated due date, and the date when the
E5: Payment
R4: Associated
payment was received.
ANSWER:
E5: Payment A3: payment_received_DATE
_ID
R1: Takes
E2:Course
Section
A3:
year
E2:
Section
A1:
E3:
E3:
E4:
Course
E2:
Course
Exam
Section
E4:
E4:
A1:
A3:
Exam
A2:
Exam
course_ID
place
title
A2:
section_ID
A1:
semester
A2:
exam_ID
name
E3:
E4:
Exam
A4:
A3:
time
credits
E2:Course
Section
E3:
E4: Exam
ANSWER:
student_ID
name
department_name
year
E2: Section
R1: Takes
E1: Student
total_credit
place
exam_ID
E4: Exam
time
name
section_ID
semester
ANSWER:
student_ID
name
department_name
year
Section
Takes
Student
total_credit
Exam of
Marks
place
exam_ID
E4: Exam
time
name
a. You will notice that cardinalities are not included on the Works For relationship. State
a business rule for this relationship and then represent this rule with the cardinalities that
match your rule.
ANSWER:
A STUDENT Works For 0:1 SCHOOL and a SCHOOL Employs 0:M STUDENT
b. State a business rule that would make the Located In relationship redundant ( i. e.,
where the school in which a club is located can be surmised or derived in some way from
other relationships).
ANSWER:
A STUDENT may Belongs To a CLUB that is Located In the SCHOOL s/he
Attends
c. Suppose a STUDENT could work for only a school that STUDENT attends but might
not work. Would the Works For relationship still be necessary, or could you represent
whether a student works for the school s/he attends in some other way ( if so, how)?
ANSWER:
Not necessary anymore, we can just have an attribute in STUDENT indicates whether
s/he works or not for the SCHOOL s/he Attends
c. Suppose a STUDENT could work for only a school that STUDENT attends but might not
work. Would the Works For relationship still be necessary, or could you represent whether a
5 other way ( if so, how)?
student works for the school s/he attends in some
ANSWER: