Looking For Plagiarism Free Answers For Your NZ College/ University Assignments.
BUY NOWA Cloud-Based Platform “Shop Online” Is A Small Business That Sells Its Products Worldwide: Python Coding Assignment, UOA, New Zealand
University | University of Auckland (UOA) |
---|---|
Subject | Python Coding |
Programming Project
A cloud-based platform “Shop Online” is a small business that sells its products worldwide online, like Amazon or Alibaba. As a part of the software, you are required to partially develop a Stock Management program to help them boost their sales using the Python programming language.
The Stock Management program must store and manage products listed for sale. It must store each product with at least five attributes such as code, name, price, and quantity at hand as well as description, size, and color of a product depending on your chosen product.
The program must store two attributes: the code and quantity of each product along with other attributes. As code is the unique identifier, the program ensures that each product is stored with a unique code value. The program will only accept the quantity of a new product between 10 and 50 to make sure there are enough quantities available of a product for sale and also, they are not overstock as well.
Three of your selected products and their attributes should be stored in lists.
Your program must include the following functions:
1: addProduct()
Create a function addProduct() that reads and stores product information into lists. This function should allow a user to add as many products as they want to add for sale. For example, the screenshot below is to add a Book with five attributes: code, category, title, price, and quantity.
This function must show an error message if a user wants to add a new product with an existing code value. For example, the screenshot below shows an error message when a user tries to add a new product with existing code 12345.
Buy Custom Assignment & Homework Solutions
Pay to NZ Native Writers | Cheap Cost & Plag Free
Get A Free QuoteThis function must validate quantity value before accepting a new product. For example, the screenshot below shows an error message when a user tries to add a new book record with quantity value 8.
This function should allow the user to enter multiple products.
2: checkProduct()
In the same program, declare another function and call it to check product() to check if a product exists or not. It should receive an input argument (code) and return a Boolean (True or False) value. It should return true if it finds an existing product with the given code otherwise should return false.
3:searchProduct()
In the same program declare another function and call it searchProduct() to search a product by code. This function should receive an input argument (code) and it should use the check product function to ensure the product code exists before displaying the details of the product matching the given product code. For example, the screenshot below is to search a Book by code.
In Quest for a professional assignment help?
Flexible rates compatible with everyone’s budget
Get A Free QuoteThis function should continuously display an error message if a user tries to search for a product with the wrong code. For example, the screenshot below is showing an error message when a user searches a book record with the wrong code value.
4: updateProduct()
In the same program declare another function and call it to update product() to update a product. This function should receive an input argument (code) to check if the product code exists before allowing any update.
As the code is a read-only value, this function should not allow the user to update the code value.
For example, the screenshot below is to update a Book product.
5: buyProduct()
In the same program declare another function and call it a “byproduct” that will be called when a customer wants to buy a product from the store. This function must receive two arguments: code and quantity. The function should validate the product code using the check product function and should validate the quantity values before accepting them to calculate the total price.
The total price (quantity * price of the product) will include Goods and Services Tax (GST) amount as well where the GST rate is 15% of the total price. As businesses want to increase the sale of their products, they offer the following discount on full GST inclusive price:
10% discount | When a customer buys between 10 and 20 quantities of products (including the 10 but less than 20). |
20% discount | When a customer buys between 20 and 30 quantities of products (inclusive). |
30% discount | When a customer buys more than 30 quantities of a products |
After a customer buys a product, its quantity value must be updated to reflect the actual number of product quantities available for sale.
The below screenshot is to buy a book product.
Buy Custom Assignment & Homework Solutions
Pay to NZ Native Writers | Cheap Cost & Plag Free
Get A Free QuoteGet help by expert
Recent solved questions
- MBUA531: Digital Transformation Consulting Practice Assignment 1, VUW, NZ
- BUSS611: Organisational Decision-Making Skills Assignment 1, AIS, NZ
- MGMT510: Introduction to Management Dynamics Assignment 3, AIS, NZ
- DIGH701: All material presented is examinable (except where stated otherwise) by assignments and the final presentation: Principles of Digital Health and Informatics, UO, NZ
- Ative effort among the key players, such as policymakers, farmers, experts, and communities: chemistry masters lit review Research Paper, UOC, NZ
- Critically evaluate different types of business entities, such as sole traders, partnerships and companies: Bachelor of Construction Assignment, MU, NZ
- FINA501: Your friend Mary has just bought a house for $800,000 with a 20% down payment and an 80% mortgage: Finance Assignment, AUT, NZ
- FINA501: Your team is planning to invest in the four of the NZX10 stocks. Your team has $100,000 to fully invest: Finance Assignment, AUT, NZ
- FINA501: Your group is interested to learn more about one of the NZX10 stock prices and returns: Finance Assignment, AUT, NZ
- FINA501: Your team is planning to invest in the four of the NZX10 stocks. Your team has $100,000 to fully invest: Finance Assignment, AUT, NZ