UML实验报告.docx

上传人:b****0 文档编号:8989784 上传时间:2023-05-16 格式:DOCX 页数:27 大小:281.58KB
下载 相关 举报
UML实验报告.docx_第1页
第1页 / 共27页
UML实验报告.docx_第2页
第2页 / 共27页
UML实验报告.docx_第3页
第3页 / 共27页
UML实验报告.docx_第4页
第4页 / 共27页
UML实验报告.docx_第5页
第5页 / 共27页
UML实验报告.docx_第6页
第6页 / 共27页
UML实验报告.docx_第7页
第7页 / 共27页
UML实验报告.docx_第8页
第8页 / 共27页
UML实验报告.docx_第9页
第9页 / 共27页
UML实验报告.docx_第10页
第10页 / 共27页
UML实验报告.docx_第11页
第11页 / 共27页
UML实验报告.docx_第12页
第12页 / 共27页
UML实验报告.docx_第13页
第13页 / 共27页
UML实验报告.docx_第14页
第14页 / 共27页
UML实验报告.docx_第15页
第15页 / 共27页
UML实验报告.docx_第16页
第16页 / 共27页
UML实验报告.docx_第17页
第17页 / 共27页
UML实验报告.docx_第18页
第18页 / 共27页
UML实验报告.docx_第19页
第19页 / 共27页
UML实验报告.docx_第20页
第20页 / 共27页
亲,该文档总共27页,到这儿已超出免费预览范围,如果喜欢就下载吧!
下载资源
资源描述

UML实验报告.docx

《UML实验报告.docx》由会员分享,可在线阅读,更多相关《UML实验报告.docx(27页珍藏版)》请在冰点文库上搜索。

UML实验报告.docx

UML实验报告

系统模型与模拟

实验指导书

GuidelinesonLabsofSM&SwithOOAD

学院管理学院

课程名称(中文)系统模型与模拟

(英文)SystemModels&Simulation(SM&S):

课程代码030521教师代号03050513

课程学时48实验总学时20

Oct,18th,2012:

Lab1-3,WFD,DFD,andUSECASEinbriefformat.

Doasmuchasyoucould,allremainingworkneedstobedone

athome.

Lab1(1classhour)

一.Objectives:

LearntogatherallinformationandinformationflowsamongentitiesinthesystemandtomakeanoverallplanforitbydrawingagoodWFD.

DefinitionofWFD:

inaparticularproject,aworkflowdiagramisaparticularsequenceofactivitieswithinanorganization.

二.Instructions:

Step1:

StudytheWFDgivenasanexample;

Step2:

Byusingsomesoftwarefordrawing

(e.g,Visio,SmartDraw,Word,etc),

DrawaWFDforthesystemyouhavebasedonyourunderstanding

ofthegivenexampleaswellasthesystem;

Step3:

SubmittheWFDafteryoupolishit;

Lab2(0.5classhour):

一.Objectives:

AnalyzealldataanddataflowsamongprocessesinthesystemanddesignaDFDtobetterunderstandtheprocessingsystem.

DefinitionofDFD:

describeprocessesofinformationstoring,inputandoutputthattransformdataintoandfromthesystembetweensourcesanddestinations.

二、Instructions:

Step1:

StudytheDFDgivenasanexample;

Step2:

Byusingsomesoftwarefordrawing(e.g,SmartDraw,Word,etc),

DrawaDFDforthesystemyouhavebasedonyourunderstanding

ofthegivenexampleaswellastheprocessingsystem;

Step3:

SubmittheDFDafteryoupolishit;

Step4:

Gohomeandhappyafterturnoffcomputers.

Lab3(0.5classhour):

一.Objectives:

Apprehend(understand)theconceptofUseCasesinyourTextbookandidentifyUseCasesinthesystemtoanalyzerequirementsofthesystem.

ReflectthedifferencesbetweenrequirementsofthesystemanddynamicfeaturesfortheJavaclassesandcreateaninitialUseCaseforthesysteminbriefformat.

二.Instructions:

Step1:

Analyzeyoursystemtofindoutsomeinitialrequirements.

Step2:

Figureoutappropriatename(verbphrases)forapossibleUse

Case;

Step3:

FindouttheActor(primaryrolename)oftheUseCase.

Step4:

writethemainscenarios(SuccessScenarios)oftheUse

Caseinbriefformat.

Step5:

