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
As demonstrated in a simple manner in my Animated Tiles example, the purpose of this assignment is to use jQuery animations to develop a simple puzzle using DIV tags and styles. C

What is the aim of a stair case light is controlled by two switches one at the top of the stairs and another at the bottom of the stair

Minimum possibility -minimax algorithm: Finally, we want to put the scores on the top edges in the tree. So there is over again a choice. Whenever, in this case, we have to r

COMMUNICATIONS TECHNOLOGY: The development of communications technology is, in a sense, a symbol of man's effort to communicate rapidly over great distances. Communications te

There are two methods for organising the associative memory based on bit slices: Bit parallel organisation: In this organisation every bit slices which are not masked off,

What is meant by refreshing of the screen?  Some method is required for maintaining the picture on the screen. Refreshing of screen is completed by keeping the phosphorus glowi

Shift Microoperations Shift microoperation can be used for serial transfer of the data. They are used generally with arithmetic, logic and other data-processing operations. The

How does the Applet update its window when information changes? Whenever an applet requires to update the information displayed in its window, this simply calls repaint ( ) way

Why are interrupt masks provided in any processor? Interrupt mask enable the higher priority devices comes first and there for lower priority devices comes last. The interrupt

How and when race conditions happen in process control? How can it be avoided? b. Differentiate among following functions giving related syntax: (i) fork and vfork (ii) w