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

  Draw an er diagram that captures the preceding information

ITEC 630- Exam: Draw an ER diagram that captures the preceding information. Identify any constraints not captured by the ER diagram. How would your design change if each drug must be sold at a fixed price by all pharmacies?

  Make a perl script that accepts the name of directory

build a Perl script that accepts the name of directory as an argument to the script, and lists out the files in this directory that are older than 2 hours from the time the script is executed.

  Write a shell script to ask the user to enter ten numbers

Write a shell script to ask the user to enter 10 numbers. Save these numbers in a file called numbers.

  Explain the importance of availability

One of the three main tenants of information security is availability. It is also one of the least thought about. Explain the importance of availability?

  Write a c program that allows a user to extract some part

Write a C program (partcopy) that allows a user to extract some part of an existing file (fileSource) and copy it to a new file fileTarget.

  Purpose of testing

Describe the purpose of testing. Discuss how tests are carried out at different levels within the system.

  Describe the concept of an event-driven architecture

In your initial post, briefly describe the concept of an event-driven architecture and explain two benefits that modern organizations can realize.

  Find the multiplicative inverse mod n of x

For each x and n, find the multiplicative inverse mod n of x. Your answer should be an integer s in the range 0 through n - 1.

  Write a program to use arrays for the data transfer

The first program that you will write will use arrays for the data transfer. You may directly use SRCBLK and DESTBLK as the two arrays.

  Calculate the sum of ten numbers stored at memory location

Write an assembly program to calculate the sum of 10 numbers stored at memory location labeled with list. The size of each number is one byte.

  The combat identification server cids technology

the combat identification server cids technology demonstrator project tdp has been delivered on time with quality and

  Make application that changes the color of the frame

build a frame with four buttons: one for red, one for green, one for blue, and one for gray. Clicking on a button changes the frame to the corresponding color.

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