Which of the following is the primary reason for normalising a database to Third Normal Form (3NF)?
AQA A Level · Computer Science 7517
資料庫設計與正規化技巧:练习题
5 道选择题即时批改,另有 5 道文字题附完整解题步骤,全部围绕「資料庫設計與正規化技巧」。
A relation is in Third Normal Form (3NF) if and only if it is in 2NF and which other condition is met?
In a database for a hospital, a relation exists: Prescription(PrescriptionID, PatientID, DoctorID, DoctorPager).
\(PrescriptionID\) is the primary key.
\(DoctorID \rightarrow DoctorPager\).
What steps are required to move this from its current form to 3NF?
A database relation is in First Normal Form (1NF) if it meets which of the following criteria?
A relation \(R(A, B, C, D)\) has a composite primary key \((A, B)\). The following functional dependencies exist:
\(A, B \rightarrow C, D\)
\(A \rightarrow D\)
Which normal form does this relation currently satisfy?
What is the primary reason for applying normalization to a database design?
先自己写一遍答案,再对照解题步骤。
Describe the characteristics a relation must possess to be in First Normal Form (1NF).
先自己写一遍答案,再对照解题步骤。
Explain why a relation with a single-attribute primary key that is already in 1NF is automatically in 2NF.
先自己写一遍答案,再对照解题步骤。
A school database uses the following table to store exam results:
ExamResults(StudentID, SubjectName, TeacherName, Score)
The primary key is (StudentID, SubjectName). The following functional dependency exists:
SubjectName \(\rightarrow\) TeacherName
a. Explain why this table is not in Second Normal Form (2NF). (2 points)
b. Redesign the table(s) so that they satisfy 2NF. (2 points)
先自己写一遍答案,再对照解题步骤。
Consider the following unnormalised table for a library system:
Library(BookID, Title, AuthorID, AuthorName, Genre, PublisherName, PublisherAddress)
The primary key is BookID. Assume an author has only one name and a publisher has only one address.
Describe the steps required to transform this relation into Third Normal Form (3NF), identifying the specific dependencies that must be removed at each stage.
先自己写一遍答案,再对照解题步骤。
* thinka提供的内容由AI生成,可能并非总是准确或最新。请将其用作辅助资源,并与官方材料进行核实。
想多做几道同类题目?立即开始练习这个课题,边做边批改。
立即练习