logo

AQA A-Level Computer Science practice

A training centre has learners and workshops. Each learner may attend several workshops, and each workshop may be attended by several learners. For every attendance, the centre records the attendance date and whether the learner was present. Produce a conceptual data model with entity descriptions and explain how the entity relationship diagram should represent the many-to-many association.

Try the question first, then check the answer and practise the same topic again.

At a glance

Question

Type

practice

Style

Topic

Conceptual data models and entity relationship modelling

Exam-style question

Try this first

A training centre has learners and workshops. Each learner may attend several workshops, and each workshop may be attended by several learners. For every attendance, the centre records the attendance date and whether the learner was present. Produce a conceptual data model with entity descriptions and explain how the entity relationship diagram should represent the many-to-many association.

Answer and explanation

Concise answer

Learner (LearnerID, LearnerName, LearnerEmail) Workshop (WorkshopID, WorkshopTitle, WorkshopDate) Attendance (AttendanceID, AttendanceDate, Present, LearnerID, WorkshopID)

Why this is correct

The requirements describe a many-to-many association between Learner and Workshop. Attendance is an additional entity that represents each occurrence of that association and provides a place for attributes that describe the occurrence, such as the date and presence status.

Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions