conceptual schema design process

13
1 CONCEPTUAL SCHEMA DESIGN PROCESS Information Processing and Technology, 2001 Yr 12 IPT

Upload: katen

Post on 08-Jan-2016

36 views

Category:

Documents


6 download

DESCRIPTION

CONCEPTUAL SCHEMA DESIGN PROCESS. Yr 12 IPT. Information Processing and Technology, 2001. Last Lesson. The UoD is the domain of relevant information. An information system is designed through the Conceptual Schema Design Process (CSDP). - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: CONCEPTUAL SCHEMA DESIGN PROCESS

1

CONCEPTUAL SCHEMA DESIGN PROCESS

Information Processing and Technology, 2001

Yr 12IPT

Page 2: CONCEPTUAL SCHEMA DESIGN PROCESS

Last LessonThe UoD is the domain of relevant information. An information system is designed through the

Conceptual Schema Design Process (CSDP).The first process of the CSDP is to state elementary

facts. EF are simple, unambiguous, irreducible and do not

contain and, if, or, not, all, some, most.EF contain entities, roles, reference modes and values. The number of entities in an EF describes its arity.

.

Page 3: CONCEPTUAL SCHEMA DESIGN PROCESS

Student (first name) Mary

studies / is studied by

Subject (name) IPT

Reference Scheme

Values = Mary, IPT

Entities = Student, Subject

Ref Modes = first name, name

Role = studies / is studied by

Page 4: CONCEPTUAL SCHEMA DESIGN PROCESS

ArityThe arity of an elementary sentence is the

number of entities that associate or play roles

Mary Jogs - unary

Mary studies English - binary

Mary received a B for English - ternary

Page 5: CONCEPTUAL SCHEMA DESIGN PROCESS

Design Cycle

1. State Elementary Facts

2.

3.

4.

6.

5.

Draw Conceptual Schema Diagram

Page 6: CONCEPTUAL SCHEMA DESIGN PROCESS

Step 2. Draw Conceptual Schema Diagram

The Conceptual Schema Diagrams are a graphical representation of the elementary facts obtained from the first step.

•Entity types are represented by ellipses:

•Roles are represented by rectangles:

Page 7: CONCEPTUAL SCHEMA DESIGN PROCESS

Data and EF’s ...Name Phone Suburb

Gary 4636 7345 Glenvale

Jenny 4636 2567 Mt Lofty

James 4636 6758 Mt Lofty

April 4636 4765 Middle Ridge

1. Person (name) Gary

has / refers to

Phone (Phone) 4636 7357.

2. Person (name) Gary

lives in / is lived in by

Suburb (suburb) Glenvale.

Elementary Facts:

Page 8: CONCEPTUAL SCHEMA DESIGN PROCESS

… and a CS Diagram

Person (name)

Phone(Phone)

Suburb(suburb)

lives in

has

1. Person (name) Gary

has / refers to

Phone (Phone) 4636 7357.

2. Person (name) Gary

lives in / is lived in by

Suburb (suburb) Glenvale.

Page 9: CONCEPTUAL SCHEMA DESIGN PROCESS

Ternary Relationship

Student Subject GradeMegan IPT HAMegan Physics SAMark Physics HA

1. Student (Student) Megan

studies

Subject (Subject) IPT

gainedResult (Grade) HA

Page 10: CONCEPTUAL SCHEMA DESIGN PROCESS

Ternary Relationships

A ternary relationship is needed when two binary relationships do not convey the information required

Ternary relationships are drawn by nesting.

Page 11: CONCEPTUAL SCHEMA DESIGN PROCESS

A Ternary Relationship

Student (student)

Result(grade)

Subject(subject)

studies

gained1. Student (student) Megan

studies

Subject (subject) IPT

gained

Result (grade) HA

Page 12: CONCEPTUAL SCHEMA DESIGN PROCESS

Ternary or Binary?

Computer (Mhz) Hard Drive (Gb) Price ($)133 1.2 1997150 1.2 2153166 1.2 1357

133 1.7 2049150 1.7 2205

Page 13: CONCEPTUAL SCHEMA DESIGN PROCESS

SummaryDrawing the CS Diagrams is the second step

of the CS Design Process.CS Diagrams are a graphical representation

of elementary facts.Ternary relationships require nesting.

Entity

(ref mode)

Entity

(ref mode)

plays role