0% found this document useful (0 votes)
122 views12 pages

Team Software Development Project: Steps in Programming Development PRG 210

This document outlines the steps for team software development projects. It discusses fundamentals of programming like algorithms, pseudocode, and simple program design. It then provides an example of defining a solution algorithm by outlining its inputs, processing logic, and output. It includes a desk check table to test the algorithm. Finally, it lists references used.

Uploaded by

Tamptress Vamp
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
122 views12 pages

Team Software Development Project: Steps in Programming Development PRG 210

This document outlines the steps for team software development projects. It discusses fundamentals of programming like algorithms, pseudocode, and simple program design. It then provides an example of defining a solution algorithm by outlining its inputs, processing logic, and output. It includes a desk check table to test the algorithm. Finally, it lists references used.

Uploaded by

Tamptress Vamp
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 12

1

TEAM SOFTWARE
DEVELOPMENT
PROJECT

Steps In Programming Development PRG 210


Team Software Development Project
2

 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

 Define the problem


 Outline the solution
 Develop the outline into an algorithm
 Test the algorithm for correctness
 Code the algorithm into a programming
language
 Run the program on computer
 Document and maintain the program
FUNDAMENTALS OF
PROGRAMMING
4

Algorithms

 Defining the problem


 First step is to introduce method of
analyzing a problem and
developing a solution
 Second develop simple algorithms
using the sequence control
structure
 Third introduce methods of
manually checking the developed
solution
Pseudocode
5

Statements are written in simple English.

Each instruction is written on a separate line.

Keywords and indentation are used to signify particular


control structures.

Each set of instructions is written from top to bottom with


only 1 entry and 1 exit.

Groups of statements may be formed into modules and


that group can be given a name
Simple Program Design
6

Six basic computer operations


 Read
 Get
 Print
 Write
 Put
 Output / Display
The Solution Algorithm including Inputs,
Processing Logic, and Output
7

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

Solution Algorithm (Inputs)

GET leaded_gas_option, attendant_pumps_gas, customer_pumps_gas,


gas_n_go_option
READ leaded_gas_price, unleaded_gas_price, federal_gas_tax_leaded,
federal_gas_tax_unleaded, state_sales_tax, gas_n_go_charge,
full_service_charge, number_of_gallons_purchased 
The Solution Algorithm including Inputs,
Processing Logic, and Output
9 Solution Algorithm (Processing Logic)
IF leaded_gas_option is Y THEN
total_federal_gas_tax = federal_gas_tax_leaded *
number_of_gallons_purchased
ELSE
total_federal_gas_tax = federal_gas_tax_unleaded *
number_of_gallons_purchased
ENDIF

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

total_gas_charges = (gas_charges_no_tax * state_sales_tax) +


total_federal_gas_tax

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

Solution Algorithm (Output)

  PRINT ‘TOTAL GAS CHARGES = ‘ total_gas_charges


PRINT ‘TOTAL SERVICE CHARGES = ‘ total_service_charges
PRINT ‘TOTAL PAYMENT DUE = ‘ total_gas_charges +
total_service_charges
The Desk Check Table Chart
11

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

Assembly language. (2009). In Merriam-Webster Online Dictionary.


Retrieved October 25, 2009, from http://www.merriam-
webster.com/dictionary/assembly language
Computer Hope . (2009). High-level language. Retrieved from
http://www.computerhope.com/jargon/h/highll.htm
Machine language . (2009). In Merriam-Webster Online Dictionary.
Retrieved October 25, 2009, from http://www.merriam-
webster.com/dictionary/machine language
PRG210 Syllabus. Retrieved October 6, 2009, from Course Syllabus:
http://classroom.phoenix.edu/afm214/secure/view- thread.jspa?
threadID=15155934
Robertson, L. (2007). Simple Program Design. A Step by Step Approach (Fifth ed.).
Retrieved October 14, 2009 from University of Phoenix eBook Collection.
University of Phoenix. (2009). Simple Program Design. A Step by Step Approach,.
Retrieved from University of Phoenix, PRG 210 FUNDAMENTALS OF
PROGRAMMING WITH ALGORITHMS AND LOGIC website. Hill, E.
(2009).

You might also like