chapter 5 Flashcards

1
Q

how is a non transferrable relationship represented

A

represented with the diamond on the relationship

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

what does an m to m relationship indicate

A

it shows that an entity is missing from the model

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

when do 1:1 relationships occur

A

1: 1 relationships commonly occur when roles are modelled (it is mandatory at one end)
1: 1 relationships occur when some entities represent the various stages in a process (only make a distinction between the 2 entities if there is a business need)

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

what is a redundant relationship

A

A redundant relationship can be derived from another relationship in the model.

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

what is important to check before resolving a redundant relationship

A

it is important to read the relationship before concluding that it is a redunddant relationship

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

how to resolve an m to m relationship

A

(answer template)____and since every attribute must belong to an entity, we need to create a third entity. This entity is called an intersection entity.

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

what is an intersection entity

A

It is the product of the resolution of a many to many relationship

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

how is the UID for the intersection entity shown as

A

it is represented by the BARRED RELATIONSHIP

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

what is a barred relationship

A

it is the relationship that participates in an entity’s unique identifier

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

what is a good way to validate an erd

A

by doing CRUD analysis

part of checking a datamodel for completeness and accuracy is mmaking sure that all the crud functions specified by the business scenario and the business rules are represented in the ERD

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

what is a function

A

used to perform calculations on data, modify individual data items, manipulate output for a group of rows, format dates and numbers for display, convert column data types, etc.

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

what are the keywords related to create function

A

−INPUT, ENTER, LOAD, IMPORT, RECORD, & CREATE

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

keywords related to retrieve function

A

VIEW, REPORT, BRING UP, PRINT, FIND, READ, & LOOK UP

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

what is an example of create function

A

“Whenever we get a new customer, we take down basic information (name, address, email) and assign an ID.” (CREATE)

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

what is an example of retrieve function

A

“We’d like to print out a list of the customers whose account is in arrears.” (RETRIEVE)

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

keywords related to update function

A

−CHANGE, MODIFY, ALTER, & UPDATE

17
Q

example of update function

A

“When a customer pays their account, we alter their record by modifying the outstanding balance” (UPDATE)

18
Q

what is an keywords of the delete function

A

−DISCARD, REMOVE, TRASH, PURGE, & DELETE

19
Q

what is an example of the delete function

A

“A number of our customers were small businesses that were hit hard by the recession. They went out of business. We deleted them from our current records.” (DELETE)

20
Q

performing crud analysis on your data helps you check for _________and ________

A

scope and completeness

21
Q

whawt happens when your entites are not touched by the crud function (no business rule does crud operations)

A

then you may not need the entity in the model