Find Jobs
Hire Freelancers

Vending Machine Visual Basic Problem -- 2

£10-20 GBP

Cancelled
Posted about 10 years ago

£10-20 GBP

Paid on delivery
Program Requirement A program is required to simulate a snack vending machine. The snack machine will vend crisps at 55p, chocolate biscuits at 50p, nuts at 55p and cereal bars at 65p. The program will run in a continuous loop. At points during the program, a menu will be displayed from which the user can either select a snack, or choose to checkout all snacks selected so far. If a snack has been selected the program will display the snack selected and ask the user to select how many they would like, then it will return to the menu. An entry of 0 will cause that selection to be ignored. The menu will always show all snacks that have been selected so far, with the quantities and the total amount to pay. The user can continue to select snacks until they are ready to buy. When the user chooses to checkout their purchases, they will be shown a list of the items and quantities they have chosen, a total amount to pay and a request to enter money. Money entry is simulated by the user entering the value of each coin. The machine will accept £10 notes, £5 notes, £2 coins, £1 coins, 50 pence, 20 pence, 10 pence and 5 pence. It must reject entries of all other monetary values except 0 which means that the user would like to cancel the purchase. As soon as enough money has been entered the snacks will be dispensed, one at a time (shown by displaying messages on the screen). If too much money was entered, change will be given. To maintain the correct working of the machine, the stock of each snack must be continually monitored and occasionally refilled. There will be 50 of each snack loaded in the machine at the beginning of the program. If a user chooses to buy more of a particular snack than is currently present in the machine, the program must tell them and allow them to reselect. The machine is refilled by selecting 0 at the main menu (this option should not be displayed). When 0 is selected the user is asked to enter how many of each snack they are loading into the machine (the total of the amount loaded and the amount still in the machine must not exceed 50). Your Tasks Task 1 Produce a program specification to meet the given requirements. Your specification must include: • A definition of input, processing and output requirements • A description of how your program specification meets and/or deviates from the given requirements. • An explanation of how you have ensured the user’s needs will be met. Task 2 Produce a program design to meet your program specification. You must include the design of: • Inputs • Outputs • Processes (using appropriate process description methods) • Data structures • File structures and file organisation. Task 3 Produce a working program to realise your design. Your program must include at least one data structure (e.g. to hold details of the quantity of each snack in the machine or a structure to hold details of all the snacks chosen by the user up to checking out) and must use all data types, control structures and operators listed in the programming section of the unit specification (page 98 and 99). Your program listing must be annotated with appropriate comments. You must submit a program listing and screen dumps to illustrate the operation of your program. Task 4 Produce a test plan and a record of testing. Your plan must cover: • All input data validation (including valid, invalid and boundary data) • All user operations • All paths through the processes.
Project ID: 5718604

About the project

4 proposals
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
4 freelancers are bidding on average £69 GBP for this job
User Avatar
Hi, I am VB expert and can surely help you here with this project. Please communicate to discuss further. Thank you
£69 GBP in 2 days
5.0 (14 reviews)
3.8
3.8
User Avatar
HI Contact me for an efficient, well documented and perfect solution and development of your project. I ensure quality work with always on time delivery of project and dedicated support and follow up. Thanks Farah Saif
£42 GBP in 2 days
5.0 (13 reviews)
3.3
3.3
User Avatar
VB Programmer here. Got 7 years Experience in Web Programming, Software Programming and Database Design. Regards, mleo
£55 GBP in 2 days
5.0 (5 reviews)
2.9
2.9
User Avatar
一个有效的提议尚未被提供
£111 GBP in 7 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED KINGDOM
Hayes, United Kingdom
5.0
1
Payment method verified
Member since Mar 1, 2013

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.