AQA A Level · Computer Science 7517

Conceptual data models and entity relationship modelling:練習問題

その場で採点される選択問題 5 問と、解説つきの記述問題 5 問。すべて「Conceptual data models and entity relationship modelling」からの出題です。

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 秒で採点します。

同じような問題をもっと解きたい?このトピックの新しい問題を、解きながら採点。

練習を始める