Midterm Exam Solution Key COP 4331 and EEL

  • Slides: 4
Download presentation
Midterm Exam Solution Key COP 4331 and EEL 4884 OO Processes for Software Development

Midterm Exam Solution Key COP 4331 and EEL 4884 OO Processes for Software Development © Dr. David A. Workman School of EE and Computer Science University of Central Florida October 20, 2007 December 3, 2004 (c) Dr. David Workman

Fall 2007 Miderm Exam Problem 5 (15 pts) Fans (1 pt Each Process) (1

Fall 2007 Miderm Exam Problem 5 (15 pts) Fans (1 pt Each Process) (1 pt Each External Interface) (1 pt for Store) (5 pts for Data Flows) Fans (Exhausted Satiated w/o Money w/o Tickets) Fans ( Excited Hungry w Money & Tickets) 4. 0 Discard Trash & Leave Game 1. 0 Take Tickets Excited Fans w/o Tickets And Hungry w Money Food & Beverage Suppliers Food & Beverages & Packaging Materials 2. 0 Buy Food & Beverage Armored Carriers w/o Cash December 3, 2004 Trash Collection Exhausted Fans w/o Tickets Satiated & w/o Money Excited Fans w/o Tickets, w Food & w/o Money 3. 0 Eat Food & Watch Game Bagged Trash Loose Trash Containers Loose Trash 5. 0 Clean Stadium & Bag trash Armored Carriers w Cash Banks & Financial Institutions (c) Dr. David Workman 2

Fall 2007 Miderm Exam Problem 6 (20 pts) (1 pt Each Class/Object with proper

Fall 2007 Miderm Exam Problem 6 (20 pts) (1 pt Each Class/Object with proper relations) (3 extra points for relations) Pay particular attention to Gen/Spec relations, Composition and Aggregation (Container) Associations are not as important, But if they make no attempt to define any associations, take off a pt or two. Consumable Personnel Sell Eat & Drink Fan 1 hold Beverage 1 Food Ticket Custodian Vendor discards Provides Food & Beverage Services in Trash. Can Player cleans 1. . * Official Play Game, Or Entertain Fans in Stadium Enforce Game Rules in 1. . * Beer Pizza Hot Dog Trash Dumptser Watch game and eat in December 3, 2004 (c) Dr. David Workman 3

Miderm Exam Problem 7 (15 pts) 2 pts each correct Action. 3 pts for

Miderm Exam Problem 7 (15 pts) 2 pts each correct Action. 3 pts for correct use of fork, join, or conditional logic Fall 2007 Fan Enters Order Queue And Waits For Service Select Fan To be Served Fan Pays For Order Delivered to Fan Gives Food Order Vendor Prepares Order December 3, 2004 (c) Dr. David Workman 4