Question

In: Computer Science

Consider a university database for the scheduling of classrooms for final exams. This database could be...

Consider a university database for the scheduling of classrooms for final exams. This database could be modeled as the single entity set exam, with attributes course-name, section-number, room-number, and time. Alternatively, one or more additional entity sets could be defined, along with relationship sets to replace some of the attributes of the entity set, as

• course with attributes name, department, and c-number

• section with attributes s-number and enrollment, and dependent as a weak entity set on course

• room with attributes r-number, capacity, and building
Design a relational database schema for this database application. First show all
the functional dependencies that should hold among the attributes. Then, design relation schemas for the database that are each in 3NF or BCNF. Specify the key attributes of each relation. Note any unspecified requirements, and make
appropriate assumptions to make the specification complete.
>>>MUST upload a word document or an image. Handwritten answers are acceptable.

Solutions

Expert Solution

According to the given business rules the entities which are possible are as follows:-

Test, Course, Section, Room

The attributes of these entities are as follows:-

  1. Course (name, department, c-number)
  2. Section (s-number, enrollment)
  3. Room (r-number, capacity, building)
  4. Test (test-ID, time)

The ER diagram is as follows:-

The functional dependency possible as as follows:-

  1. c-number -> name, dependent
  2. c-number, s-number, test-ID -> enrollment
  3. r-number -> capacity, building
  4. test-ID, r-number -> time

The relation schema based on the above functional dependencies are as follows:-

  1. Course (name, department, c-number)
  2. Section (s-number, enrollment, test-ID, c-number)
  3. Room (r-number, capacity, building)
  4. Test (test-ID, time, r-number)

In above relation schema primary key are represented by underline and foreign key by bold, and the above relation schema is normalized up to BCNF.


Related Solutions

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. (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, and to...
Write an essay about the online exams at your university ?
Write an essay about the online exams at your university ?
The table below shows the number of University classrooms cleaned in an evening varies with the...
The table below shows the number of University classrooms cleaned in an evening varies with the number of staff members assigned. Staff assigned 0 1 2 3 4 5 6 7 Classrooms cleaned 0 3 7 12 16 17 17 16 A. What is the marginal physical product of the second staff member? B. Average product of labor is total output divided by the number of staff members assigned. What is the average product of four staff members? C. Is...
Consider a university medical services department. A1.1. Consider a university medical services department. Describe what could...
Consider a university medical services department. A1.1. Consider a university medical services department. Describe what could be the typical information items that is kept within the information system of such a department. A1.2. What should be included in a typical physical vital records inventory specifically for at least one type of data records at this type of medical services department which is needed for business recovery planning.
Consider the following description for a university database system, split into numbered sentences for easy reading:
Consider the following description for a university database system, split into numbered sentences for easy reading:(i) The university offers several modules, and students can enroll into one or more modules.(ii) Each module, identified using a unique ID, will involve multiple assignments.(iii) Each assignment will be allocated a number that is unique within that module (but not necessarily across modules).Which entity among those in the description is suitable to be modeled as a WEAK ENTITY SET?A. AssignmentB. ModuleC. StudentsD. University
Test the claim that for the population of statistics final exams, the mean score is 7777...
Test the claim that for the population of statistics final exams, the mean score is 7777 using alternative hypothesis that the mean score is different from 77.77. Sample statistics include n=22, x¯=78, and s=16. Use a significance level of .α=0.05. (Assume normally distributed population.) The test statistic is   The positive critical value is   The negative critical value is   The conclusion is A. There is not sufficient evidence to reject the claim that the mean score is equal to 77. B....
Test the claim that for the population of statistics final exams, the mean score is 73...
Test the claim that for the population of statistics final exams, the mean score is 73 using alternative hypothesis that the mean score is different from 73. Sample statistics include n=25, x¯¯¯=74, and s=11. Use a significance level of α=0.05. (Assume normally distributed population.) The test statistic is equation editorEquation Editor The positive critical value is equation editorEquation Editor The negative critical value is
In a course, there are 2 exams consisting of 1 midexam and 1 final. In calculation...
In a course, there are 2 exams consisting of 1 midexam and 1 final. In calculation of overall grades, 50 percent of midexam and final grades are taken. The grades of the midexam and the final are independent and normally distributed with means of 60 and 40, and with standard deviations of 18 and 24, respectively. a) What is the probability a randomly selected student will get an overall grade that is larger than 80? b) If the instructor wants...
STUDY 4 The university is building a number of active learning classrooms and came across a...
STUDY 4 The university is building a number of active learning classrooms and came across a chair called the Ruckus Stool that is designed specifically for collaborative work. The design allows users to comfortably use it frontward and backwards, but you are unsure whether it will work for a wide range of activities. To test the design before ordering a large number, you ask a group of students to try it for three types of lessons: i) lecture, ii) two-person...
(1 point) Test the claim that for the population of statistics final exams, the mean score...
(1 point) Test the claim that for the population of statistics final exams, the mean score is 76 using alternative hypothesis that the mean score is different from 76. Sample statistics include n=26,x¯=77, and s=18 Use a significance level of α=0.05. (Assume normally distributed population.) The positive critical value is: The negative critical value is:
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT