Section 4 Flashcards

1
Q

You can typically associate ‘………………’ of something with supertypes and subtypes

A

choices

  • food order types (eat in, to go)
  • grocery bag types (paper, plastic)
  • payment types (check, cash, credit)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Often some instances of an entity have attributes and/or relationships that other instances do not have

A
  • Imagine a business which needs to track payments from customers
  • Customers can pay by cash, by check, or by credit card
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Sometimes it makes sense to subdivide an entity into ………….. In this case, the entity is called a “……………” and each group is called a “………….”

A

subtypes / supertype / subtype

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

(creating supertype and subtype is may be the case when a group of instances has special properties, such as ………… or ……………….. that exist only for that group

A

attributes / relationships

  • Should we create a single PAYMENT entity or three separate entities CASH, CHECK, and CREDIT CARD?*
  • And what happens if in the future we introduce a fourth method of payment?*
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

A subtype

  1. Inherits all ……….. of the supertype
  2. Inherits all ………… of the supertype
  3. Is ………. ………. the supertype
  4. Never ………. ………
  5. Usually has its own …………. or ………..
  6. May have ……….. of its own
A
  1. attributes
  2. relationships
  3. drawn within
  4. exists alone
  5. attributes / relationships
  6. subtypes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

When an ER model is complete, subtypes never stand alone. In other words, if an entity has a subtype, a second subtype must also exist, this makes sense. A single subtype is exactly the same as the supertype

A

R 2

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

This idea leads to the two subtype rules:

  1. …………: Every instance of the supertype is also an instance of one of the subtypes. All subtypes are listed without omission
  2. ……….. ………….: Each instance of a supertype is an instance of only one possible subtype
A
  1. Exhaustive
  2. Mutually Exclusive
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

At the conceptual modeling stage, it is good practice to include an ………. subtype to make sure that your subtypes are exhaustive – that you are handling every instance of the supertype

A

OTHER

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

When a need exists within the business to show …………. and …………. between instances, then subtype

A

similarities / differences

being able to subtype is not the issue—having a reason to subtype is the issue

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

When modeling supertypes and subtypes, you can use three questions to see if the subtype is correctly identified:

  1. Is this subtype a ………… of supertype?
  2. Have I covered all possible cases? (…………..)
  3. Does each instance fit into one and only one subtype? (………… ………..)
A
  1. kind
  2. exhaustive
  3. mutually exclusive
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

You can nest subtypes. For ease of reading – “readability” – you would usually show subtypes wit only ………. levels, but there is no rule that would stop you from going beyond two levels

A

two

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

………… …………. rules indicate the types of information to be stored (attributes) and how the information elements interrelate (relationships)

A

Structural business

Structural business rules can nearly always be diagrammed in the ERD

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

Procedural rules deal with the prerequisites, ……….., ……….., or …………. requirements of a business

A

steps / processes / workflow

Many procedural business rules are related to time: event A must happen before event B

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