AQA A Level · Computer Science 7517

資料庫設計與正規化技巧:练习题

5 道选择题即时批改,另有 5 道文字题附完整解题步骤,全部围绕「資料庫設計與正規化技巧」。

10 道题目25 免费,无需注册
第 1 题
1

Which of the following is the primary reason for normalising a database to Third Normal Form (3NF)?

第 2 题
1

A relation is in Third Normal Form (3NF) if and only if it is in 2NF and which other condition is met?

第 3 题
1

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?

第 4 题
1

A database relation is in First Normal Form (1NF) if it meets which of the following criteria?

第 5 题
1

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?

第 6 题
2

What is the primary reason for applying normalization to a database design?

先自己写一遍答案,再对照解题步骤。

第 7 题
3

Describe the characteristics a relation must possess to be in First Normal Form (1NF).

先自己写一遍答案,再对照解题步骤。

第 8 题
5

Explain why a relation with a single-attribute primary key that is already in 1NF is automatically in 2NF.

先自己写一遍答案,再对照解题步骤。

第 9 题
4

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)

先自己写一遍答案,再对照解题步骤。

第 10 题
6

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生成,可能并非总是准确或最新。请将其用作辅助资源,并与官方材料进行核实。

你已看过标准答案。现在轮到你的答案被批改。

这一页能告诉你好答案是什么样子,却无法指出你的答案缺了什么。thinka 按真实评分标准批改你的文字答案,约 15 秒完成。

想多做几道同类题目?立即开始练习这个课题,边做边批改。

立即练习