题目
题目
单项选择题

ERD: Scenario: The above ERD represents the details of a simple course database which records the course registration details of students. The course entity has a unique identifier CourseNum and the Registration entity is allocated a partial key. The mode represents the mode of registration: online or on-campus. A student may have more than one phone number. Semantic Rules: 1. Each course may have many registrations. 2. Many registrations are recorded for each course. 2. Each student may register only once. 2. Each student can have multiple registrations.   Question: Which of the following represents a fully normalised set of relations?

选项
A.Course(CourseNum, Name,Description) Registration(RegistrationNum,CourseNum,RegistrationDate,Mode,StudentNum*) Student(StudentNum,StudentFName,StudentLName,Email,Phone) StudentContact(StudentNum,Phone)
B.Course(CourseNum, CourseName,Description) Registration(RegistrationNum,CourseNum,RegistrationDate,Mode) Student(StudentNum,StudentName,Email,RegistrationNum*) StudentContact(StudentNum,Phone)
C.Course(CourseNum, CourseName,Description) Registration(RegistrationNum,CourseNum,RegistrationDate,Mode,StudentNum*) Student(StudentNum,StudentFName,StudentLName,Email) StudentContact(StudentNum,Phone)
D.Course(CourseNum, CourseName,Description) Registration(RegistrationNum,CourseNum,RegistrationDate,Mode) Student(StudentNum,StudentName,Email,Phone,RegistrationNum*) StudentContact(StudentNum,Phone)
题目图片
查看解析

查看解析

标准答案
Please login to view
思路分析
Examining the given scenario and semantic rules helps identify what a fully normalized schema should look like. Here are the options analyzed in turn. Option 1: - Course is defined as (CourseNum, Name, Description) which is fine. Registration includes (RegistrationNum, CourseNum, RegistrationDate, Mode, StudentNum*), which correctly models the relationship to Course and Student. However, Student is defined as (StudentNum, StudentFName, StudentLName, Email, Phone) and there is a separate StudentContact(StudentNum, Phone). This puts Phone as both an attribute of Student and as a separate relation, which is inconsistent for normalization. A multivalued phone implies ......Login to view full explanation

登录即可查看完整答案

我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。

类似问题

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!