Question

Problem 2: Composite and multi-valued attributes can be nested to any number of levels. Suppose we...

Problem 2:

Composite and multi-valued attributes can be nested to any number of levels. Suppose we want to design an attribute for a STUDENT entity type to keep track of previous college education. Such an attribute will have one entry for each college previously attended, and this entry is composed of: college name, start and end dates, degree entries (degrees awarded at that college, if any), and transcript entries (courses completed at that college, if any). Each degree entry is formed of degree name and the month and year it was awarded, and each transcript entry is formed of a course name, semester, year, and grade. Design an attribute to hold this information.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

In the solution curly braces { } are used to group multivalued attributes and open braces () for composite attributes

solution:

STUDENT {Previous_Education(college_name,start_date,end_date,degree)

{Degree (degree_name, month ,year) }

{Transcript (course_name,semester,year,grade) }

}

to store the previous education details we have 3 multivalued attributes namely

1.Previous_Education

2.Degree

3.Transcript

all the 3 multivalued attributes have composites attributes also

for Previous_Education the composite attributes are college_name,start_date,end_date,degree.

The entire multivalued attributes are placed inside the STUDENT entity

Add a comment
Know the answer?
Add Answer to:
Problem 2: Composite and multi-valued attributes can be nested to any number of levels. Suppose we...
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
  • Problem 1 Consider the following set of requirements for a university database that is used to...

    Problem 1 Consider the following set of requirements for a university database that is used to keep track of students' transcripts. (a) The university keeps track of each student's name, student number, social security number, current address and phone, permanent address and phone, birthdate, sex, class (freshman, sophomore, -, graduate), major department, minor department (if any), and degree program (B.A., B.S., ...., Ph.D.). Some user applications need to refer to the city, state, and zip of the student's permanent address,...

  • Conceptual data diagram The ABC university keeps track of each student's name, student number, social security...

    Conceptual data diagram The ABC university keeps track of each student's name, student number, social security number (I C number), current address and phone, permanent address and phone, birthdate, sex, class (alpha, Beta, Gamma ..., graduate), major department, minor department (if any), and degree program (B.A., B.S., ..., Ph.D.). Some user applications need to refer to the city, state, and zip of the student's permanent address, and to the student's last name. Both social security number and student number have...

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