AQA A Level · Computer Science 7517

Database design and normalisation techniques: แบบฝึกหัด

ข้อปรนัย 5 ข้อ ตรวจให้ทันทีที่ตอบ และข้อเขียน 5 ข้อ พร้อมวิธีทำละเอียด ทั้งหมดจากเรื่อง Database design and normalisation techniques

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 วินาที

อยากฝึกโจทย์แบบนี้เพิ่มไหม เริ่มฝึกหัวข้อนี้ได้เลย ตรวจให้ทันทีทุกข้อ

เริ่มฝึกเลย