Team Software Development Project: Steps in Programming Development PRG 210
Team Software Development Project: Steps in Programming Development PRG 210
TEAM SOFTWARE
DEVELOPMENT
PROJECT
Cover Slide
Title
Steps In Programming Development
Fundamentals of Programming
Pseudocode
Simple Program Design
The Solution Algorithm Defining Diagram
The Solution Algorithm Inputs
The Solution Algorithm Processing Logic
The Solution Algorithm Output
Desk Check
References
Steps in Program Development
3
Algorithms
Defining Diagram
Input Processing Output
Customer Options (Boolean) Prompt for Customer PRINT total gas charges
leaded_gas_option Options PRINT total service
attendant_pumps_gas GET Customer Options charges
customer_pumps_gas READ Pre-Entered Data and PRINT total payment due
gas_n_go_option Number of Gallons
Pre-Entered Data (Real) Purchased
leaded_gas_price Calculate federal tax
unleaded_gas_price Calculate gas charges
federal_gas_tax_leaded Calculate total gas charges
federal_gas_tax_unleaded including taxes
state_sales_tax Calculate service charges
gas_n_go_charge
full_service_charge
number_of_gallons_purchased
total_gas_charges_no_tax
total_federal_gas_tax
total_gas_charges
The Solution Algorithm including Inputs,
Processing Logic, and Output
8
IF leaded_gas_option is Y THEN
total_gas_charges_no_tax = leaded_gas_price *
number_of_gallons_purchase
ELSE
total_gas_charges_no_tax = unleaded_gas_price *
number_of_gallons_purchased
ENDIF
IF customer_pumps_gas = Y THEN
total_service_charges = 0
ELSE
IF attendant_pumps_gas = Y
AND gas_n_go_option = Y THEN
total_service_charges = gas_n_go_charge
ELSE
total_service_charges = full_service_charge
ENDIF
ENDIF
The Solution Algorithm including Inputs,
Processing Logic, and Output
10
Statement # total_federal_ga total_gas_charge total gas charges total_service_ch total payment leaded_gas_opti
s_tax s_no_tax arges due on
First Pass
1 1.00 false
2 45.00 false
3 48.25
4 2.00
5 50.25
Second Pass
1 1.20 true
2 48.00 true
3 51.60
4 0.00
5 51.60
References
12