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 秒完成。

想多做幾條同類題目?立即開始練習呢個課題,即做即批改。

立即練習