Question

In: Computer Science

Consider the following mini-world modeling courses, students, professors, departments, and the like at a single university...

Consider the following mini-world modeling courses, students, professors, departments, and the like at a single university over years.


1. Each department has a unique name. Each department has at most one chairperson who is its head (there are times when a department may not have a chairperson). Each chairperson can be the head of at most one department.

2. Each student has a name, a unique ID, and an address.

3. A professor has a name, a unique ID, and belongs to a department. We also want to record the age and office of the professor.

4. Each course has a name, a number, an offering department, a classroom, and an enrollment. Each department offers only one course with each number.

5. Each student enrolls in a certain number of courses in a semester. At most one professor teaches each course. Each student receives a grade in each course he/she is enrolled in. In turn, each student evaluates the course with a score.

6. A course can have multiple pre-requisites. A course can be pre-requisites for multiple courses. A course cannot be a pre-requisite for itself!

Questions:


1. Draw the E-R diagram for this database requirement

       a) The E-R diagram should correctly identify all the entities, relationships and their attributes.

       b) It should use correct symbols/notations.

2. Convert the E-R diagram into relational schema.

3. For each relation in the relational schema, identify its primary keys and foreign keys if applicable.

Solutions

Expert Solution


Related Solutions

Consider the University Database with the following relations: Professors (pid, pname, dept, ext) Students (sid, sname,...
Consider the University Database with the following relations: Professors (pid, pname, dept, ext) Students (sid, sname, major-dept, year) Courses (cid, cname, dept, credithours) Enrollment (sem-year, sid, cid, grade) Teaches (pid, cid, sem-year, class-size) where, Professors: All professors have professor id (pid), name (pname), department that they work (dept), and a phone number extension for their office (ext). Students: All students have id (sid), name (sname), department for their major (major-dept), and a year (year i.e, freshman, sophomore, junior, etc). Courses:...
Consider the University Database with the following relations: Professors (pid, pname, dept, ext) Students (sid, sname,...
Consider the University Database with the following relations: Professors (pid, pname, dept, ext) Students (sid, sname, major-dept, year) Courses (cid, cname, dept, credithours)Enrollment (sem-year, sid, cid, grade) Teaches (pid, cid, sem-year, class-size), Professors: All professors have professor id (pid), name (pname), department that they work (dept), and a phone number extension for their office (ext). Students: All students have id (sid), name (sname), department for their major (major-dept), and a year (yeari.e, freshman, sophomore, junior, etc). Courses: All courses have...
Consider the University Database with the following relations: Professors (pid, pname, dept, ext) Students (sid, sname,...
Consider the University Database with the following relations: Professors (pid, pname, dept, ext) Students (sid, sname, major-dept, year) Courses (cid, cname, dept, credithours) Enrollment (sem-year, sid, cid, grade) Teaches (pid, cid, sem-year, class-size) where, Professors: All professors have professor id (pid), name (pname), department that they work (dept), and a phone number extension for their office (ext). Students: All students have id (sid), name (sname), department for their major (major-dept), and a year (year i.e, freshman, sophomore, junior, etc). Courses:...
Three professors at the University of Macau compared two different approaches to teaching courses in the...
Three professors at the University of Macau compared two different approaches to teaching courses in the faculty of business administration. At the time of the study, there were 2,100 students in the faculty, and 96 students were involved in the study. Demographic data collected on these 96 students included year of study (first, second, third, fourth), age, gender, and major. What is the population of interest in the study? Select one: a. The demographic data collected from the 96 selected...
Three professors at the University of Macau compared two different approaches to teaching courses in the...
Three professors at the University of Macau compared two different approaches to teaching courses in the faculty of business administration. At the time of the study, there were 2,100 students in the faculty, and 96 students were involved in the study. Demographic data collected on these 96 students included year of study (first, second, third, fourth), age, gender, and major. The demographic variable of year of study is an example of a. none of the other choices. b. a discrete...
University professors are always interested in whether students are actually meeting the learning objective in a...
University professors are always interested in whether students are actually meeting the learning objective in a course. One of the learning objectives for this statistics class is that students will gain skills in statistical literacy. In other words, students should develop the ability to better understand the statistics that they read or hear about in the news. After teaching the course for several years, Dr. Gentzler wonders, “Are students meeting this learning objective? Do students who have taken SSI217 have...
Create a scenario on University management system that provides services to students and professors alike. and...
Create a scenario on University management system that provides services to students and professors alike. and prepare use case diagrams, sequence diagrams, activity diagram(s), and class diagrams for the system developing.
A student survey was completed by 446 students in introductory statistics courses at a large university...
A student survey was completed by 446 students in introductory statistics courses at a large university in the fall of 2003. Students were asked to pick their favorite color from black, blue, green, orange, pink, purple, red, yellow. (a) If colors were equally popular, what proportion of students would choose each color? (Round your answer to three decimal places.) (b) We might well suspect that the color yellow will be less popular than others. Using software to access the survey...
Breakport University wishes to determine the percentage of students who will be taking courses during the...
Breakport University wishes to determine the percentage of students who will be taking courses during the summer. How many students must they ask to estimate the percentage with 99% confidence of being within 5 percentage points of the true value?
A local university reports that 3% of its students take their general education courses on a...
A local university reports that 3% of its students take their general education courses on a pass/fail basis. Assume that 50 students are registered for a general education course. a. Define the random variable in words for this experiment. b. What is the expected number of students who have registered on a pass/fail basis? c. What is the probability that exactly 5 are registered on a pass/fail basis? d. What is the probability that more than 3 are registered on...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT