Answered Same DayDec 25, 2020

Answer To:

Ximi answered on Dec 28 2020
153 Votes
ITECH1400 – Foundations of Programming
School of Science, Engineering and Information Technology
ITECH1400 - Assignment 1 – Supermarket Self-Service Checkout
Student Name:                            Stude
nt ID:
Assignment Part 1 Details – Class Design
Insert your list/table of possible RecycleableItem properties here…
RecycleableItem Properties (All)
    Robust
    Maintenance free
    Colour
    Smell
    Material type
    Age
    Long lasting
    Weight
    Use case
    Price
    Bulk
    Eco friendly
Insert your list/table of key product properties here…
RecycleableItem Properties (Key)
    Weight
    Price
    Age
    Eco friendly
Complete the class diagram of your final RecycleableItem class here…
RecycleableItem Class DiagramRecyclableItem
Name: str
weight: int
Price: float
No methods
RecyclingMachine Class Diagram
Complete the class diagram of your final Recycling class here…
RecyclingMachine
Balance: float
accepted_items: int
MAX_WEIGHT: int
select_product()
identify_product(item)
accept_product(item_list)
payout(amount)
print_receipt()
Assignment Part 2 – Activity Flowchart
Insert your activity flowchart of the recycling machine process here… If your flowchart is large then place it on the following page.
Assignment Part 3 – Software Implementation
Do not place your code here – provide the code as separate .py files submitted with this document.
Assignment Part 4 – Code Explanation and Use
Update the below code to insert comments describing what the code is doing – for each line starting with a hash symbol (#) you should write your code comments after the hash. You may add a second line of comments if you require more space.
# Function to: accept positive money
def get_int(prompt):
# value = 0
value = int(0)
# infinite loop
while True:
try:
# converting customer feed to integer
value =...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here