MIS 15 -Course Project. Project: Develop a program using Python. Purpose: Learn how to combine different programming structures to write a program. Understand functionality and usability of important...

2 answer below »
Please see attachment for more information


MIS 15 -Course Project.  Project: Develop a program using Python.  Purpose: Learn how to combine different programming structures to write a program. Understand functionality and usability of important programming concepts covered during the semester.  Introduction. In this project you will create python program by combining different programming structures. This program will help your business to store information about customers, their membership, items or services which they offer, retrieve the data, and printing an invoice for any transaction. To select the business for which you want to create a program, pick one of these businesses:  1. Bookstore. 2. Flower shop.  3. Cake shop. 4. Car rentals.  5. Gift Shop.  6. Pet shop. 7. Dollar store.  Your group information is available on this document: Project Group Information - MIS 15.xlsx (Links to an external site.) - Once your group decides the business, please enter that information on group information file (Selected Business Column).      Please make sure that no other group has picked it before you by checking the document. - No two groups can work on the same business area.  Project Steps Step 1:  A) Create a dictionary to store data for customer membership. At least 10 customers should be included in this dictionary Key for each key-value pair in this dictionary would be membership number and associated value will be the Customer's name (First and Last name, separated by space). Example of key-value pair could be:  {1019: ['Tom Ford', 'Gold']}. Where, 1019 is membership number of customer Tom Ford and he has Gold membership. You can pick any sort of combinations for membership number, but make sure that each customer has a unique key/membership number.  OR  To avoid using list in a dictionary, you can also create separate dictionary for storing key-value pair of membership number of customer and customer name, and separate dictionary for storing key-value pair of membership number of customer and membership type. B) Create a dictionary to store data for membership types and discount values. Atleast 3 different type of memberships should be included in this dictionary. Key for each key-value pair in this dictionary would be membership type and associated value will be the discount percentage. Example of key-value pairs could be:  {"Gold" : 3% , "Silver" : 2%, "Platinum" : 5%}. Where, in first pair, key "Gold" is the type of membership and 3% is the percentage of discount which its members are eligible of. You can pick name of your choice for type of membership and discount percentage associated with it, but make sure that each pair in the dictionary has a unique key/membership type.  C) Create a dictionary to store data for items offered by your business. Atleast 8 different items should be included in this dictionary. Key for each key-value pair in this dictionary would be Item-Id and associated value will be the name of an item. Example of key-value pairs could be: {101 : "Blue Mats", 102: "Yellow Mats", 103: "Orange Mittens"}. Where, in first pair, key 101 is the item-ID and "Blue Mats" is the item. You can create entries based on type of business that you are considering.   D) Create a dictionary to store data for each item's price. This dictionary's size should be same as that of the dictionary you created at step 1C. Key for each key-value pair in this dictionary would be Item-Id and associated value will be the price of an item. Example of key-value pairs could be: {101 : 15.79 , 102: 18.88 , 103: 13.56}. Where, in first pair, key 101 is the item-ID and 15.79 is the item's price. You can create entries based on type of business that you are considering.   Step 2:  A) When your Python program starts, you will want to greet your customer. To do so, add a print() statement to your program and insert your greeting as a string. Remember to include the name of your business in the welcome message as well.   B) Now start asking these relevant questions from a customer using the Python prompt. Use appropriate control statements to determine next step for the program.  - Q1: What is your First and Last Name? - Q2: Are you a member? If Customer's response to Q2 is 'Yes'. then, ask the customer to enter membership number,                 Q3: Please enter your membership number. If Customer's response to Q2 is 'No', then, ask the customer,                Q4: Would you still like to proceed without membership discounts? If customer's response to Q4 is 'No', then, exit the program.  If customer's response to Q4 is 'Yes', then program will proceed to Step 5.  Step 3 When Customer's response to Q2 is 'Yes'. - Search for the membership number in dictionary for customer information.       - If the membership membership number does not exist in the dictionary then display a message "Your membership number does not exist, try again later", and exit the application.        - If the membership membership number exist in the dictionary then unpack the dictionary customer's information into three different variables. For example: approvedCustomer Name = "Tom Ford", customerID = 101, customerMembershipType = "Gold". Step 4. Write a function to calculate the final price of an item.  This Function will use price of an item and discount value corresponding to customer's membership type to compute the final price. If customer is not a member, then discount value will be 0. Assume that there is no tax amount involved in the transaction, final price will therefore be computed as:               DiscountFactor = [Actual price of an item x (discount percentage for membership type of a customer / 100)]                 Final price = Actual price of an item - DiscountFactor. Step 5. Display all items and their corresponding item-IDs from dictionary which you created at step 1C.  Step 6. (A) Create a variable, or a list to store item(s) that a customer wants to purchase. (B) Ask the user to enter itemID for item(s) which he/she wants to purchase. {Allow purchase of one item only to keep the program simple. It is optional, if you would like to add more than one items to a list}. (C) Create a variable where you store the item number entered by a customer.  (D) Search for the price of that item from the dictionary you created at step 1D.  Step 7. Display the final price by calling the function that you created at step 4. Use price of an item and discount percentage as parameters for the function. Note: that discount percentage will be based on type of membership that a customer has. If customer is not a member then discount percentage will be 0.  Step 8. Write an output file named Invoice. Include following information on the invoice file. a) Thank you message. b) Customer name. d) Items purchased by customer. e) Applied discount.  f) Final Price.  ------------------------------------------------------------------------------------------------- What you need to submit for this project?  A) Project Files. ( Max Possible Points: 75) 1. Python Executable program file. For e.g: MIS15project.py 2. Snapshot of your jupyter notebook with the program. 3. Snapshot of your jupyter notebook with the test output. Test your program with atleast 2 customers who are members, and 2 customers who are not members.  4. Invoice files for test outputs.  5. Group Evaluation Form.  B) Project Presentation. (Max Possible Points: 25) Project Presentation material will include following:  1) Powerpoint slides.  2) Recorded group presentation link.
Answered 18 days AfterNov 06, 2021

Answer To: MIS 15 -Course Project. Project: Develop a program using Python. Purpose: Learn how to combine...

Nithin answered on Nov 24 2021
123 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here