use and benefits of object-oriented programming, Computer Engineering

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.

 

Posted Date: 3/19/2013 1:16:24 AM | Location : United States







Related Discussions:- use and benefits of object-oriented programming, Assignment Help, Ask Question on use and benefits of object-oriented programming, Get Answer, Expert's Help, use and benefits of object-oriented programming Discussions

Write discussion on use and benefits of object-oriented programming
Your posts are moderated
Related Questions
Can you explain what inheritance is and an example of when you might use it? The process of deriving a new class from an existing class is known as Inheritance. The old class i

Edith & Associates is a modern law firm. They have an Internet Link that is an ADSL 8MB links from JJNET. The server they are to deploy will the main service giving  server and wil

CIH, also known  as Chernobyl or Spacefiller, is a Microsoft Windows computer virus which first emerged in 1998. It is one of the most damaging viruses, overwriting critical inform

Your task is to implement a memory manager that manages page reads and writes from multiple client threads. In the first programming task the memory manager keeps all the pages in

The Need Of Parallel Computation With the advancement of computer science (CS), computational speed of the processors has also improved many a time. Moreover, there is certain

find a c program to find the area under the curve y=f(x) between x=a and x=b,intregrate y=f(x)between the limits of a and b.the area under a curve between two points can be found b

B2C -Business to Consumer  This is where the consumer admittance the system of the supplier. It is still a two-way function but is usually complete solely by the Internet.

discuss hypertext mark up language

Q. Show a string in assembly language? MOV AH, 09H MOV DX, OFFSET   BUFF INT    21H Here data in input buffer stored in data segment is intended to be displayed on mo

Opening Files for Reading Only     : A data file is a file that you can open and read its contents visually - for example, C source files, .dat files, HTML etc - anything that look