Submityourworkwhenfinishit.

Oct,25th,2012:

Lab4-5,

1OneUSECASEinformalformat(twocolumnsinatable).

2DomainModelwithattributes

Doasmuchasyoucould,allremainingworkneedstobedone

athome.

Lab4(1classhours):

二.Objectives:

Apprehend(understand)theconceptofUseCasesinyourTextbookandidentifyUseCasesinthesystemtoanalyzerequirementsofthesystem.

ReflectthedifferencesbetweenrequirementsofthesystemanddynamicfeaturesfortheJavaclassesandcreateaformalUseCaseforthesystem.

二.Instructions:

Step1:

Analyzeyoursystemandpreviousartifactstofindoutsomerequirements.

Step2:

Figureoutappropriatename(verbphrases)forapossibleUse

Case;

Step3:

FindouttheActor(rolename)oftheUseCase.

Step4:

writethemainscenarios(SuccessScenarios)oftheUse

Caseintheformatofcolumns(atable).

UsecaseinFormalFormat

UseCaseName

SalesProcessingSystemforBookplace,Inc.

Actor(s)

Client

Description

TheUseCasedescribestheprocessofthesalesorder,whencompleted,clientwillgetthepinkinvoicecopyandbook(s).

TypicalCourseOfEvents

ActorActon

SystemResponse

Step1:

TheusecaseisinitiatedwhentheaclientsubmitsanIntenttoPurchase.

Step2:

Aletterorpurchaseorderthatgivestheclient’sbillingandshippinginformation.

Step3:

clientidentifiestheitemstobepurchased.

Step4:

Clientbillfordeorder.

Step5:

Accountingsendsthewhiteandthepinkcopiestoclients.

Step6:

TheclientsubmitsthepaymentwiththepinkcopytotheAccounting.

Step7:

ASalesandAcquisitionclerkshipsthepinkcopyandthebook(s)totheclient

Step8:

Whentheclientgetsbook(s),theusecaseends.

Lab5(1classhours):

一.Objectives:

CreateaninitialDomainModelforyoursystemandidentifyanumberofconceptualclassesinthedomain.

KnowthedifferencesbetweenconceptualclassesanddesignclasseswhichareclosetoJavacodebywritingapieceofJavacode.

二.Instructions:

Step1:

Studythesystemasadomaininyourcasematerial;

Step2:

Identifyanumberofconceptualclasseswhichusuallyrefer

torealobjectsintherealworldandarecloselyrelatedto

yourdomain.

Step3:

DrawrectanglestodepicttheconceptualclassesbyusingUML;

Step4:

Trytoidentifyappropriateattributesforeachof

conceptualclassesintheDM.

Step5:

Submityourworkwhenfinishit.

 

PurchaseOrder

ItemNumber

Title

Time

Quantity

Client

ID

Name

Address

Phone

Interest

PONumber

 

Payment

total

salestax

Clerk

ID

Name

Sales

Date

BookID

SalesPrice

 

Invoice

 

Invoice

Subtotal

Salestax

Shippingandhandlingcharges

Total

Book

Code

Author

Title

Source

CurrentPrice

 

 

Accounting

WorkID

Name

 

Nov,1st,2012:

Lab6-7,

●DesignDomainModelswithattributes、associations

andmultiplicities;

●TrytodesignUSECASEdiagram,nottextforyoursystems,OrwriteanotherUSECASEtextinformalformat,differentfromthelastoneyoucreatedlastweek.

Doasmuchasyoucould,allremainingworkneedstobedone

athome.

Lab6(1classhour):

一.Objectives:

CreateacompleteDomainModelforyoursystemandidentifyanumberofconceptualclasses、attributes、associationsandmultiplicitiesinthedomain.

KnowthedifferencesbetweenconceptualclassesanddesignclasseswhichareclosetoJavacodebywritingapieceofJavacode.

二.Instructions:

Step1:

Studythesystemasadomaininyourcasematerial;

Step2:

Identifyanumberofconceptualclasses;

Step3:

DrawrectanglestodepicttheconceptualclassesbyusingUML;

Step4:

Trytoidentifyappropriateattributes、associationsandmultiplicitiesforeachofconceptualclassesintheDM.

Step5:

Submityourworkwhenfinishit.

DMForBookPlace

Lab7(1classhour):

三.Objectives:

