use and benefits of object-oriented programming, Computer Engineering

Assignment Help:

The Chocolate Delights Candy Company requires to add the following functionality to its cash register:

When a customer is checking out, the cash register requires keeping the needed data pertaining to every item the customer is buying. This data includes the item name, the price per pound, and the number of pounds of that item being purchased. This should be stored in three (3) arrays (one (1) for the item name, one (1) for the price per pound, and one (1) for the number of pounds being purchased) with corresponding index values. For example, index value 3, when applied to the "itemName" array, would give as the name of the third item that the customer is buying. That similar index value of 3, when applied to the "pricePerPound" array, would give us the price per pound of that similar third item that the customer is buying.
When that previous item in the purchase has been kept to the array, an itemized receipt is printed which demonstrates the relevant data (name, price, and amount purchased) of every item, the subtotal price for every item (which is calculated as price per pound times the number of pounds), and the grand total purchase amount of all items.
Use Visual Logic to create the data flow diagrams required in order to develop the design documents for an interactive event-driven program to solve the above scenario that includes at least:
1.    Three (3) arrays
2.    One (1) loop
3.    One (1) and / or conditional statement that covers decision making to include true and false parts of an if statement.
Include the code along with the Visual Logic output.
The specific course learning outcomes associated with this assignment are:

  • Describe the use and benefits of object-oriented programming and event-driven programming.
  • Develop design documents for an interactive event-driven program.
  • Use technology and information resources to research issues in computer programming design.
  • Write clearly and concisely about computer programming design topics using proper writing mechanics and technical style conventions.

 


Related Discussions:- use and benefits of object-oriented programming

Human–computer interaction, In the view of the M364 module team, HCI has be...

In the view of the M364 module team, HCI has been superseded by ID. This is because HCI traditionally concentrated upon desktop computers with single users, whereas ID includes the

Define about abstraction- object oriented systems, Define about Abstractio...

Define about Abstraction-  object oriented systems Abstraction is one of the most important ideas of object oriented systems Abstraction focus on the necessary, inherent aspec

Explain pass-1 algorithm of passes used in two-pass-assemble, Explain pass-...

Explain pass-1 algorithm of passes used in two-pass assembler? Pass I: (i) Separate the symbol, operand fields and mnemonic opcode (ii) Make the symbol table (iii)

Using information in information system, Using Information in Information S...

Using Information in Information System Information Systems can be thought of as being useful at three levels:  The detail level where information is used to carry out disc

Advantage of doubly linked list over singly linked list, What is the advant...

What is the advantage of doubly linked list over singly linked list?       Ans: Benefits of the doubly linked list over singly linked list 1. A doubly linked list can be pas

Depth first search - artificial intelligence, Depth First Search - artifici...

Depth First Search - artificial intelligence: Depth first search is very similar to breadth first, except for that the things are added to the top of this agenda rather than o

Compute minimum value of the horizontal force, Compute minimum value of the...

Compute minimum value of the horizontal force: Block A of weight 520N rest on horizontal top of block B having weight of 700N as shown in the figure given below. Block A

Explain working of jaz drive, Q. Explain working of Jaz Drive? Jaz Dri...

Q. Explain working of Jaz Drive? Jaz Drive: Jaz drive is a well-liked drive with 2GB and unleashes creativity of professionals in graphic design and software development, pub

Show basic types of transmission technologies, Q. What are the basic types ...

Q. What are the basic types of Transmission technologies, basis on which computer networks will be categorized? Ans: Broadly there are two kinds of transmission technology:

Write Your Message!

Captcha
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