M2 Flashcards

1
Q

person, place, object, event, concept (often corresponds to a row in a table)

A

Entity instance–

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

collection of entities (often corresponds to a table)

A

Entity Type–

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

link between entities (corresponds to primary key- foreign key equivalencies in related tables)

A

Relationship instance–

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

category of relationship…link between entity types

A

Relationship type–

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

Properties or characteristics of an entity or relationship type (often corresponds to a field in a table)

A

Attributes

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

specify how many of each entity type is allowed

A

Relationship cardinalities

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

specify number of entity types involved

A

Relationship degrees

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

Entities are represented by X

X go in the softboxes

Entity names are always X and X

A

softboxes

Entity names

singular

written in capital letters

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

are listed under entity names

A

Attributes

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

X are marked with an asterisk: “*”

X are marked with a circle: “o”

X are marked with a hash sign: “#”

A

Mandatory attributes

Optional attributes

Unique identifiers

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

Business Rules

  • Are statements that X or X some aspect of the business
  • Are X from policies, procedures, events, functions
  • Assert X
  • X business behavior
  • Are expressed in terms X to end-users
  • Are X through DBMS software
A

define,,, constrain

derived

business structure

Control/influence

automated

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

A good business rule is:

  • X–what, not how
  • X–clear, agreed-upon meaning
  • X–one statement
  • X–internally and externally
  • X–structured, natural language
  • X–non-redundant
  • X–understood by business people
A
  • Declarative–what, not how
  • Precise–clear, agreed-upon meaning
  • Atomic–one statement
  • Consistent–internally and externally
  • Expressible–structured, natural language
  • Distinct–non-redundant
  • Business-oriented–understood by business people
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

a person, a place, an object, an event, or a concept in the user environment about which the organization wishes to maintain data

A

Entity

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

a collection of entities that share common properties or characteristics

A

Entity type –

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

A single occurrence of an entity type

A

Entity instance –

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

property or characteristic of an entity or relationship type

A

Attribute

17
Q

X entity
• exists X of other types of entities
• has its own X identifier
• identifier underlined with X line

A

Strong

independently

unique

single

18
Q

X entity
• dependent on a X (identifying owner)…cannot exist on its own
• does not have a unique identifier (only a X)
• entity box and partial identifier have X lines

A

Weak

strong entity

partial identifier

double

19
Q

links strong entities to weak entities

A

Identifying relationship

20
Q

Naming Attributes

• Name should be a X noun or noun X
• Name should be X
• Name should follow a X
• e.g. [Entity type name { [ Qualifier ] } ] Class
• Similar attributes of different entity types should use the
X

A

singular,,, phrase

unique

standard format

same qualifiers and classes