logo

ITECH1400 – Foundations of Programming

Design and program a text-based Recycling Machine using Python 3.

7 Pages1303 Words94 Views
   

Added on  2023-04-19

About This Document

This document is an assignment for ITECH1400 – Foundations of Programming. It includes details about the assignment, class design, class diagrams, activity flowchart, software implementation, code explanation, and use. The assignment focuses on creating a supermarket self-service checkout system using Python programming language.

ITECH1400 – Foundations of Programming

Design and program a text-based Recycling Machine using Python 3.

   Added on 2023-04-19

ShareRelated Documents
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)
Item name Size Body Manufactured Date
Price Usage purpose Hazardous status Weight
Recycle process
Insert your list/table of key product properties here...
RecycleableItem Properties (Key)
Item name Price Body Hazardous status
Complete the class diagram of your final RecycleableItem class here...
RecycleableItem Class Diagram
__init__(
name,price,body,hazardous) :
Name: string
Price: double
Body: string
Hazardous: string
Numbers: integer
RecycleableItem
CRICOS Provider No. 00103D Page 1 of 7
ITECH1400 – Foundations of Programming_1
ITECH1400 – Foundations of Programming
School of Science, Engineering and Information Technology
RecyclingMachine Class Diagram
Complete the class diagram of your final Recycling class here...
RecyclingMachine
Items [ ] : Recyclableitem
Payment: double
Limit: integer
setup_product(name,price,body,hazardous)
validate(product): integer
new_cust()
accept_product(product,qty)
select_product(self)
payout(self, anAmount)
print_receipt(self)
CRICOS Provider No. 00103D Page 2 of 7
ITECH1400 – Foundations of Programming_2
ITECH1400 – Foundations of Programming
School of Science, Engineering and Information Technology
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.
CRICOS Provider No. 00103D Page 3 of 7
ITECH1400 – Foundations of Programming_3

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Big Data Characteristics, Tools and Applications - ITECH 2201 Cloud Computing
|8
|1913
|494

Big Data Workbook for Week 6 - ITECH 2201 Cloud Computing
|10
|3514
|434