Hey there! Sign in to join this conversationNew here? Join for free
    • Thread Starter
    Offline

    1
    ReputationRep:
    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.
    Offline

    7
    ReputationRep:
    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.
 
 
 
  • See more of what you like on The Student Room

    You can personalise what you see on TSR. Tell us a little about yourself to get started.

  • Poll
    Did TEF Bronze Award affect your UCAS choices?
    Useful resources

    Study tools

    Rosette

    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.

    Creating

    Make study resources

    Create all the resources you need to get the grades.

    Planner

    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.

    Papers

    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
  • See more of what you like on The Student Room

    You can personalise what you see on TSR. Tell us a little about yourself to get started.

  • 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.