PDF Archive

Easily share your PDF documents with your contacts, on the Web and Social Networks.

DEVRY CIS 115 Week 4 Exercise .pdf

Original filename: DEVRY CIS 115 Week 4 Exercise.pdf
Author: LENOVO

This PDF 1.5 document has been generated by Microsoft® Office Word 2007, and has been sent on pdf-archive.com on 07/03/2017 at 04:21, from IP address 43.224.x.x. The current document download page has been viewed 334 times.
File size: 200 KB (2 pages).
Privacy: public file

Document preview

DEVRY CIS 115 Week 4 Exercise

Check this A+ tutorial guideline at
http://www.cis115assignment.com/cis115/cis-115-week-4-exercise
For more classes visit

http://www.cis115assignment.com
TCO #4 – Given a simple business problem that requires one or more decisions,
create a solution algorithm that uses decisions with logical and relational
expressions.

TCO #9 – Given a program with logic errors that is intended as a solution to a simple
business problem, employ debugging diagnostics to remove and correct the errors.

Assignment: You will need to design an application that will receive the weight of a
parcel and calculate and display the cost per kg and the delivery charge for that
parcel. Calculate the charges using the following data:
Parcel Weight (kg) Cost per kg (\$)
&lt; 2.5="" kg="" \$3.50="" per="" kg=""&gt;
2.5 to 5 kg \$2.85 per kg
&gt; 5kg \$2.45 per kg
Make sure that the weight entered is a positive number, otherwise your program
should display an error message and end. Test your algorithm with the following
THREE sets of data:
Test case 1: package weight of 2 kg
Test case 2: package weight of 5 kg
Test case 3: package weight of 6 kg
Rubric:
When completed staple the following documents together neatly in 1,2,3,4 order:
1) This instruction sheet first
2) The IPO Chart, second
3) The Pseudocode, third
4) The Flowchart and output example last.

Point distribution for this application:
Parcel Charges
Document:
Points possible:
IPO Chart
5
Pseudocode
5
Flowchart and output
10
Total Points
20
IPO Chart:
Input
Processing
Output
Pseudocode:
Begin parcelCharges
End
Flowchart:
Example Output after execution: