SlideShare a Scribd company logo
Object Oriented Programming 
Assignment 1 
A well-known supermarket employs you to develop an inventory control system. You 
decided implement it by Object Oriented Programming (Java) because of programs 
written by Java is easy to enhance and maintenance. 
The system will control the inventory of 3 shops (Shop 1, Shop 2, and Shop 3). 
The system has the following basic functions: 
1. Shopkeeper can use this system to update the inventory after selling a product. 
2. When the numbers of products in stock is below 10, a warning message will be 
shown. 
3. Shopkeeper can update the inventory after the delivery of goods. 
4. The selling report can be generated. 
5. The total income of a day can be displayed. 
Hints: Classes may be involved (Supermarket, Shop, Products, Reports, Cash, etc…) 
Bonus: Using Graphical interface to implement this program will have extra marks. 
The interface of this program can be downloaded at 
http://www.geocities.com/ravenyeung/hw1/hw1.zip

More Related Content

Viewers also liked

A07
A07A07
A07
lksoo
 
A01
A01A01
A01
lksoo
 
A05
A05A05
A05
lksoo
 
A04
A04A04
A04
lksoo
 
A02
A02A02
A02
lksoo
 
A06
A06A06
A06
lksoo
 
Reed lecture 2 midterm
Reed lecture 2 midtermReed lecture 2 midterm
Reed lecture 2 midterm
ShaNd Villanueva
 
41 nosso lar convocados à luta
41 nosso lar  convocados à luta41 nosso lar  convocados à luta
41 nosso lar convocados à luta
Fatoze
 

Viewers also liked (8)

A07
A07A07
A07
 
A01
A01A01
A01
 
A05
A05A05
A05
 
A04
A04A04
A04
 
A02
A02A02
A02
 
A06
A06A06
A06
 
Reed lecture 2 midterm
Reed lecture 2 midtermReed lecture 2 midterm
Reed lecture 2 midterm
 
41 nosso lar convocados à luta
41 nosso lar  convocados à luta41 nosso lar  convocados à luta
41 nosso lar convocados à luta
 

Similar to A03

stock management system.pptx-converted.pptx
stock management system.pptx-converted.pptxstock management system.pptx-converted.pptx
stock management system.pptx-converted.pptx
BhanuPratapSingh81727
 
kitchen appliances management final.pdf
kitchen appliances management  final.pdfkitchen appliances management  final.pdf
kitchen appliances management final.pdf
idontcare0086
 
Srs for ims dhavisoft
Srs for ims dhavisoftSrs for ims dhavisoft
Srs for ims dhavisoft
anuruddhsharma1
 
Listex - IdealoRama - Plexa
Listex - IdealoRama - PlexaListex - IdealoRama - Plexa
Listex - IdealoRama - Plexa
Zakhar Dikhtyar
 
Pharmacymanagement- Harish(221348092).pptx
Pharmacymanagement- Harish(221348092).pptxPharmacymanagement- Harish(221348092).pptx
Pharmacymanagement- Harish(221348092).pptx
HKShab
 
45. online sales and inventory management system
45. online sales and inventory management system45. online sales and inventory management system
45. online sales and inventory management system
Ranicafe
 
Copy of 22_Mobile Data entry.pptx
Copy of 22_Mobile Data entry.pptxCopy of 22_Mobile Data entry.pptx
Copy of 22_Mobile Data entry.pptx
MAYANKJAIN782497
 
Scom monitor datacenter
Scom   monitor datacenterScom   monitor datacenter
Scom monitor datacenter
Gary Jackson
 
ERP software architecture
ERP software architectureERP software architecture
ERP software architecture
Yuliia Makarenko
 
Project Report Of Inventory Management Software [POS]
Project Report Of Inventory Management Software [POS]Project Report Of Inventory Management Software [POS]
Stock Management System
Stock Management SystemStock Management System
Stock Management System
IRJET Journal
 
Carte blanche
Carte blancheCarte blanche
Carte blanche
Suresh Dammu
 
Magento 2 Admin Mobile App
Magento 2 Admin Mobile AppMagento 2 Admin Mobile App
Magento 2 Admin Mobile App
AppJetty
 
User_Manual
User_ManualUser_Manual
User_Manual
tutorialsruby
 
User_Manual
User_ManualUser_Manual
User_Manual
tutorialsruby
 
Magento 2 Inventory Management Extension
Magento 2 Inventory Management ExtensionMagento 2 Inventory Management Extension
Magento 2 Inventory Management Extension
AppJetty
 
IBM MobileFirst Platform v7.0 POT Analytics v1.1
IBM MobileFirst Platform v7.0 POT Analytics v1.1IBM MobileFirst Platform v7.0 POT Analytics v1.1
IBM MobileFirst Platform v7.0 POT Analytics v1.1
Banking at Ho Chi Minh city
 
Loyalty & Rewards Points Application on your mobile, iPhone, Android
Loyalty & Rewards Points Application on your mobile, iPhone, AndroidLoyalty & Rewards Points Application on your mobile, iPhone, Android
Loyalty & Rewards Points Application on your mobile, iPhone, Android
Mike Taylor
 
BEGINNERS’ GUIDE TO MAGENTO PLUGINS, EXTENSIONS, MODULES
BEGINNERS’ GUIDE TO MAGENTO PLUGINS, EXTENSIONS, MODULESBEGINNERS’ GUIDE TO MAGENTO PLUGINS, EXTENSIONS, MODULES
BEGINNERS’ GUIDE TO MAGENTO PLUGINS, EXTENSIONS, MODULES
Kuldeep Sharma
 
Visual basic
Visual basic Visual basic
Visual basic
Shabista Imam
 

Similar to A03 (20)

stock management system.pptx-converted.pptx
stock management system.pptx-converted.pptxstock management system.pptx-converted.pptx
stock management system.pptx-converted.pptx
 
kitchen appliances management final.pdf
kitchen appliances management  final.pdfkitchen appliances management  final.pdf
kitchen appliances management final.pdf
 
Srs for ims dhavisoft
Srs for ims dhavisoftSrs for ims dhavisoft
Srs for ims dhavisoft
 
Listex - IdealoRama - Plexa
Listex - IdealoRama - PlexaListex - IdealoRama - Plexa
Listex - IdealoRama - Plexa
 
Pharmacymanagement- Harish(221348092).pptx
Pharmacymanagement- Harish(221348092).pptxPharmacymanagement- Harish(221348092).pptx
Pharmacymanagement- Harish(221348092).pptx
 
45. online sales and inventory management system
45. online sales and inventory management system45. online sales and inventory management system
45. online sales and inventory management system
 
Copy of 22_Mobile Data entry.pptx
Copy of 22_Mobile Data entry.pptxCopy of 22_Mobile Data entry.pptx
Copy of 22_Mobile Data entry.pptx
 
Scom monitor datacenter
Scom   monitor datacenterScom   monitor datacenter
Scom monitor datacenter
 
ERP software architecture
ERP software architectureERP software architecture
ERP software architecture
 
Project Report Of Inventory Management Software [POS]
Project Report Of Inventory Management Software [POS]Project Report Of Inventory Management Software [POS]
Project Report Of Inventory Management Software [POS]
 
Stock Management System
Stock Management SystemStock Management System
Stock Management System
 
Carte blanche
Carte blancheCarte blanche
Carte blanche
 
Magento 2 Admin Mobile App
Magento 2 Admin Mobile AppMagento 2 Admin Mobile App
Magento 2 Admin Mobile App
 
User_Manual
User_ManualUser_Manual
User_Manual
 
User_Manual
User_ManualUser_Manual
User_Manual
 
Magento 2 Inventory Management Extension
Magento 2 Inventory Management ExtensionMagento 2 Inventory Management Extension
Magento 2 Inventory Management Extension
 
