Cambridge International A Level · Computer Science (9618)

Databases: แบบฝึกหัด

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

10 ข้อ24 คะแนนฟรี ไม่ต้องสมัคร
ข้อ 1
1 คะแนน

In the context of a relational database, which term is used to describe a single record within a table?

ข้อ 2
1 คะแนน

A database table is considered to be in First Normal Form (1NF) if it satisfies which of the following criteria?

ข้อ 3
1 คะแนน

In a relational database where referential integrity is enforced, what is the default behavior when a user attempts to delete a record in a parent table that has related records in a child table?

ข้อ 4
1 คะแนน

A database administrator is evaluating the efficiency of a relational database. To improve the speed of data retrieval for a specific attribute without altering the logical schema or the physical storage order of the records, which database feature should be implemented?

ข้อ 5
1 คะแนน

A database table for OrderDetails contains the following attributes: (OrderID, ProductID, ProductName, UnitPrice, Quantity).

The combination (OrderID, ProductID) serves as the primary key. If ProductName depends only on ProductID, which of the following statements accurately describes the current state of this table?

ข้อ 6
2 คะแนน

In the context of a relational database, state the term used to describe a field in one table that refers to the primary key in another table, used to establish a relationship between the two tables.

ลองเขียนคำตอบด้วยตัวเองก่อน แล้วค่อยเทียบกับวิธีทำ

ข้อ 7
3 คะแนน

Explain why a many-to-many relationship between two entities, such as STUDENT and COURSE, cannot be directly implemented in a relational database and state how this is resolved.

ลองเขียนคำตอบด้วยตัวเองก่อน แล้วค่อยเทียบกับวิธีทำ

ข้อ 8
6 คะแนน

In the context of a Database Management System (DBMS), describe the role of the data dictionary in maintaining data integrity and explain how the query processor interacts with it during the execution of a DML statement.

ลองเขียนคำตอบด้วยตัวเองก่อน แล้วค่อยเทียบกับวิธีทำ

ข้อ 9
3 คะแนน

A small library currently stores its book information in a simple text file. Each line in the file contains the book's title, author, ISBN, and availability status (e.g., 'Title, Author, ISBN, Available').

(a) State two limitations of using this file-based approach for managing library data.

(b) Explain how a relational database system addresses one of the limitations you identified in part (a).

ลองเขียนคำตอบด้วยตัวเองก่อน แล้วค่อยเทียบกับวิธีทำ

ข้อ 10
5 คะแนน

A company maintains a database of its projects and the employees assigned to them. The current data is stored in a single table called ProjectAssignments:

ProjectIDEmployeeIDProjectNameEmployeeNameDepartmentHourlyRate
P001E101Website RedesignAlice SmithMarketing50.00
P001E102Website RedesignBob JohnsonIT60.00
P002E101Mobile App DevAlice SmithMarketing50.00
P003E103Database MigrationCharlie BrownIT75.00

The primary key for this table is a composite key: (ProjectID, EmployeeID).

(a) Explain why the ProjectAssignments table is not in Second Normal Form (2NF).

(b) Decompose the ProjectAssignments table into tables that are in Second Normal Form (2NF), clearly stating the primary key(s) and any foreign key(s) for each new table.

ลองเขียนคำตอบด้วยตัวเองก่อน แล้วค่อยเทียบกับวิธีทำ

* เนื้อหาของ thinka สร้างโดย AI อาจไม่ถูกต้องสมบูรณ์ในทุกกรณี กรุณาใช้เป็นสื่อเสริมและตรวจสอบกับเอกสารอ้างอิงอย่างเป็นทางการ

คุณเห็นเฉลยแล้ว ทีนี้มาตรวจคำตอบของคุณบ้าง

หน้านี้บอกได้ว่าคำตอบที่ดีเป็นอย่างไร แต่บอกไม่ได้ว่าคำตอบของคุณขาดอะไร thinka ตรวจข้อเขียนของคุณตามเกณฑ์ให้คะแนนจริงในราว 15 วินาที

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

เริ่มฝึกเลย