Question

Consider the following relations for a database that keeps track of student enrollment in courses and the books adopted for each course.


Question: Consider the following relations for a database that keeps track of student enrollment in courses and the books adopted for each course. 


1- Draw an ER diagram of ONLINE COURSE REGISRATION database, that captures all the given below requirements. Specify key attribute(s) of each entity set. For each relationship set, specify structural constraints and participation constraints. 

a. For each USER, the portal maintains user ID, Name, E-mail. Each user has a unique ID. Name is a Composite attributes with Frame, Midname, Lname. 

b. Each COURSE is described by a Course Code, Description, Category, and Term. Both Code and Term have unique values for each course. 

c. Each LECTUR has a lecturer Title ID, Duration, and Date. The value of ID is unique for each lecturer.


 2- Draw a Schema Diagram of ONLINE COURSE database with 3 tables and their probable columns.

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

To draw the ERD for the given ONLINE COURSE REGISTRATION let’s follow the below steps:

Step 1: List the entities and their corresponding attributes with key columns:

**Primary keys are underlined and highlighted:

  • USER(User_ID, Name(Fname, Midname, Lname) , Email)
  • COURSE(Course_Code, Term, Description, Category)
  • LECTUR (Title_ID, Duration, Date)

Step 2: List the relationship with cardinality for each entity’s participation and constraint:

  • USER can enrol for exactly one COURSE, similarly the COURSE can have atleast one to many USER. It is Many to one (M:1) relation constraint with total participation where USER can exist only when he/she has made enrolment for a COURSE.

  • COURSE will have many LECTURE whereas a LETURE will be associated with one COURSE only. It is One to Many (1:M) relation constraint with total participation where LECTUR can exist only if it is associated with a COURSE.

  • LECTURE will be attended by many USERS whereas a USER can also attend many LECTUR. It is a Many to Many (M:M) relationship constraint.

Step 3: Draw the ERD for given system using data from Step 1 and Step 2:

Fname Midname User_ID Course_Code Lname (Name) Term Email USER USER fan enrolls for COURSE Description (1,N) enrolls for (11)

Step 4: ERD symbols used in diagram:

Below are the symbols used in the Diagram above:

Entity:       

Entity

Attribute:

Attribute

Relationship:

Relationship

Unique attribute:

AttributeUnique

Composite Attribute:

(Attribute Composite)

Add a comment
Know the answer?
Add Answer to:
Consider the following relations for a database that keeps track of student enrollment in courses and the books adopted for each course.
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
  • Consider the following relations for a database that keeps track of student enrollment in courses and...

    Consider the following relations for a database that keeps track of student enrollment in courses and books adopted for each course. -------------------------------------------------------------------------------------------------------- STUDENT(Ssn,Name,Major,Bdate) COURSE(Course#,Cname,Dept) ENROLL(Ssn,Course#,Quarter,Grade) TEXTBOOK(Book_isbn,Book_title,Publisher,Author) BOOK_ASSOC(Course#,Quarter,Book_isbn) ------------------------------------------------------------------------------------------------------------------------------- Having that a relation can have zero or more foreign keys and each foreign key can refer to different referenced relations. Specify the foreign keys for this schema.

  • Consider the following set of requirements for a university database that is used to keep track...

    Consider the following set of requirements for a university database that is used to keep track of students' transcripts The university keeps track of each student's name, student number, social security number, address and phone, birthdate, gender, `, and degree program (bachelor, Masters, PhD.). Both social security number and student number have unique values for each student. Each department is described by a name, department code, office number, office phone. Both name and code have unique values for each department....

  • Consider the following relational database to manage concert and ticket sales. The relations are artist, concert,...

    Consider the following relational database to manage concert and ticket sales. The relations are artist, concert, venue, seat, ticket, and fan. The schemas for these relations (with primary key attributes underlined) are: Artist-schema = (artistname, type, salary) Concert-schema = (artistname, date, venuename, artistfees) Venue-schema = (venuename, address, seating_capacity) Seat-schema=(venuename, row, seatnumber) Ticket-schema = (fanID, date, venuename, row, seatnumber) Fan-schema = (fanID, name, address, creditcardno) Where: • artistname is a unique name for the artist (because of trademark/copyright rules no two...

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

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

  • Consider the following relations for a database that keeps track of automobile sales in a car...

    Consider the following relations for a database that keeps track of automobile sales in a car delarship (OPTION refers to some optional equipment installed on an automobile); CAR (Serialno, Model, Manufacturer, Price) OPTION (Serialno, optionname, Price) SALE (Salesperson_id, Serialno, Date, Sale_Price) SALESPERSON (Salespersn_id, Name, Phone) First specify the foreign keys for this schema, stating any assumptions you make. Next, populate the relations with a few sample tuples, and then give an example of an insertion in the SALE and SALESPERSON...

  • Question 1: University Database Consider the following set of requirements for a UNIVERSITY database that is...

    Question 1: University Database Consider the following set of requirements for a UNIVERSITY database that is used to keep track of students' transcripts. The university keeps track of each student's name, student number, social security number current address and phone, permanent address and phone, birth date, 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,...

  • 2. Consider the following database and answer the questions below SPORT ENROLLMENT STUDENT COURSE ST ST...

    2. Consider the following database and answer the questions below SPORT ENROLLMENT STUDENT COURSE ST ST TITLE 313 1313 50s0 Basketbal 8989 Basketbal 007 COMP203A 7007 COMP20e 007 ames Bond 302 Database Systems COMP203 Computer Or n Brown 00 CoMP302 A o0 3un SmuCOMP42daedDatabase Systems 3 13 COMP 209 70 5050 Susan Smith COMP447 nced Database S 1313 COMP2O3A 1313 COMP302 5050 COMP20 C 1313 COMP42 7007 Write the SQL statement that displays the names of the students who have...

  • Question 4 Needs Grading Q1) (2.5 Points ) We would like to design a database to...

    Question 4 Needs Grading Q1) (2.5 Points ) We would like to design a database to keep track of a zoo. The following describes the business of the zoo: • The zoo employees are known as zookeepers. Each zookeeper has a name, a unique employee ID number, and a salary. Zookeepers may work in any number of exhibits but they have to be involved in at least one exhibit. A zookeeper does not have to work in an exhibit to...

  • Intro to database systems question: Question2 (20 points, 5 points each) Consider the following relational schema as part of a university database Prof(sin, pname, o_ce, age, sex, specialty, dept did...

    Intro to database systems question: Question2 (20 points, 5 points each) Consider the following relational schema as part of a university database Prof(sin, pname, o_ce, age, sex, specialty, dept did) Dept(did, dname, budget, num majors, chair sin) Assume the following queries are the most common queries in the workload for this university and they are almost equivalent in frequency and importance Assume that both B+ trees and hashed indexes are supported by the DBMS and that both single and multiple-attribute...

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