Ocr 2017 a453 gtin-8 help!

    • Thread Starter

    I need help guys on how i could get a flowchart working for this task:
    Task 2
    Create a suitable text file to use with a high-level programming language containing a list of product
    details, including a GTIN-8 product code, a product description and price.
    The program should allow a user to enter GTIN-8 codes for a list of products they wish to purchase
    and the quantity required of each product. The program should search the stock file to produce a list of
    products with their descriptions, prices, cost for each of the quantity selected and the total cost for all of
    the products. The program should also identify products not found.
    34512340 plain brackets 4 0.50 2.00
    98981236 product not found
    56756777 100 mm bolts 32 0.20 6.40
    90673412 L-shaped brackets 6 1.20 7.20
    Total cost of order 15.60
    Analyse the requirements for this system and design, develop, test and evaluate a program to allow a
    user to enter GTIN-8 codes for a list of products and a quantity. The program should produce a receipt,
    i.e. a list of products with descriptions, prices, cost for each of quantity selected and the total cost of all
    the products ordered.

    Have you tried to do this task by hand? ie have you got a table of products, their individual costs and some form of ID (doesn't have to be GIT8)

    Now try to create a shopping list, eg five of product 7, 3 of product 20, seven of product 1, eight of product 9

    Now BY HAND generate the bill, in the same format that your final solution should look like.

    What did you have to do to find the name and unit cost?
    How did you work out the line cost?
    What happens if you cant find the product ID number,
    How do you get the total cost?

    Think back to the steps you used, write them down, were any of them repeated? Yes, great you have a loop, draw the arrows on your paper list of steps to show the loop.

    Finished this, now type it up and you should have a working flow diagram.
Write a reply… Reply
Submit reply


Thanks for posting! You just need to create an account in order to submit the post
  1. this can't be left blank
    that username has been taken, please choose another Forgotten your password?
  2. this can't be left blank
    this email is already registered. Forgotten your password?
  3. this can't be left blank

    6 characters or longer with both numbers and letters is safer

  4. this can't be left empty
    your full birthday is required
  1. Oops, you need to agree to our Ts&Cs to register
  2. Slide to join now Processing…

Updated: September 29, 2016
TSR Support Team

We have a brilliant team of more than 60 Support Team members looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

Who would you vote for in an early general election?
Useful resources

Study tools


Essay expert

Learn to write like a pro with our ultimate essay guide.

Thinking about uni already?

Thinking about uni already?

See where you can apply with our uni match tool

Student chat

Ask a question

Chat to other GCSE students and get your study questions answered.


Make study resources

Create all the resources you need to get the grades.


Create your own Study Plan

Organise all your homework and exams so you never miss another deadline.

Resources by subject

From flashcards to mind maps; there's everything you need for all of your GCSE subjects.


Find past papers

100s of GCSE past papers for all your subjects at your fingertips.

Help out other students

Can you help? Study help unanswered threads

Groups associated with this forum:

View associated groups

The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

Quick reply
Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.