$20 Bonus + 25% OFF
Securing Higher Grades Costing Your Pocket? Book Your Assignment at The Lowest Price Now!
Add File

Error goes here

ITECH 1400 Super Market Self Service Checkout

tag 0 Download7 Pages / 1,533 Words tag Add in library Click this icon and make it bookmark in your library to refer it later. GOT IT
  • Course Code: ITECH 1400
  • University: Singapore University Of Social Sciences
  • Country: Singapore


Assignment – Software Implementation

Do not place your code here – provide the code as separate .py files submitted with this document. 

Assignment – Code Explanation and Use

Update the below code to insert comments describing what the code is doing – for each line starting with a hash symbol (#) you should write your code comments after the hash. You may add a second line of comments if you require more space. 

# Function to: ___________________________

def get_float(prompt): 

    # ____________________________________

    value = float(0.0) 

    # ____________________________________

    while True:


            # ____________________________________

            value = float(input(prompt)) 

            # ____________________________________

            if value < 0.0:

                print("We don't accept negative money!")


            # ____________________________________


        # ____________________________________

        except ValueError:

            print('Please enter a valid floating point value.') 

    # ____________________________________

    return value 

# Function to: ___________________________

def bag_products(product_list):   
    # ____________________________________

    bag_list = []

    non_bagged_items = []

    MAX_BAG_WEIGHT = 5.0

    # ____________________________________

    for product in product_list: 

        # ____________________________________

        if product.weight > MAX_BAG_WEIGHT:



    # ____________________________________

    current_bag_contents = []

    current_bag_weight = 0.0

    # ____________________________________

    while len(product_list) > 0: 

        # ____________________________________

        temp_product = product_list[0]


        # ____________________________________

        if current_bag_weight + temp_product.weight < MAX_BAG_WEIGHT:        

            # ____________________________________


            current_bag_weight += temp_product.weight           

            # ____________________________________

            if (len(product_list) == 0):


        # ____________________________________



            # ____________________________________

            current_bag_contents = []

            current_bag_weight = 0.0 

    # ____________________________________

    for index, bag in enumerate(bag_list):

        output = 'Bag ' + str(index + 1) + ' contains: ' 

        # ____________________________________

        for product in bag:

            output += + 't'

        print(output, 'n')

    # ____________________________________

    if (len(non_bagged_items) > 0):

        output = 'Non-bagged items: '

        # ____________________________________

        for item in non_bagged_items:

            output += item + 't'


Assignment 1 – FedUni Checkout

Student name:                                                                    Student ID:


Assessment Criteria




Identification of properties of a typical supermarket Product.

10 * 0.5 = 5 marks



Application of abstraction to identify key properties of a typical supermarket Product as well as creation of a suitable Class Diagram.

4 marks



Identification of the key properties of a CheckoutRegister as well as creation of a suitable Class Diagram which uses those properties, plus the four method signatures provided.

4 marks



Creation of an activity flowchart which clearly indicates how the program should operate, using the correct symbols for elements such as start/end points, processes and decisions/branches

10 marks



Programming of the product checkout simulation so that it:

i)      Creates a small number of Product instances that may be purchased,

ii)     Accepts simulated ‘scanning’ of a Product to identify it (including refusal to identify products which do not exist),

iii)   Adds a scanned Product to the CheckoutRegister’s list of products being purchased,

iv)   Allows the checkout of multiple products,

v)    Accepts ‘virtual money’ to pay for those products (you must pay enough to cover the cost of the items checked out), and

vi)   Prints a final receipt of the products purchased, along with the total cost, total paid and any change given.

5 + 5 + 5 + 5 + 5 + 5 = 30 marks.











Analysis and documentation via code comments of the two functions provided.

(8 * 0.5) + (16 * 0.5) = 12 marks



Incorporation of the two functions provided into your main submission so that the program does not crash when an illegal money value is provided, and also virtually ‘bags up’ the products purchased.








Assignment total (out of 65 marks)




Contribution to grade (out of 20 marks)



Download Sample Now

Earn back the money you have spent on the downloaded sample by uploading a unique assignment/study material/research material you have. After we assess the authenticity of the uploaded content, you will get 100% money back in your wallet within 7 days.

Unique Document

Under Evaluation

Get Money
into Your Wallet

Total 7 pages, 1 USD Per Page

Cite This Work

To export a reference to this article please select a referencing stye below:

My Assignment Help. (2020). Super Market Self Service Checkout. Retrieved from

"Super Market Self Service Checkout." My Assignment Help, 2020,

My Assignment Help (2020) Super Market Self Service Checkout [Online]. Available from:
[Accessed 31 October 2020].

My Assignment Help. 'Super Market Self Service Checkout' (My Assignment Help, 2020) <> accessed 31 October 2020.

My Assignment Help. Super Market Self Service Checkout [Internet]. My Assignment Help. 2020 [cited 31 October 2020]. Available from: delivers assignment help to millions of students of USA. We have in-house teams of assignment writers who are experts on wide ranges of subjects. We have appointed teams of native writers who provide assignment help to students in New York City and all over the USA. They are skilled assignment writers who successfully cater to search terms like do my assignment in the USA

Latest Marketing Samples

SITXMPR007 Develop And Implement Marketing Strategies

Download : 0 | Pages : 10
  • Course Code: SITXMPR007
  • University: APEX Institute Of Education
  • Country: Australia

