Logic and Design

posted by .

What logic is used when pseudocoding compound conditions?

• Logic and Design -

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:
• This instruction sheet first
• The IPO Chart, second
• The Pseudocode, third
• 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:

Similar Questions

1. Logic and Design

I need help with pseudocode, and any help regarding forming these programs in Visual Logic would be helpful as well. Question 1: You have been asked to design the logic that will display each of the following lines to a screen. John …
2. Logic

Are there advantages of modern symbolic logic over classical logic (categorical syllogisms)?
3. cis 115

So what logic is used when pseudocoding compound conditions
4. discrete mathematics

problem has to do with three valued logic, ie the values 1, 1/2, 0 interpreted as true, unknown, and false. i need to establish the connectives for the 3 valued logic, construct truth tables for the negation, conjunction, disjunction, …
5. Program logic design

• Assignment 1: Chocolate Delights Candy Company, Part 1 Due Week 5 and worth 210 points Chocolate Delights Candy Company manufactures several types of candy. Design a flowchart using Visual Logic for the following: 1. A program …
6. Program Logic Design

create a flowchart that shows the logic for a program that generates a random number; then ask the user to think of a number between 1 and 10. The display then randomly generated number so the user can see whether his or her guess …
7. Programming Logic

How do I write case logic pseudocode and visual logic nested if-then-else flow charts for atm check balances, making remote photo capture check deposits, and perform balance transfers?
8. Programming Logic and Design

This is my 3rd time posting this problem because I didn't get any help before...assistance would be appreciated. Create the logic for a program that calculates and displays the amount of money you would have if you invested \$3000 at …
9. programming logic and design

need help on creating a logic for a program that accepts input values for the projected cost of a vacation and the number of months until vacation
10. Program Design and Development

Design a Visual Logic flowchart for a program that prompts the user to enter ten numbers one at a time. After the user has entered all ten number the program will then print out the total of those ten number and quit?

More Similar Questions