Apprehend(understand)theconceptofUseCasesinyourTextbookandidentifyseveralUseCasesinthesystemtocreateaUSECASEdiagram.

ReflectthedifferencesbetweenaUSECASEdiagramandaUSECASEtext.

二.Instructions:

Step1:

Analyzeyoursystemandpreviousartifactstofindoutsomerequirements.

Step2:

Figureoutappropriatenames(verbphrases)forafewpossibleUseCases;

Step3:

ConnecttheUSECASEstoformadiagramwithproperrelations.

Step4:

FindouttherelationshipbetweenaUseCasediagramandaUSECASEText.

Step4:

Writethemainscenarios(SuccessScenarios)oftheUse

Caseintheformatofcolumns(atable).

 

Nov,8th,2012:

Lab8,

DesignSSDs(oneisok,twoisbetter,Javacodeisoptional)

Lab8(2classhours)

一Objectives:

AnalyzetheUseCasesandDesignSSD(SystemSequenceDiagram)basedonmainsuccessfulscenariosandcomparetheoperationsintheSSDtothemethodsinJavacode.

ReflectthedifferencesbetweentheoperationsintheSSDandthemethodsinJavacode.

二.Instructions:

Step1:

Analyzeyoursystemtofindoutsomeoperationsofthesystem.

Step2:

Figureoutpropername(verbphrases)forEventoftheSystem.

Step3:

Figureoutappropriatenames(verbphrases)foroperations

ofthesystem.

Step4:

Findouttheappropriatemessagesdisplayedbythesystem.

Step5:

Refertothetextbookonp174-175anddesignamajorSSDfor

thesystem(SuccessfulScenariosoftheUseCase).

Step6:

TrytowriteaJavaprogramwhichcontainsmajorfunctions

describedintheSSD.

Step7:

Submityourworkwhenfinishit.

Nov,15th,2012:

Lab9:

DesigninitialDCD

Lab9(2classhours,2012/11/15):

一Objectives:

AnalyzetheDomainModelsandSSD(SystemSequenceDiagram)basedonmainsuccessfulscenariosandDesignaninitialClassDiagrams(DCD).

ReflectthedifferencesbetweentheconceptualclassesintheDManddesignclassesintheDCD.

二.Instructions:

Step1:

AnalyzeDomainModelsandSSDtofindoutsomedesignclasses

forthesystem.

Step2:

RefertotheDomainModelsanddesigntheDesignClassDiagram

Whichcontainsclassname,staticattributes,anddynamic

Methods.

Step3:

Submityourworkwhenfinishit.

 

Client

ID:

int

Name:

text

Address:

String

Phone:

String

Interest:

String

+SubmitPurchase()

+Submitpayment()

PurchaseOrder

ItemNumber

Time:

Datetime

Total:

float

Quantity:

int

+Createonder()

+Deleteorder()

+Changeitem()

 

 

Clerk

ID:

string

Name:

string

+getInvoice()

+fileInvoice()

Payment

total:

float

salestax:

float

Sales

Date:

TimeDate

BookID:

string

SalesPrice:

float

 

Book

Code:

int

Author:

string

Title:

string

Source:

string

CurrentPrice:

float

Invoice

Subtotal:

float

Salestax:

float

Shippingandhandlingcharges

Total:

float

+getSubtotal()

 

 

Nov,22nd,2012:

Lab10:

DesignacompleteDCD

Lab10(2classhours)

一Objectives:

AnalyzetheDomainModelsandSSD(SystemSequenceDiagram)basedonmainsuccessfulscenariosandDesignacompleteClassDiagrams(DCD).

ReflectthedifferencesbetweentheconceptualclassesintheDManddesignclassesintheDCD.

二.Instructions:

Step1:

Designattributes,operationsandassociationsfortheDCD;

.

Step2:

RefertopreviousartifactsyoudesignedandrefinetheDCD;

Step3:

Submityourworkwhenfinishit.

DCDforSalesProcessingSystemofBookplace,Inc.

Nov,29th–Dec,6th,2012:

Lab11-12:

DesignaSDandMapDCDintoJavacode

Lab11(2classhours)

一Objectives:

AnalyzetheDomainModelsandSSD(SystemSequenceDiagram)basedonmainsuccessfulscenariosanddesignSequenceDiagrams(SD).

Reflectthedifferencesbetweenop

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > IT计算机 > 电脑基础知识

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2