SlideShare a Scribd company logo
1 of 3
CIS115 Week 4 Parcel Charges Pseudocode,
IPO and Flowchart in visual Logic with
output
Click this link to get the tutorial:
http://homeworkfox.com/tutorials/computer-
science/4752/cis115-week-4-parcel-charges-pseudocode-ipo-
and-flowchart-in-visual-logic-with-output/
Week 4 Activity – Parcel Charges



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 ($)

< 2.5 kg $3.50 per kg

2.5 to 5 kg $2.85 per kg

> 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:

Points received

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:

More Related Content

Viewers also liked

Slow medicine startbijeenkomst
Slow medicine startbijeenkomstSlow medicine startbijeenkomst
Slow medicine startbijeenkomstSven Thorissen
 
Ajatusjohtajuus ja miksi b2 b on nyt b&b
Ajatusjohtajuus ja miksi b2 b on nyt b&bAjatusjohtajuus ja miksi b2 b on nyt b&b
Ajatusjohtajuus ja miksi b2 b on nyt b&bAidaCon1
 
Sir - Intelligent search via i devices
Sir - Intelligent search via i devicesSir - Intelligent search via i devices
Sir - Intelligent search via i devicesMaksym Hontar
 
Tim burton and psychology
Tim burton and psychologyTim burton and psychology
Tim burton and psychologyJLew1979
 
A very easy explanation to understanding machine learning (Supervised & Unsup...
A very easy explanation to understanding machine learning (Supervised & Unsup...A very easy explanation to understanding machine learning (Supervised & Unsup...
A very easy explanation to understanding machine learning (Supervised & Unsup...Ryo Onozuka
 

Viewers also liked (7)

Slow medicine startbijeenkomst
Slow medicine startbijeenkomstSlow medicine startbijeenkomst
Slow medicine startbijeenkomst
 
Ajatusjohtajuus ja miksi b2 b on nyt b&b
Ajatusjohtajuus ja miksi b2 b on nyt b&bAjatusjohtajuus ja miksi b2 b on nyt b&b
Ajatusjohtajuus ja miksi b2 b on nyt b&b
 
Sir - Intelligent search via i devices
Sir - Intelligent search via i devicesSir - Intelligent search via i devices
Sir - Intelligent search via i devices
 
Evaluation model
Evaluation modelEvaluation model
Evaluation model
 
David guetta
David guettaDavid guetta
David guetta
 
Tim burton and psychology
Tim burton and psychologyTim burton and psychology
Tim burton and psychology
 
A very easy explanation to understanding machine learning (Supervised & Unsup...
A very easy explanation to understanding machine learning (Supervised & Unsup...A very easy explanation to understanding machine learning (Supervised & Unsup...
A very easy explanation to understanding machine learning (Supervised & Unsup...
 

Cis115 week 4 parcel charges pseudocode

  • 1. CIS115 Week 4 Parcel Charges Pseudocode, IPO and Flowchart in visual Logic with output Click this link to get the tutorial: http://homeworkfox.com/tutorials/computer- science/4752/cis115-week-4-parcel-charges-pseudocode-ipo- and-flowchart-in-visual-logic-with-output/ Week 4 Activity – Parcel Charges 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 ($) < 2.5 kg $3.50 per kg 2.5 to 5 kg $2.85 per kg > 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:
  • 2. 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: Points received IPO Chart 5 Pseudocode 5 Flowchart and output 10 Total Points 20 IPO Chart: Input Processing Output