Answer: Part 1 Task 1 Assessment of internal and external environment of the company Black Beans Café is considered as the important coffee house in Sydney. It has been analysed from the case study that company has increased its popularity in the market by providing premium quality of products to the customers. If the current marketing strategy of the company is being analysed, this can be said that the company has decided to provide...

Read More arrow

BSBMKG417 Apply Marketing Communication Across A Convergent Industry

Download : 0 | Pages : 9
  • Course Code: BSBMKG417
  • University: Trinity Institute Australia
  • Country: Australia

Answer: Task 1: 1.1 Review and identify the role of the traditional siloed sectors to client requirements Each of the sectors in the organization has titles thus giving us an overall idea of the numerous functions of the sectors. The sales are actually the siloed which may lead with the clients thus presenting the brand image. Marketing is indeed a sector that ascertains both the service and product design (Hackley, 2018). However, in the trad...

Read More arrow

MKT2206 Pricing Case

Download : 0 | Pages : 10
  • Course Code: MKT2206
  • University: University Of California
  • Country: United States

Answer: The given case study talks about Hanson productions.  The company had earned their name as from the top production companies in US.  At one point of time company used to have lot of projects unremarkable reviews of the shows.  However at present the biggest concern of the company is the current production.  The company is still to finalize their show.  The given report will highlight the pricing for the opening...

Read More arrow

5BUS1032 Marketing Planning

Download : 0 | Pages : 12
  • Course Code: 5BUS1032
  • University: University Of Hertfordshire
  • Country: United Kingdom

Answer: Introduction The car sharing has become a significant trend in the automotive industry. It is economical and can address the green house emission challenges. However, still a large number of drivers prefer to own a car rather than sharing it with other co-passengers. The young people prefer owning a car due to the status reasons as the middle-class consumer prefers owning a car a status symbol. There are several benefits of the car sh...

Read More arrow

MKTG224 : Market Research

Download : 0 | Pages : 8
  • Course Code: MKTG224
  • University: Centennial College
  • Country: Canada

Answer:  1) Data can be collected in relation to market research with the help of primary and secondary data. The primary data is collected at first hand by the researcher and it helps in assessment of the current problem (Brace, 2018) The secondary data refers to data that has been already collected and which are easily available. 2) Standard Deviation is used for measuring dispersion around that of an average. It proves ...

Read More arrow

Save Time & improve Grade

Just share requirement and get customized Solution.

We will use e-mail only for:

arrow Communication regarding your orders

arrow To send you invoices, and other billing info

arrow To provide you with information of offers and other benefits

Add File

Error goes here




Overall Rating



Our Amazing Features


On Time Delivery

Our writers make sure that all orders are submitted, prior to the deadline.


Plagiarism Free Work

Using reliable plagiarism detection software, only provide customized 100 percent original papers.


24 X 7 Live Help

Feel free to contact our assignment writing services any time via phone, email or live chat. If you are unable to calculate word count online, ask our customer executives.


Services For All Subjects

Our writers can provide you professional writing assistance on any subject at any level.


Best Price Guarantee

Our best price guarantee ensures that the features we offer cannot be matched by any of the competitors.

Our Experts

Assignment writing guide
student rating student rating student rating student rating student rating 5/5

2109 Order Completed

99% Response Time

Emma Zhong

Ph.D in Project Management with Specialization in Project Communications Management

Singapore, Singapore

Hire Me
Assignment writing guide
student rating student rating student rating student rating student rating 5/5

647 Order Completed

98% Response Time

Adlina Han

Masters in Marketing with Specialization in Branding

Singapore, Singapore

Hire Me
Assignment writing guide
student rating student rating student rating student rating student rating 5/5

285 Order Completed

99% Response Time

Eugene Baranowski

MBA in Supply Chain

London, United Kingdom

Hire Me
Assignment writing guide
student rating student rating student rating student rating student rating 5/5

416 Order Completed

95% Response Time

Tyler Moore

MBA in Accounting

Washington, United States

Hire Me

FREE Tools


Plagiarism Checker

Get all your documents checked for plagiarism or duplicacy with us.


Essay Typer

Get different kinds of essays typed in minutes with clicks.


GPA Calculator

Calculate your semester grades and cumulative GPa with our GPA Calculator.


Chemical Equation Balancer

Balance any chemical equation in minutes just by entering the formula.


Word Counter & Page Calculator

Calculate the number of words and number of pages of all your academic documents.

Refer Just 5 Friends to Earn More than $2000

Check your estimated earning as per your ability




Your Approx Earning

Live Review

Our Mission Client Satisfaction



User Id: 430135 - 31 Oct 2020


student rating student rating student rating student rating student rating

Submitted on time and the quality of the work was very professional. Asked to start each of my questions and they did so.


User Id: 531014 - 31 Oct 2020


student rating student rating student rating student rating student rating

Not disappointed, delivered well before time required hopefully it is at least a (B).


User Id: 503299 - 31 Oct 2020


student rating student rating student rating student rating student rating

I received an 89 on this assignment. I am still grateful. If I had to do it, I would have received a 0. Thank you to the experts, whom are working nonstop to ensure we are making the grades and submitting assignments on time.


User Id: 332254 - 31 Oct 2020


student rating student rating student rating student rating student rating
callback request mobile
Have any Query?