Instructions
Objective
Write a python assignment program to work flowcharts and pseudo codes.
Requirements and Specifications
Instructions
Week 7 Assignment: Pseudocode and Flowchart Solution
Instructions:
Create a PowerPoint that contains a FLOWCHART and a PSEUDOCODE for each problem (You may use a different application if PowerPoint is not available).
Use the information below to create a 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. Use Microsoft PowerPoint® for Pseudocode and the flowchart (You may use a different application if PowerPoint is not available)..
- Problem 1: Create a list that contains a shopping list only (do not include the the number of the item as part of list) from a super market
- Problem 2: Create a loop to print the shopping list numbered.
C Consider using the attached enumerate method to help!
Ju for clarity, write the pseudocodes and the flowchart. Use the Python List to list the items. Write another set of commands to print the list using pseudocodes and flowchart only in WK 7. In WK8, you will write the actual codes.
Assignment Rubric:
ASSESSMENT RUBRIC | ACCOMPLISHED | DEVELOPING | BEGINNING | POINTS AVAILABLE | POINTS EARNED | COMMENTS |
Write the pseudocodes describing how to calculate for Problem 1. | Student effectively completed the assignment. | Student partially completed the assignment. | Student failed to complete the assignment. | 20 | 20 | |
Create a flowchart illustrating how to program Problem 1. | Student effectively completed the assignment. | Student partially completed the assignment. | Student failed to complete the assignment. | 20 | 20 | |
Write the pseudocodes describing how to calculate for Problem 2. | Student effectively completed the assignment. | Student partially completed the assignment. | Student failed to complete the assignment. | 20 | 20 | |
Create a flowchart illustrating how to program Problem 2. | Student effectively completed the assignment. | Student partially completed the assignment. | Student failed to complete the assignment. | 20 | 20 | |
Write appropriate comments on the symbols in the flowchart. | Student effectively completed the assignment. | Student partially completed the assignment. | Student failed to complete the assignment. | 20 | 20 | |
Total | 100 | 100 |
Submission Instructions:
************
Create pseudocode and flowchart (using Microsoft PowerPoint) for the problems above. Upload here for grading.
Make sure each submission is labeled with the following:
Your Name
Course Name, Section (example: ENTD200 B002 Spr15)
Instructor name
Week #
Date completed
Source Code
def main():
"""
Problem 1
"""
# Create a list with items
items = [
["Ground Beef (1 kg)", 3.99],
["Box of cookies", 0.99],
["Beer Six pack", 5.49],
["Bottle of wine", 9.99],
["Pepsi (1 L)", 0.49],
["Pineapple", 1.0],
["Shampoo", 0.59]
]
"""
Problem 2
# Now, display items with their ids, name and price
print("{:<10s} {:>20s} {:>25s}".format("Id", "Name", "Price ($)"))
for idx, item in enumerate(items):
print("{:<10d} {:>20s} {:>25.2f}".format(idx, item[0], item[1]))
if __name__ == '__main__':
main()
Related Samples
See our free Python assignment samples for clarity. These samples offer detailed solutions and practical examples, making it easier to tackle complex Python topics. Whether you're working on loops, data structures, or advanced algorithms, our samples provide the guidance you need to succeed in your assignments. Access these valuable resources and navigate your Python coursework with confidence.
Python
Python
Python
Python
Python
Python
Python
Python
Python
Python
Python
Python
Python
Python
Python
Python
Python
Python
Python
Python