Question

Help in database: User view requirement1: • For each student, store studentID, firstName, lastName, sex, majorDept,...

Help in database: User view requirement1: • For each student, store studentID, firstName, lastName, sex, majorDept, class, GPA. Assuming you will need to access students based on their names. User view requirement2: • For each department, store deptId, deptName, college. In addition, store the studentId, firstName, lastName of students major in each department. Suppose a student belongs to one department only. A department will have more than one students. Assuming you will need to access departments based on their names. User view requirement3: • For each course, store courseID, courseName. In addition, store the studentId, firstName, lastName of students who take the course. Suppose a student can enroll many courses and a course is enrolled by many students. Assuming you will need to access courses based on their names.

With the given information Draw the E-R diagram of your information level design

Please help ASAP!!!

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

The er diagram for the above requirement is in the image attached below

Explanation for the above er-diagram:

As per the given requirement we require 3 entities namely student, department and a course. Many students belong to one department and many students can enroll in many courses. There exists an many to one relationship between student and department indicating that many students can belong to one department. The relationship between students and courses is many students can enroll in many courses and many courses can be enrolled by many students.

The prime attribute in student entity is both student first name and last name.It can be a composite key which is a combination of first name and last name. The prime attribute of course entity is courseName. The prime attribute of department entity is Department Name. All the prime attributes are underlined in the diagram itself. Since no information is provided about the participation of entities I haven't mentioned about the total or partial participations in the above er-diagram. It is up to you regarding participation of entities. They are all your assumptions.

If you have any doubts feel free to post them via comments. If my work is appreciable please support me with a like.

Add a comment
Know the answer?
Add Answer to:
Help in database: User view requirement1: • For each student, store studentID, firstName, lastName, sex, majorDept,...
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
  • In Java: Develop a simple class for a Student. Include class variables; StudentID (int), FirstName, LastName,...

    In Java: Develop a simple class for a Student. Include class variables; StudentID (int), FirstName, LastName, GPA (double), and Major. Extend your class for a Student to include classes for Graduate and Undergraduate. o Include a default constructor, a constructor that accepts the above information, and a method that prints out the contents FOR EACH LEVEL of the object, and a method that prints out the contents of the object. o Write a program that uses an array of Students...

  • 31. (15 pts) Consider the following relations and relationship: Student (studentID, name, address, gender, major) Course...

    31. (15 pts) Consider the following relations and relationship: Student (studentID, name, address, gender, major) Course (courselD, title, hour, department) Enrollment (StudentID, courselD, date Write the SQL statements to perf orm the following operations: List all the students' information for those majoring in "Computer Science". (2 pts) List the majors, and the numbers of the students in every major. (2 pts) List the departments, and the total number of hours of the courses offered by every department. (2 pts) List...

  • SQL Homework Create a single script to do all of the following. Be sure to create...

    SQL Homework Create a single script to do all of the following. Be sure to create in such a way that it can be re-run multiple times. Create a database named homework. In this database, create three tables: Student, Course, StudentCourse - Create the Student table with the following fields in this order: studentID as an integer; do not allow empty values firstName as a variable number of characters, max 30, with a null default value lastName as a variable...

  • The application should be in JAVA and allow: 1. Collect student information and store it in...

    The application should be in JAVA and allow: 1. Collect student information and store it in a binary data file. Each student is identified by an unique ID. The user should be able to view/edit an existing student. Do not allow the user to edit student ID. 2. Collect Course information and store it in a separate data file. Each course is identified by an unique ID. The user should be able to view/edit an existing course information. User is...

  • In JAVA please! Write program for exercises You will write a Graphical User Interface(GUI) application to manage student...

    In JAVA please! Write program for exercises You will write a Graphical User Interface(GUI) application to manage student information system. The application should allow: 1. Collect student information and store it in a binary data file. Each student is identified by an unique ID. The user should be able to view/edit an existing student. Do not allow student to edit ID. 2. Collect Course information and store it in a separate data file. Each course is identified by an unique...

  • write sql queries] 9. The total number of sections taught by each instructor in each (semester,...

    write sql queries] 9. The total number of sections taught by each instructor in each (semester, year) 10. The total number of D and F grades in each (semester, year) 11. The total number of D and F grades in each (semester, year) for the “Graph Theory” course write sql queries U Ausigrument 11 * C Gullerewors llea With Chege x + - IX € → C a su.instructure.com/courses/34607/assignments/863706 Part 1 For the following database schema, write SQL queries to...

  • Language Java Step 1: Design a class called Student. The Student class should contain the following...

    Language Java Step 1: Design a class called Student. The Student class should contain the following data: firstName lastName studentID totalCredits gpa Your class should implement the “sets” and “gets” for the class. Include methods: equals, compareTo, toString. Change the toString method (from class) to put each member variable on a new line. Step 2: Write a driver program to test that Student works correctly. Test is with 3 students as given in class. Step 3: Write a “registration” program...

  • Java This application will be menu driven. The application should allow: 1. Collect student information and...

    Java This application will be menu driven. The application should allow: 1. Collect student information and store it in a binary data file. Each student is identified by an unique ID.   The user should be able to view/edit an existing student. Do not allow the user to edit student ID. 2. Collect Course information and store it in a separate data file. Each course is identified by an unique ID. The user should be able to view/edit an existing course...

  • Help with database creation - create a visio ER diagram of the scenerio below.. thanks The...

    Help with database creation - create a visio ER diagram of the scenerio below.. thanks The registrar's office at Weber State University wants you to create a new database to support an future application that will help their department better keep track of the scheduled classes offered each semester, including the specific course sections and lecturers appearing in the schedule, and the students registering for courses according to the published schedule. Courses (think course catalog) may or may not be...

  • Design and code a JAVA program called ‘Grades’. ? Your system should store student’s name, and...

    Design and code a JAVA program called ‘Grades’. ? Your system should store student’s name, and his/her course names with grades. ? Your system should allow the user to input, update, delete, list and search students’ grades. ? Each student has a name (assuming no students share the same name) and some course/grade pairs. If an existing name detected, user can choose to quit or to add new courses to that student. ? Each student has 1 to 5 courses,...

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