We have to submit this assignment on 10th January

1 answer below »
We have to submit this assignment on 10th January
Answered Same DayJan 07, 2021

Answer To: We have to submit this assignment on 10th January

Ximi answered on Jan 09 2021
140 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)
    Toughness
    Durability
    Type
    Age
    Plastic
    Packaging
    Weight
    Quantity
    Price
    Size
    Odour
    Bulk
Insert your list/table of key product properties here…
RecycleableItem Properties (Key)
    Type
    weight
    Quantity
    Price
Complete the class diagram of your final RecycleableItem class here…
RecycleableItem Class DiagramRecyclableItem    
type: str
quantity: int
price: int
None
RecyclingMachine Class Diagram
Complete the class diagram of your final Recycling class here…
RecyclableMachine
totalAmount int
maxWeight:float
select_product()
accept_product()
identify_product()
payment()
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 integer values from user
def get_int(prompt):
value = int(0)

while True:
try:
# prompting user for value
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