ITC558 Programming Principles - Assessment 1 and 2 - Simple Program and Testing

Task

The owner of a local shop provides delivery services to the local community. He wants to develop a program to calculate the cost of delivery for his customers. For this project, the store owner has employed you to write a program in Python that will ask a user to enter the purchase total, the number of the items that need to be delivered and delivery day. Then the
system displays the cost of delivery along with the total cost.

The delivery charges depend on the purchase total (need to be above $150), the number of items that need to be delivered and delivery day.

Task 1

Draw a flowchart that presents the steps of the algorithm required to perform the task specified. Here are links to some free drawing tools

• https://www.draw.io/
• www.lucidchart.com
• http://dia-installer.de/
• https://pencil.evolus.vn/

Task 2

Select at least three sets of test data that will demonstrate the 'normal' operation of your program; that is, test data that will demonstrate what happens when a VALID input is entered. Select at least two sets of test data that will demonstrate the 'abnormal' operation of your program.

Set it out in a tabular form as follows. It is important that the output listings (i.e., screenshots) are not edited in any way.

Task 3

Implement your algorithm in Python. Comment on your code as necessary to explain it clearly. Run your program using the test data you have selected and complete the final column of the test data table above.

Your submission will consist of:

1. Your algorithm through Flowchart/s
2. The table recording your chosen test data and results
3. Source code for your Python implementation

Order Now