Week 7 - Entity - Relationship Modelling Flashcards

(16 cards)

1
Q

Why is the term databases used?

A

It suggests the ‘ base of data’ on which all applications in an organisation are built and run

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are databases typically used for?

A

It primarily use is to manage internal data for organisations and businesses, even though they have support for external services.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What kinds of data might a university database include?

A

Students,courses,marks,staff,resources and finance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What types of data are managed in an airline’s database?

A

Airplanes,parts, airports, flight, customers, travel agents, reservations, staff and finance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is meant by an entity in a database context?

A

An entity is a ‘thing’ for which data needs to be stored - such as students, courses, lecturers, or exams

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are relationships in a database, and why are they important?

A

Relationships describe how entities are connected ( e.g students register for courses). They are crucial for correctly designing databases and linking tables together

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Give examples of relationships between entities in a university database

A
  • Students sit for exams
  • Lecturers teach and assess courses
  • Courses belong to degree programs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are examples of entities that represent people in different roles?

A

Student, lecturer, staff member etc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are some examples of object, organisation and conceptual entities?

A

Objects: Cars, airplanes

Organisations: Companies, suppliers

Conceptual: Course, degree programme

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are examples of human relationships represented in a database?

A

Spouse, offspring, parent etc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Give examples of role-based and event-based relationships

A

Role-based relationship: teaching, studying, managing

Event- based: Lecturing at, concert at

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are examples of organic relationships in a database?

A

Belongs to, Part of, Located at.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How do we depict relationships in database design?

A

Relationships are depicted using diamond boxes, with links connecting to all the entities they relate to

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Define ‘Multiplicities’ in terms of a relationship and how is it represented?

A

It is represents the minimum and maximum number of times an entity can participate in a relationship

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Give an example of multiplicities in terms of a small library

A
  • For a book, the minimum = 0, maximum = 1 (it may or may not be borrowed, and if borrowed, only once).
  • For a member, the minimum = 0, maximum = 1 (they may or may not borrow a book, but only one book at a time).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly