Stock Management Assignment
Order ID:89JHGSJE83839 Style:APA/MLA/Harvard/Chicago Pages:5-10 Instructions:
Stock Management Assignment
Assignment 1
Stock Management
The goal here is to write some software that would assist a retail store manage their stock levels. The assignment will get progressively more complex as it proceeds – the early stages will be reasonable straight forward and will be sufficient for a passing grade, and the more advanced stages are for those who wish to go further and target a higher overall result.
General Requirements
All assignments should be written in Python 3 and should run in IDLE. They can be written on any type of computer, but they should be able to be executed in the computer pool.
The highest marks will be for working code. However, in cases where there are problems, you will be assigned marks for how you approached the task. It is also expected that you will provide comments in the programs to explain how it works, and these comments will account for up to 10% of the overall grade.
In each case example output is given. You should try and make your output and process match the example as closely as possible.
Stage 1: Data Entry
Stock Management Assignment
Write a program which requests that requests a product name and a stock number. Store that data in a List or a Dictionary. After the user has entered data, request that the user enters Y or N to continue. If they enter N, print the list of products and stock numbers to the screen. If they enter Y, repeat the first step.
Your program should produce the following result:
************************* Stock Manager ************************* Product Name: Widgets Stock Level: 14 Widgets has been entered with a stock of 14 products. Do you wish to enter another record? (Y/N) Y Product Name: Fidgets Stock Level: 22 Fidgets has been entered with a stock of 22 products. Do you wish to enter another record? (Y/N) N ————————- Product Stock ————————- Widgets 14 Fidgets 22 ————————-
Stage 2: Validation and Totals
Building on stage 1, you now need to ensure that the program checks for valid entries in each case, and converts the text to the appropriate format.
You need to:
Stock Management Assignment
- Ensure that a stock number and product name were entered, If any of these were not entered, do not record that item and go straight to asking if they wish to continue.
- Ensure that the user enters either “Y”, “y”, “N” or “n” when asked if they wish to continue. Continue to ask until they enter a valid result.
- Ensure that the stock number is a number
- Output the total number of products held in stock
Sample output:
************************* Stock Manager ************************* Product Name: Widgets Stock Level: 12 Widgets has been entered with a stock of 12 products. Do you wish to enter another record? (Y/N) Do you wish to enter another record? (Y/N) d Do you wish to enter another record? (Y/N) y Product Name: Do you wish to enter another record? (Y/N) Y Product Name: Fidgets Stock Level: Twenty Do you wish to enter another record? (Y/N) Y Product Name: Fidgets Stock Level: 20 Fidgets has been entered with a stock of 20 products. Do you wish to enter another record? (Y/N) n ————————- Product Stock ————————- Widgets 12 Fidgets 20 ————————- Total 32 ————————-
Stage 3: Product List and Menu
This involves three separate jobs:
- Create a menu with multiple options
- Add products separately and allow the user to select the product.
- Allow multiple stock numbers to be entered for each product and record the total
Sample Output
************************* Stock Manager ************************* ————————- Menu ————————- (A)dd a product (I)ncrease stock level (L)ist products and stock (Q)uit ————————- Your choice: A ————————- Product name: Widgets Widgets was added to the list of products. ————————- Menu ————————- (A)dd a product (I)ncrease stock level (L)ist products and stock (Q)uit ————————- Your choice: ————————- Menu ————————- (A)dd a product (I)ncrease stock level (L)ist products and stock (Q)uit ————————- Your choice: a ————————- Product name: Fidgets Fidgets was added to the list of products. ————————- Menu ————————- (A)dd a product (I)ncrease stock level (L)ist products and stock (Q)uit ————————- Your choice: i ————————- Enter a product from the following list: Widgets Fidgets Product name: Trees *** Error: Product not listed ————————- Menu ————————- (A)dd a product (I)ncrease stock level (L)ist products and stock (Q)uit ————————- Your choice: i ————————- Enter a product from the following list: Widgets Fidgets Product name: Widgets Stock Level: 12 Widgets has has been updated to a stock of 12 products. ————————- Menu ————————- (A)dd a product (I)ncrease stock level (L)ist products and stock (Q)uit ————————- Your choice: i ————————- Enter a product from the following list: Widgets Fidgets Product name: Widgets Stock Level: 4 Widgets has has been updated to a stock of 16 products. ————————- Menu ————————- (A)dd a product (I)ncrease stock level (L)ist products and stock (Q)uit ————————- Your choice: i ————————- Enter a product from the following list: Widgets Fidgets Product name: Fidgets Stock Level: *** Error: Incorrect value entered ————————- Menu ————————- (A)dd a product (I)ncrease stock level (L)ist products and stock (Q)uit ————————- Your choice: i ————————- Enter a product from the following list: Widgets Fidgets Product name: Fidgets Stock Level: 2 Fidgets has has been updated to a stock of 2 products. ————————- Menu ————————- (A)dd a product (I)ncrease stock level (L)ist products and stock (Q)uit ————————- Your choice: l ————————- Product Stock ————————- Widgets 16 Fidgets 2 ————————- Total 18 ————————- ————————- Menu ————————- (A)dd a product (I)ncrease stock level (L)ist products and stock (Q)uit ————————- Your choice: q Goodbye
Stage 4: Importing, Exporting and Reporting
In the final stage we introduce the ability to load product lists, export stock levels, and compare stock levels with expected stock levels to generate a report. You will be provided with a sample file for stock and a sample file to compare against.
This will require additional research into Python
Now that things are getting more complex, you are expected to use functions to manage these tasks in your program.
Sample output:
************************* Stock Manager ************************* ————————- Menu ————————- (A)dd a product (L)oad product list (I)ncrease stock level (R)eport products and stock (X)port products and stock (C)ompare stock levels (Q)uit ————————- Your choice: A ————————- Product name: Widgets Widgets was added to the list of products. ————————- Menu ————————- (A)dd a product (L)oad product list (I)ncrease stock level (R)eport products and stock (X)port products and stock (C)ompare stock levels (Q)uit ————————- Your choice: L ————————- File to load: products.txt 3 records loaded ————————- Menu ————————- (A)dd a product (L)oad product list (I)ncrease stock level (R)eport products and stock (X)port products and stock (C)ompare stock levels (Q)uit ————————- Your choice: i ————————- Enter a product from the following list: Didgets Lidgets Hidgets Widgets Fidgets Product name: Didgets Stock Level: 5 Didgets has been updated to a stock of 5 products ————————- Menu ————————- (A)dd a product (L)oad product list (I)ncrease stock level (R)eport products and stock (X)port products and stock (C)ompare stock levels (Q)uit ————————- Your choice: i ————————- Enter a product from the following list: Didgets Lidgets Hidgets Widgets Fidgets Product name: Widgets Stock Level: 12 Widgets has has been updated to a stock of 12 products. ————————- Menu ————————- (A)dd a product (L)oad product list (I)ncrease stock level (R)eport products and stock (X)port products and stock (C)ompare stock levels (Q)uit ————————- Your choice: i ————————- Enter a product from the following list: Didgets Lidgets Hidgets Widgets Fidgets Product name: Fidgets Stock Level: 2 Fidgets has has been updated to a stock of 2 products. ————————- Menu ————————- (A)dd a product (L)oad product list (I)ncrease stock level (R)eport products and stock (X)port products and stock (C)ompare stock levels (Q)uit ————————- Your choice: R ————————- Product Stock ————————- Didgets 5 Lidgets 0 Hidgets 0 Widgets 16 Fidgets 2 ————————- Total 23 ————————- ————————- Menu ————————- (A)dd a product (L)oad product list (I)ncrease stock level (R)eport products and stock (X)port products and stock (C)ompare stock levels (Q)uit ————————- Your choice: X Filename: records.csv Data exported as records.csv ————————- Menu ————————- (A)dd a product (L)oad product list (I)ncrease stock level (R)eport products and stock (X)port products and stock (C)ompare stock levels (Q)uit ————————- Your choice: C Filename: Oldrecords.csv —————————————- Product Stock Old Change —————————————- Didgets 5 5 0 Lidgets 0 2 -2 Hidgets 0 0 0 Widgets 16 12 4 Fidgets 2 3 -1 —————————————- Total 23 22 1 —————————————- ————————- Menu ————————- (A)dd a product (L)oad product list (I)ncrease stock level (R)eport products and stock (X)port products and stock (C)ompare stock levels (Q)uit ————————- Your choice: q Goodbye
RUBRIC
Excellent Quality
95-100%
Introduction 45-41 points
The background and significance of the problem and a clear statement of the research purpose is provided. The search history is mentioned.
Literature Support
91-84 points
The background and significance of the problem and a clear statement of the research purpose is provided. The search history is mentioned.
Methodology
58-53 points
Content is well-organized with headings for each slide and bulleted lists to group related material as needed. Use of font, color, graphics, effects, etc. to enhance readability and presentation content is excellent. Length requirements of 10 slides/pages or less is met.
Average Score
50-85%
40-38 points
More depth/detail for the background and significance is needed, or the research detail is not clear. No search history information is provided.
83-76 points
Review of relevant theoretical literature is evident, but there is little integration of studies into concepts related to problem. Review is partially focused and organized. Supporting and opposing research are included. Summary of information presented is included. Conclusion may not contain a biblical integration.
52-49 points
Content is somewhat organized, but no structure is apparent. The use of font, color, graphics, effects, etc. is occasionally detracting to the presentation content. Length requirements may not be met.
Poor Quality
0-45%
37-1 points
The background and/or significance are missing. No search history information is provided.
75-1 points
Review of relevant theoretical literature is evident, but there is no integration of studies into concepts related to problem. Review is partially focused and organized. Supporting and opposing research are not included in the summary of information presented. Conclusion does not contain a biblical integration.
48-1 points
There is no clear or logical organizational structure. No logical sequence is apparent. The use of font, color, graphics, effects etc. is often detracting to the presentation content. Length requirements may not be met
You Can Also Place the Order at www.collegepaper.us/orders/ordernow or www.crucialessay.com/orders/ordernow Stock Management Assignment