CIVN 2014A Engineering Computing Assignment

Assignment Help Computer Engineering
Reference no: EM132905112

CIVN 2014A Engineering Computing - School of Civil and Environmental Engineering

PROGRAMMING PROJECT

Task:

Design a 1 page (maximum) algorithm (Project Part A) (pdf, jpeg) and Microsoft Excel Macro-Enabled file of the Vending Machine described below (Project Part B). The Microsoft Excel Macro-Enabled file containing worksheets and VBA code would dispense products (Table 1) whose prices are specified in Table 2.

Table 1. Products and product codes

 

1

2

3

4

1

Simba cheese and onion Product code: 11

Simba Nik Naks Product code: 12

Fritos corn chips Product code: 13

Lays Product code: 14

2

Doritos Product code: 21

Eet sum mor Product code: 22

Diddle Daddle Product code: 23

Oreo Product code: 24

3

Snickers Product code: 31

Bar One Product code: 32

Kit Kat Product code: 33

Lunch Bar Product code: 34

4

Coca-Cola Product code: 41

BonAqua Product code: 42

Fanta Grape Product code: 43

Twist Product code: 44

Table 2. Prices

 

1

2

3

4

1

R 10.00

R 10.00

R 10.00

R 10.00

2

R 10.00

R 5.00

R 5.00

R 10.00

3

R 10.00

R 10.00

R 10.00

R 10.00

4

R 15.00

R 10.00

R 15.00

R 15.00

Project Part A

Project Part B

- Structure of VBA code
- Use of comments
- Innovative and user-friendly

Your developed VBA code would undertake the following tasks after the customer clicks the ‘Purchase a product' button located on the customer's worksheet:

a. Worksheet for the Customer:
i. Receive the customer's selected product code. Confirm and display the customer's selected product and the price of the product.
ii. Receive the customer's money, which may be input in one or more of the denominations shown in Table 3. The vending machine will only accept the following denominations: R20, R10, R5, R2 and R1
iii. Flag any input error.
iv. Flag any processing error.
v. Inform the customer if the selected product is unavailable. If unavailable, another product may be selected.
vi. Inform the customer if money change for the selected product is unavailable. If unavailable, another product may be selected.
vii. Monies accepted for purchases will not be added to the monies allocated for change.
viii. Prevent (and inform) the customer from receiving a product if the total of the monies input by the customer is less than the selected product price.
ix. Dispense the selected product without change if the total of the monies input by the customer is equal to the product price OR dispense the product with the correct change in specified denominations should the total of the monies input by the customer be more than the product price.

b. Worksheet for the Owner of the vending machine:
x. After each transaction, calculate and display the change in the different monetary denominations remaining in the machine.
xi. After each transaction, calculate and display the quantity of each product remaining in the machine.
xii. Include a button on this worksheet that permits refreshing. Immediately after refreshing, there are 10 number of each product within the vending machine. Also, immediately after refreshing, the vending machine has the following quantities of each monetary denomination allocated for change (Table 3).

Table 3. Monies allocated for change in the vending machine immediately after refreshing

Denomination

R20

R 10.00

R 5.00

R 2.00

R 1.00

Total number

50

50

50

75

100

Attachment:- Engineering Computing.rar

Reference no: EM132905112

Questions Cloud

Criminal or civil cases : Research at least two criminal or civil cases in which recovered files played a significant role in how the case was resolved.
Business intelligence and data science : Big data has been evolving tremendously for the past several years. discuss the differences between business intelligence and data science
What should be included in the policy : Do you feel potential employers, current employers, and colleges have the right to access your social media post? Do you feel employers
Pavement and stormwater management facilities : identify what type of critical infrastructure data collection is needed for pavement and stormwater management facilities.
CIVN 2014A Engineering Computing Assignment : CIVN 2014A Engineering Computing Assignment Help and Solution, School of Civil and Environmental Engineering - Assessment Writing Service
Information governance and records : Identify and complete the missing phrase to directly complete the granular definition?
Global environment : A written security policy is the foundation of a successful security endeavor. Without a written policy, security will be chaotic and uncontrolled.
Explain the term credit conditions : Explain the types of mergers and acquisitions and Discuss the key arguments for the motivations of mergers and acquisitions
Calculate the total drilling per month : Calculate the total drilling per month and drilling rate per minute - How many drilling units are required to meet the overburden-preparation requirements

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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