Object oriented programming shopping cart simulator

Assignment Help Basic Computer Science
Reference no: EM131472075

Object Oriented Programming Shopping Cart Simulator

Introduction:

In this project, you will use Python to write an object-oriented program that simulates a shopping cart of a DVD store.

Requirements:

  • The program needs to be object oriented and written in Python.
  • When program starts, a list of commands is displayed in shell for customer to choose from: "List" "Cart", "Add", "Remove", "Checkout".
  • If the customer chooses "List", a list of products as well as price are displayed. A file called products.csv is provided. The program loads the product list from the file.
  • If "Add" is selected, prompts will ask for which product and quantity to add to the cart.
  • If "Cart" is selected, items in the shopping cart together with the price and quantity will be displayed.
  • If "Remove" is selected, prompts will ask for which item in the shopping cart to remove.
  • If "Checkout" is selected, calculate the shopping cart and display subtotal, tax (7%), and total.
  • Your program should be able to handle user errors.
  • Each student can do the project in a team of 4 students or less.
  • You can research on the internet. But do not copy code directly from webpages.

Reference no: EM131472075

Questions Cloud

Pepare a perceptual map for your chosen product : Pepare a perceptual map for your chosen product/brand and using a minimum of seven competitors, rank each product.
What will be demand during each season : In the past, Peter Kelle’s tire dealership in Baton Rouge sold an average of 1,000 radials each year. What will be the demand during each season?
Disruption of the carbon cycle : It will contain an overview of what you have to say about these three topics - disruption of the carbon cycle.
Which it buys is considering going directly to the consumer : A distributor has heard that one of the major manufacturers from which it buys is considering going directly to the consumer.
Object oriented programming shopping cart simulator : In this project, you will use Python to write an object-oriented program that simulates a shopping cart of a DVD store.
Explain a competitive analysis of the organization : Describe the organization's background, industry, and product or service. Describe, in detail, the product or service.
Can she be ordered to take the eye exam : Schultz is a bus driver for the Total View Bus Company. While on her night run in a large city, she rear ended a car. Two passengers on the bus who were injured
Is marketing an investment or an expense for business : Is marketing an investment or an expense for a business? If an investment, how do you measure its success?
Dirk is driving a sport utility vehicle : Dirk is driving a sport utility vehicle in which Elin is a passenger when they are involved in a traffic accident,

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Three internal and or external conditions

Please provide specific examples of at least three internal and or external conditions within a company that could be related to the theory of price. How might this affect daily operation? Short- term planning? Long-term planning?

  Determine whether each of the following is true or false

An individual array element that's passed to a method and modified in that method will contain the modified value when the called method completes execution.

  Write a statement that''s reads an integer value

Write a statement That's reads An integer value from Standard imput Val. Assume val Has already been declared as int variable. Assume Also stdin is a variable That reference A scanner object Associated with standard imput.

  Determine the minimum frame size

Suppose a CSMA/CD network is operating at 100Mbps, and suppose there are NO repeaters and the length of the cable is 1.0 km. Determine the minimum frame size if the signal propagation speed is 200 km/ms.

  Best data storage format for the student information

1. What is the best data storage format for the Student Information System and give 5 benefits of the format you chose? (In your own words) 2. What is the best Architecture for the Student Information System based on the non-functional requirement..

  Analyse the ethical dilemma

Analyse the ethical dilemma using the Australian Computer Society Code of Professional Conduct, The word limit is 800 words ± 10%. Note: Headings, citations, references and any appendices do not count towards your word limit, but quotations do.

  Write a shell script called uncomp

Write a shell script called uncomp

  Pseudocode to accept two numbers

Write a pseudocode to accept two numbers,divide the first number by second,and display their quotient?

  Write a flow-chart and pseudo-code to solve the following

Write a flow-chart and pseudo-code to solve the following problem:

  Higher standard deviation of the second test

The average test grade rose by one point, the scores of the second test were closer together than the first, the higher standard deviation of the second test indicates higher average scores on the second test than the first, or none of the above a..

  Write a letter of interest to a prospective employer listing

Look up a job that you want to have after college, write a letter of interest to a prospective employer listing: Who you are?What skills you have that are relevant for this job?Why you are interested in the job?

  What is the complete list of substrings of length

In this chapter we mentioned several substrings of length 2 that cannot occur in arithmetic expressions, such as (/, +), // and */. What is the complete list of substrings of length 2 that cannot occur?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd