vcxfcviybnvhhfvb

1 answer below »
vcxfcviybnvhhfvb
Answered Same DayJan 07, 2021

Answer To: vcxfcviybnvhhfvb

Ximi answered on Jan 09 2021
144 Votes
ITECH1400 – Foundations of Programming
School of Science, Engineering and Information Technology
ITECH1400 - Assignment 1 – Supermarket Self-Service Checkout
Student Name:        
                    Student ID:
Assignment Part 1 Details – Class Design
Insert your list/table of possible RecycleableItem properties here…
RecycleableItem Properties (All)
    Reusable
    Environment friendly
    Strong
    durable
    age
    cost
    qty
    Reliable
    Weight
    size
    Toxicity
    quality
Insert your list/table of key product properties here…
RecycleableItem Properties (Key)
    size
    weight
    qty
    Price
Complete the class diagram of your final RecycleableItem class here…
RecycleableItem Class DiagramRecyclableItem    
name: str
qty: int
Price: int
NA
RecyclingMachine Class Diagram
Complete the class diagram of your final Recycling class here…
RecyclableMachine
Balance: float
select_product()
accept_product()
identify_product()
return_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: get payment
def get_int(prompt):
# setting value to 0
value = int(0)
# infinite loop
while True:
try:
# user input
value = int(input(prompt))
...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here