13
Gas Pump Program Proposal Team C PRG211 University of Phoenix April 22, 2013 Jiming Liu

Gas pump program final Pptx

Embed Size (px)

DESCRIPTION

 

Citation preview

  • 1. Gas Pump Program Proposal Team C PRG211 University of Phoenix April 22, 2013 Jiming Liu

2. Presentation Index Our purpose Program Benefits Software Development Life Cycle Program Description and Design Top-LevelAlgorithm Pseudocode DemonstrationVideo Program Functionality Assurance Presentation Summary 3. Our Purpose To provide GilbarcoVeeder-Root with a state of the art computer program to be implemented with their new, top of the line gasoline pumps. 4. Program Benefits Less time spent at the pump Removes risk of gas theft Better customer service Payment convenience 5. Software Development Life Cycle Analysis Problem Statement DefiningTable Design Top-Level Algorithm Pseudocode Implementation Language Debugging Maintenance Frequent Updates as gas price changes 6. Program Description and Design Welcome Statement Gas type Pump gas Calculate Pre Tax Charges Calculate Federal Gas Tax Calculate Total Sale Calculate Sales Tax Service Request Service Option 7. Top-Level Algorithm Input Data Module Processing Module Output Result Module Prompt User For: SelectedGasType SelectedServiceType GasTypePremium GasTypeRegular ServiceChargeGasNGo ServiceChargeFull 1. If (SelectedGasType=Premium and SelectedServiceType=Full) Than Set PurchaseAmt=GasTypePremium + ServiceChargeFull Else If (SelectedGasType=Premium and SelectedServiceType=GasNGo) Than PurchaseAmt=GasTypePremium + ServiceChargeGasNGo Else If (SelectedGasType=Regular and SelectedServiceType=Full) Than PurchaseAmt=GasTypeRegular + ServiceChargeFull Else If (SelectedGasType=Regular and SelectedServiceType=GasNGo) Than PurchaseAmt=GasTypeRegular + ServiceChargeGasNGo Else If (SelectedGasType=Premium and SelectedServiceType=None) Than PurchaseAmt=GasTypePremium Else If (SelectedGasType=Regular and SelectedServiceType=None) Than PurchaseAmt = GasTypeRegular Else Print User input error. Please see attendant 2. Set SubTotal=PurchaseAmt * StateSalesTax 3. Set TotalPrice=SubTotal + (FedGasTax * PurchaseAmt) Write out: GallonsPumped PurchaseAmt TotalPrice 8. Pseudocode *roll mouse over black screen for video controls 9. Desk Check Program Functionality Assurance *roll mouse over black screen for video controls 10. DemonstrationVideo *roll mouse over black screen for video controls 11. Presentation Summary Purpose Benefits Design Function 12. Graphic 1 http://gas-mileage.com/wp- content/themes/thesis_16/custom/rotator/vintage-gas-sign.jpg Graphic 2 http://www.ineedhits.com/free-tools/blog/uploaded_images/ggass1- 725349.jpg Graphic 3 http://www.rfidarena.com/media/12946/shutterstock_110300795- girl-filling-up-tank.jpg Graphic 4 http://www.spanish-only.com/wp- content/uploads/2011/11/tools1.png Graphic 5 http://ethicstechnologyandsociety.files.wordpress.com/2011/06/gas_pump.jpg Graphic 6 http://microsoft.com/clipart Graphical Resources 13. Content References Bohl, M., & Ryann, M. (2008).Tools for structured and object- oriented design: An introduction to programming logic (7th ed.). Upper Saddle River, NJ: Pearson Prentice Hall Crews,T., & Murphy, C. (2009). A guide to working withVisual Logic. Boston, MA: Cengage Learning. Drake, E., &Venit, S. (2011). Prelude to programming: Concepts and design (5th ed.). Boston, MA: Addison-Wesley. Gaddis,T. (2013). Starting out with programming logic and design (3rd ed.). Boston, MA: Addison-Wesley.