AQA A Level · Computer Science 7517

概念資料模型與實體關係建模:练习题

5 道选择题即时批改,另有 5 道文字题附完整解题步骤,全部围绕「概念資料模型與實體關係建模」。

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

When producing an entity relationship diagram, what notation is typically used to represent an entity that uniquely identifies a record in a table?

第 2 题
1

Consider a data model for a car rental system. A Customer can make multiple Bookings, but each Booking belongs to only one Customer. What is the degree of this relationship?

第 3 题
1

Consider the following entity descriptions for a retail system:
Order(OrderID, OrderDate, CustomerID)
Product(ProductID, Description, Price)

If an Order can contain many Products and a Product can be part of many Orders, what is the most appropriate way to represent the 'OrderLine' entity in an ERD?

第 4 题
1

In conceptual data modelling, which of the following best describes the relationship between a 'Student' and a 'Course' in a typical university database where a student can enrol in multiple courses and a course can have many students?

第 5 题
1

A company database needs to store information about Employees and Departments. Each Employee works in exactly one Department, but a Department can have many Employees. How should this be represented in an Entity Relationship Diagram (ERD)?

第 6 题
3

In entity-relationship modelling, what does a many-to-many (M:N) relationship usually require when being mapped to a relational database schema?

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

第 7 题
5

Consider a school database. A Student table and a Class table exist. If a student can attend multiple classes and a class has many students, describe the attributes of the resulting link table Enrolment in terms of keys.

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

第 8 题
3

In an Entity Relationship Diagram (ERD), how is a many-to-one relationship represented between a Department entity and an Employee entity, assuming one employee works in one department?

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

第 9 题
3

A database designer is creating a system for a music festival. They start by identifying that an Artist performs at a Stage, and a Stage can host many Artists. Each Artist belongs to exactly one RecordLabel, but a RecordLabel may have many Artists signed to it.

a. State the degree of the relationship between Artist and RecordLabel. (1 point)

b. Draw an Entity Relationship Diagram (ERD) to represent the relationships between Artist, Stage, and RecordLabel, assuming an Artist only performs on one Stage. (2 points)

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

第 10 题
6

A developer is designing a database for a university. A Department can employ many Lecturers, but each Lecturer belongs to exactly one Department. Additionally, a Lecturer can teach many Modules, and a Module can be taught by many Lecturers.

(a) Produce the entity descriptions for the entities Department, Lecturer, and Module, identifying primary and foreign keys. (3 points)
(b) Explain why a 'link table' is required for the relationship between Lecturer and Module and provide its entity description. (3 points)

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

* thinka 提供的内容由 AI 生成,未必在任何情况下都完全准确或最新,请结合官方教材与教师指导使用。

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

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

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

立即练习