IBM MobileFirst Platform v7.0 POT Analytics v1.1
IBM MobileFirst Platform v7.0 POT Analytics v1.1IBM MobileFirst Platform v7.0 POT Analytics v1.1
IBM MobileFirst Platform v7.0 POT Analytics v1.1
 
Loyalty & Rewards Points Application on your mobile, iPhone, Android
Loyalty & Rewards Points Application on your mobile, iPhone, AndroidLoyalty & Rewards Points Application on your mobile, iPhone, Android
Loyalty & Rewards Points Application on your mobile, iPhone, Android
 
BEGINNERS’ GUIDE TO MAGENTO PLUGINS, EXTENSIONS, MODULES
BEGINNERS’ GUIDE TO MAGENTO PLUGINS, EXTENSIONS, MODULESBEGINNERS’ GUIDE TO MAGENTO PLUGINS, EXTENSIONS, MODULES
BEGINNERS’ GUIDE TO MAGENTO PLUGINS, EXTENSIONS, MODULES
 
Visual basic
Visual basic Visual basic
Visual basic
 

More from lksoo

Lo48
Lo48Lo48
Lo48
lksoo
 
Lo43
Lo43Lo43
Lo43
lksoo
 
Lo39
Lo39Lo39
Lo39
lksoo
 
Lo37
Lo37Lo37
Lo37
lksoo
 
Lo27
Lo27Lo27
Lo27
lksoo
 
Lo17
Lo17Lo17
Lo17
lksoo
 
Lo12
Lo12Lo12
Lo12
lksoo
 
T3
T3T3
T3
lksoo
 
T2
T2T2
T2
lksoo
 
T1
T1T1
T1
lksoo
 
T4
T4T4
T4
lksoo
 
P5
P5P5
P5
lksoo
 
P4
P4P4
P4
lksoo
 
P3
P3P3
P3
lksoo
 
P1
P1P1
P1
lksoo
 
P2
P2P2
P2
lksoo
 
L10
L10L10
L10
lksoo
 
L9
L9L9
L9
lksoo
 
L8
L8L8
L8
lksoo
 
L7
L7L7
L7
lksoo
 

More from lksoo (20)

Lo48
Lo48Lo48
Lo48
 
Lo43
Lo43Lo43
Lo43
 
Lo39
Lo39Lo39
Lo39
 
Lo37
Lo37Lo37
Lo37
 
Lo27
Lo27Lo27
Lo27
 
Lo17
Lo17Lo17
Lo17
 
Lo12
Lo12Lo12
Lo12
 
T3
T3T3
T3
 
T2
T2T2
T2
 
T1
T1T1
T1
 
T4
T4T4
T4
 
P5
P5P5
P5
 
P4
P4P4
P4
 
P3
P3P3
P3
 
P1
P1P1
P1
 
P2
P2P2
P2
 
L10
L10L10
L10
 
L9
L9L9
L9
 
L8
L8L8
L8
 
L7
L7L7
L7
 

Recently uploaded

Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
paigestewart1632
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
sayalidalavi006
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 

Recently uploaded (20)

Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 

A03

  • 1. Object Oriented Programming Assignment 1 A well-known supermarket employs you to develop an inventory control system. You decided implement it by Object Oriented Programming (Java) because of programs written by Java is easy to enhance and maintenance. The system will control the inventory of 3 shops (Shop 1, Shop 2, and Shop 3). The system has the following basic functions: 1. Shopkeeper can use this system to update the inventory after selling a product. 2. When the numbers of products in stock is below 10, a warning message will be shown. 3. Shopkeeper can update the inventory after the delivery of goods. 4. The selling report can be generated. 5. The total income of a day can be displayed. Hints: Classes may be involved (Supermarket, Shop, Products, Reports, Cash, etc…) Bonus: Using Graphical interface to implement this program will have extra marks. The interface of this program can be downloaded at http://www.geocities.com/ravenyeung/hw1/hw1.zip