3.1 Introduction - Computer Science and...

Post on 17-Mar-2020

4 views 0 download

Transcript of 3.1 Introduction - Computer Science and...

63

3.1 Introduction

64 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

3.2 Getting Started

3.3 Using StP

3.3.1 Starting Up StP

3.3 USING STP 65

3.3.2 StP Desktop Window

3.3.3 StP Graphics Window

66 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

3.3.3.1 Inserting Symbols

3.3 USING STP 67

3.3.3.2 Connecting Symbols

68 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

3.3.3.3 Moving Symbols

3.3.3.4 Deleting Symbols

3.3.3.5 Labeling Symbols

3.3 USING STP 69

3.3.3.6 Editing Labels

3.3.3.7 Other Useful Features

3.3.3.8 Using Submenus

3.3.4 Advanced Features

70 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

3.3.4.1 Scaling

3.3.4.2 Replacement

3.3.4.3 Screen Movement

3.3 USING STP 71

3.3.5 Setting Cardinality and Existence

3.3.6 Annotating symbols

72 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

3.4 PRODUCING SAMPLE ER AND JACKSON DIAGRAMS 73

3.4 Producing Sample ER And Jackson Diagrams

3.4.1 The Business Database

74 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

3.4.2 Chen ERE Window

PERSON

P-SSNO

P-NAME

P-ADDR

OWNER EMPLOYEE

O-PHONE EMPNO

OWNS WORKS-FOR

BUSINESS

B-NAME

B-ADDR

TYPE

PER-CENT

SALARY

JOB-TITLE

PRODUCESQTY DISTRIBUTOR

D-NAME

D-ADDR

PRODUCT

PRODNO DESCR*

*

*

S *

*

1:M 1:M

1:M

1:1

1:M

0:M

0:M

3.4 PRODUCING SAMPLE ER AND JACKSON DIAGRAMS 75

3.4.2.1 Generating SQL

3.4.3 DSE Window

76 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

*

* is not a part of thelabel. Annotate it byadding an AttributeInformation node &

an Is Key? item.

Entity

Relationship

Entity

Attri-bute

KeyAttribute

Entity

Entity

Association

Existence:Cardinality

Existence &cardinalitynot a part of the label,use

Set Cardinality & Existencesubmenu from Info

Modeling menu

Attri-bute

Entity

WeakEntity

This connection cannot have label

Entity

WeakEntity

Superclass

d

Subclass Subclass

Superclass

Subclass Subclass

O

Parent

Child Child

Exclusive SubtypeRelationship

Parent

Child Child

Inclusive SubtypeRelationship

Category

Superclass Superclass

U

Parent

Child Child

GeneralizationRelationship

DisjointSpecialization

OverlappingSpecialization

Categorization

G

S *S

0:M

3.4 PRODUCING SAMPLE ER AND JACKSON DIAGRAMS 77

DistributionSummary

SummaryHeader

SummaryBody

BusinessName

BusinessAddress

SummaryDate

Distributor

DistributorName

ProductGroup

ProductNumber

Product

Description Quantity

*

78 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

3.4.4 Printing Diagrams

3.4.4.1 Printing a single diagram

3.4 PRODUCING SAMPLE ER AND JACKSON DIAGRAMS 79

3.4.4.2 Printing all diagrams

80 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

3.4.5 Setting a StP Project and System Subdirectory

3.5 ACKNOWLEDGMENTS 81

3.4.5.1 Using the “Set Project/System” command

3.4.5.2 Using the “ToolInfo.hp700Student” file

3.5 Acknowledgments