bcsvfbvkjcfnvdfdfvfdmm

1 answer below »
bcsvfbvkjcfnvdfdfvfdmm
Answered Same DayJan 04, 2021ITECH1400

Answer To: bcsvfbvkjcfnvdfdfvfdmm

Ximi answered on Jan 05 2021
143 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)
    Size
    Weight
    Plasticity
    Biodegrade
    strength
    durable
    Long lasting
    Cost
    dimension
    Quantity
    Type
    Lifetime
Insert your list/table of key product properties here…
RecycleableItem Properties (Key)
    Size
    Weight
    Cost
    Type
Complete the class diagram of your final RecycleableItem class here…
RecycleableItem Class DiagramRecyclableItem
Price:float
Qty:int
Type:str
NA
RecyclingMachine Class Diagram
Complete the class diagram of your final Recycling class here…
RecyclingMachine
Balance: float
__init__()
select_product()
accept_product()
identify_product()
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: get int
def get_int(prompt):
# value is equal to zero
value = int(0)
# looping infinitely
while True:
try:
# taking input from the user
value = int(input(prompt))
# dont accept negative value
if value < 0:
print("We...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here