Entity Relationship Diagrams / Core Concepts

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/17

flashcard set

Earn XP

Description and Tags

Covering week 2's content on core concepts, different attribute types and degrees and cardinality

Last updated 11:30 AM on 8/12/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

18 Terms

1
New cards

Three broad stages of Database Design

Conceptual: Building model independent of DBMS. Logical: Create database in given DBMS. Physical: How this database is stored in hardware.

2
New cards

What is an Entity Relationship Model? (ERM)

A systematic way of describing and defining a business process. It’s modelled as entity sets that are linked by relationships that express dependencies and requirements between them.

3
New cards

ER modelling is what stage of DB design?

Conceptual

4
New cards

What do we use to notate Relationships?

Verbs

5
New cards

How do we name entity sets?

Use a singular noun that is: meaningful and unique

6
New cards

What is the naming convention for Attributes?

camelCasing!

7
New cards

What are characteristics of PK’s?

1) Non-null value 2) unique 3) not change/become null

8
New cards

What is a Candidate Key?

When entities have more than one attribute to be the PK; these sets are called ‘candidate keys’, and only one can be chosen.

9
New cards

What do we do when we have a set of candidate keys?

Select only one, and the rest are ‘alternate keys’.

10
New cards

What do we do if none of the candidate keys are suitable?

Introduce

11
New cards

What is a ‘Simple’ attribute?

Cannot be subdivided, examples are Gender or Marital status.

12
New cards

What is a ‘Composite’ attribute?

Composed of several parts, examples are address and names.

13
New cards

Are the Simple and Composite attributes good for operational design?

They reduce redundancy and inconsistencies, make retrieval and usage easier. —> Creating additional attributes for an entity is viable.

14
New cards

What is a ‘Multi-valued’ attribute?

Multiple values possible, examples are qualifications and different phone numbers.

15
New cards

Are 'Multi-valued’ attributes good for operational design?

They reduce redundancy and inconsistencies, easy usage and retrieval. —> Not the best to create additional attributes for an entity.

16
New cards

What are ‘Derived’ attributes?

Values that are calculated from other attributes, such as age and ordertotal.

17
New cards

Is a ‘Derived’ attribute good for operational design?

Normally not stored, this uses resources and data.

18
New cards