data$flow$diagram exercises$with solutions -...

14
Data Flow Diagram Exercises with solutions Note that the symbols are not exactly as expected as they were drawn with a graphics package but they give the idea.

Upload: vunga

Post on 13-Apr-2018

1.080 views

Category:

Documents


116 download

TRANSCRIPT

Page 1: Data$Flow$Diagram Exercises$with solutions - …ssscsc2ab.wikispaces.com/file/view/DFD+Exercises+with+Solutions.pdf · point4of4sales!system:! Grocery!store!checkers!at!Big!Bob’s!Supermarket!use!a!scanner!that!reads

!

!

Data$Flow$DiagramExercises$withsolutionsNote!that!the!symbols!are!not!exactly!as!expected!as!theywere!drawn!with!a!graphics!package!but!they!give!the!idea.

Page 2: Data$Flow$Diagram Exercises$with solutions - …ssscsc2ab.wikispaces.com/file/view/DFD+Exercises+with+Solutions.pdf · point4of4sales!system:! Grocery!store!checkers!at!Big!Bob’s!Supermarket!use!a!scanner!that!reads

!

!

Exercise(1Draw!a!data!flow!diagram!that!shows!the!appropriate!details!for!thispoint4of4sales!system:!Grocery!store!checkers!at!Big!Bob’s!Supermarket!use!a!scanner!that!readsuniversal!product!bar!codes!(UPC).!The!bar!code!for!each!purchase!istranslated!by!the!special4purpose!computer!(the!cash!register),!accessinga!product!file.!This!translaIon!triggers!a!voice!output!of!the!price.!!Theproduct!type!and!the!price!of!each!purchase!are!stored!in!a!file!to!beused!in!prinIng!the!receipt.!!AKer!all!purchases!have!been!scanned,!areceipt!is!produced!and!given!to!the!customer.!

Page 3: Data$Flow$Diagram Exercises$with solutions - …ssscsc2ab.wikispaces.com/file/view/DFD+Exercises+with+Solutions.pdf · point4of4sales!system:! Grocery!store!checkers!at!Big!Bob’s!Supermarket!use!a!scanner!that!reads

!

!

Customer

UPC

Receipt

Product!File

Price

ReceiptInformation

02ProduceReceipt

01TranslateBar!Code

UPC!Product!Price

Product!&!Price

Receipt!File

Page 4: Data$Flow$Diagram Exercises$with solutions - …ssscsc2ab.wikispaces.com/file/view/DFD+Exercises+with+Solutions.pdf · point4of4sales!system:! Grocery!store!checkers!at!Big!Bob’s!Supermarket!use!a!scanner!that!reads

!

!

Exercise(2A!fi$h&grade!class!uses!a!simple!word!processing!program!to!createthe!class!newspaper.!!Every!month!the!teacher!makes!a!list!ofdifferent!topics.!!Each!student!writes!an!ar>cle!on!one!of!the!topicsand!stores!it!on!his!or!her!own!floppy!disk.!!Students!read!and!editone!another’s!ar>cle!files.!!A!final!version!of!each!of!the!ar>cles!isthen!created.!!!These!individual!master!copies!are!cut!and!pasted!bythe!newspaper!editor!to!produce!the!paper.!!Copies!are!then!madeand!distributed!to!the!en>re!school.

Page 5: Data$Flow$Diagram Exercises$with solutions - …ssscsc2ab.wikispaces.com/file/view/DFD+Exercises+with+Solutions.pdf · point4of4sales!system:! Grocery!store!checkers!at!Big!Bob’s!Supermarket!use!a!scanner!that!reads

!

!!

All!Students!

Topics

Article

OriginalArticles

RevisedArticle

03Read!and!Edit

Ar9cle

01DetermineTopics

Printed!!Ar9cle

FinalArticle

Ar9cles

02WriteAr9cles

04Print

Ar9cles

05Cut!and

Paste!Newsar9cle

06Copy!Paper

Printed!Paper

Master!Paper

Page 6: Data$Flow$Diagram Exercises$with solutions - …ssscsc2ab.wikispaces.com/file/view/DFD+Exercises+with+Solutions.pdf · point4of4sales!system:! Grocery!store!checkers!at!Big!Bob’s!Supermarket!use!a!scanner!that!reads

!

!

Exercise(3Draw!a!data!flow!diagram!for!the!check!cashing!process!for!First!Na7onal!Bank,showing!all!the!appropriate!details:!When!a!customer!wishes!to!withdraw!cash!at!a!drive?in!window!at!First!Na7onalBank,!he!or!she!must!write!a!check!made!out!to!Cash.!!The!check!is!sent!to!theteller!office!via!vacuum!tube.!!One!of!the!four!tellers!enters!the!checkingaccount!number!and!the!amount!on!one!of!the!terminals.!!The!amount!issubtracted!from!the!proper!account!balance!in!the!account!master!file.!!Atransac7on!slip!is!the!printed!with!the!check!amount,!updated!account!balance,and!account!number.!!The!slip!is!returned!to!the!customer!via!vacuum!tube.

Page 7: Data$Flow$Diagram Exercises$with solutions - …ssscsc2ab.wikispaces.com/file/view/DFD+Exercises+with+Solutions.pdf · point4of4sales!system:! Grocery!store!checkers!at!Big!Bob’s!Supermarket!use!a!scanner!that!reads

!

!

CustomerCheck

Updated!AccountInforma5on

Master!File

Amount

02Update!Master

File

01EnterDate

Transac5on!Slip 03ProduceTransac5on

Slip

Page 8: Data$Flow$Diagram Exercises$with solutions - …ssscsc2ab.wikispaces.com/file/view/DFD+Exercises+with+Solutions.pdf · point4of4sales!system:! Grocery!store!checkers!at!Big!Bob’s!Supermarket!use!a!scanner!that!reads

!

!

Exercise(4Draw!a!data!flow!diagram!for!recording,!analysing,!and!repor6ng!theexperimental!work!with!flowers!at!Fancy!Flowers!Seed!Company.!Show!all!theappropriate!details.!Experimenters!at!Fancy!Flowers!Seed!Company!record!flower!colors!for!newhybrids.!!The!experimenters!tally!colours!on!a!clipboard!while!walking!downrows!of!plant!boxes.!!ACer!observa6ons!have!been!completed,!each!of!thethree!experimenters!keys!in!tally!totals!on!the!company’s!single!computer!forlater!analysis.!!At!the!end!of!the!day,!the!senior!experimenter!runs!a!program!tocreate!a!daily!experiment!report!and!an!updated!summary!report!on!thecurrent!experimental!work!for!herself.!!Past!informa6on!is!taken!from!thehybrid!master!file!for!this!report;!results!stored!in!the!file!are!also!updated!bythe!analysis!program.

Page 9: Data$Flow$Diagram Exercises$with solutions - …ssscsc2ab.wikispaces.com/file/view/DFD+Exercises+with+Solutions.pdf · point4of4sales!system:! Grocery!store!checkers!at!Big!Bob’s!Supermarket!use!a!scanner!that!reads

!

!Senior

Experimenter

Observed!Colours

TallyTotals

Clipboard!Detail

Update!Tallies

02SummariseDetails

01Tally

Colours

Summary!and!ExperimentInforma?onExperiment!History

Hybrid!Tally!Totals

03GenerateReports

Hybrid!Master!File

SeniorExperimenter

DailyExperimentRepor

CurrentReportSummar

Page 10: Data$Flow$Diagram Exercises$with solutions - …ssscsc2ab.wikispaces.com/file/view/DFD+Exercises+with+Solutions.pdf · point4of4sales!system:! Grocery!store!checkers!at!Big!Bob’s!Supermarket!use!a!scanner!that!reads

!

!

Exercise(5A#er!a!school!orders!copies!of!educa1onal!so#ware,!Peter!Sargent’s!first!step!isto!update!his!school!client!master!file.!!Once!the!upda1ng!is!complete,!he!runsa!program!to!create!a!summary!report!of!the!updated!school!client!master.!!Hissummary!report!goes!in!his!business!records!folder.!!Draw!a!data!flow!diagramfor!Peter’s!recordCkeeping!process!for!educa1onal!so#ware,!showing!all!theappropriate!details.

Page 11: Data$Flow$Diagram Exercises$with solutions - …ssscsc2ab.wikispaces.com/file/view/DFD+Exercises+with+Solutions.pdf · point4of4sales!system:! Grocery!store!checkers!at!Big!Bob’s!Supermarket!use!a!scanner!that!reads

!

!

SchoolOrder!Form

Clients

School!Client!Master!FileSchool!Client!Descrip6on01Update

Client!MasterFile

02Create

SummaryReport

Business!Records!Folder

Page 12: Data$Flow$Diagram Exercises$with solutions - …ssscsc2ab.wikispaces.com/file/view/DFD+Exercises+with+Solutions.pdf · point4of4sales!system:! Grocery!store!checkers!at!Big!Bob’s!Supermarket!use!a!scanner!that!reads

!

!

Page 13: Data$Flow$Diagram Exercises$with solutions - …ssscsc2ab.wikispaces.com/file/view/DFD+Exercises+with+Solutions.pdf · point4of4sales!system:! Grocery!store!checkers!at!Big!Bob’s!Supermarket!use!a!scanner!that!reads

!

!

Page 14: Data$Flow$Diagram Exercises$with solutions - …ssscsc2ab.wikispaces.com/file/view/DFD+Exercises+with+Solutions.pdf · point4of4sales!system:! Grocery!store!checkers!at!Big!Bob’s!Supermarket!use!a!scanner!that!reads

!

!