Getting Started with Documenting your Program
This assignment will assess your basic knowledge and use of flowcharts. While there are a number of different symbols to support building a flowchart, use the attached basic flowchart symbols.
Create a one PPT document to include the following:
Create a FLOWCHART and pseudo code for the problem below!
Use the information below to solve the problem using flowchart symbols to illustrate how you would complete your program. You may use Microsoft PowerPoint for your flowchart Make sure that you understand the requirements below. We are going to use this assignment as a starting point and we are going to add to it in the next weeks.
You are going to shop in the supermarket near you. You need to calculate the total expenses (what you purchased from the supermarket plus commuting expenses).
This week you are going to purchase ONE item only.
Build a flowchart to calculate total expenses, given the shopper name, shopping date supermarket name, item name, item price, quantity (The formula to calculate the total is Total = Item price * Quantity.) Display shopper name, shopping date, supermarket name, item name, price, and total. (Do not add any features such as taxes, discount, )
Add commute expense and type such as taxi fee, bus, your own car, and so on.
Use your own values to test the flow. The values should not be part of the flowchart. The flowchart is a blueprint for any programming language and for a wide range of input values. Use variable names that are related to the task.
Sample output: (receipt)
Shopper name: Ymmas Azaba
Apus food store
2/20/2020
Item Price Quantity Total
Banana 1.05 2 2.10
Commute expense
Commute type: Taxi Fee: 5.00
Total expenses 7.10
Your code must include the comment block. The comment block is a comment and not part of the code
"""
Your Name:
Course Name: Section (example: ENTD200 B002 Spr15)
Instructor Name:
Week #:
Date completed:
Note: how to run the program you created such as
>py mycode.py
"""
Getting Started Coding with Python
You will complete this assignment in Python 3.x. Make sure you have downloaded the software and it is installed correctly.
Download Python:
You should download the Python programming language editor and compiler.
You must review the attachments to know how to create a Python program
You need to create a Python program based on Part 1 assignment requirements.
You are allowed to hard code the values in this assignment or use input() function
Example:
name = "Sambaz" # hard coded value
name = input("What is your name")
Use simple coding, do not use function def. You need to submit the output of your code. I will accept an image or text.
You will code the following and submit it in one file. Use the information in the Content area for this week to assist you. Save it as a python file (.py),
Pseudocode and Flowchart Solution.
Create a FLOWCHART and a PSEUDOCODE for each problem.
Use the information below to create pseudocode (which can be a text-based description for solving the problems) and a flowchart (using flowchart symbols to illustrate how you would program) to solve each problem. You may use Microsoft Word for your pseudocode and Microsoft PowerPoint for your flowchart.
1. Problem:
Create a flowchart and pseudocode to do the following:
You are going to modify the Part 2 assignment to use the input() function (no hardcoded values) to prompt the user to enter the values.
Make sure the prompt message is meaningful, do not say "Enter value", say something like this "Enter item name " after you get all the inputs, display the results and prompt the user if wants more calculation (y/n). If no then print a message like "Thank you for ."
The flowchart must include a loop, if-then, and the total expenses.
Create a document with one pseudocode and one flowchart (using Microsoft PowerPoint or Word) for the problem above.