Ask Question, Ask an Expert


Ask Computer Engineering Expert

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

When the customer is checking out, the cash register requires to store the needed data pertaining to each item the customer is buying. This data includes item name, the price per pound, and the number of pounds of that item being purchased. This must be stored in three (3) arrays (one (1) for the item name, one (1) for price per pound, and one (1) for the number of pounds being purchased) with corresponding index values. Such as, index value 3, when applied to the “itemName” array, will give as the name of the third item that customer is buying. That same index value of 3, when applied to the “pricePerPound” array, will give us the price per pound of that same third item that customer is buying.

When that last item in the purchase has been saved to the array, an itemized receipt is printed that shows the significant data (name, price, and amount purchased) of each item, the subtotal price for each item (which is find outd as price per pound times the number of pounds), and the grand total purchase amount of all items.

Use Visual Logic to create data flow diagrams required in order to develop the design documents for an interactive event-driven program to solve the above scenario which includes at least:

1. Three (3) arrays

2. One (1) loop

3. One (1) and / or conditional statement which covers decision making to include true and false parts of an if statement.

Include the code along with the Visual Logic output.

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.

• prepare clearly and concisely about computer programming design topics using proper writing mechanics and technical style conventions.

1. It contain a program (like pseudocode), a visual logic diagram (Design a flowchart using Visual Logic) and include a short prepare-up to describe logic further.

2. You don’t have to use any programming language just the pseudocode.

3. There is no need for chart or diagrams.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91721

Have any Question? 

Related Questions in Computer Engineering

Lab assignmentsmethodsobjectivesin this lab assignment

Lab Assignments Methods Objectives In this lab assignment, students will learn: - How to define methods and functions - How to call methods or functions - How to specify parameters and how to pass arguments by value Goal ...

You are managing an insurance claim processing process and

You are managing an insurance claim processing process, and you have just been informed that the repairer, Chris Gray, will not be available for work after June 7, 2011, for several days. You need to set a constraint on ...

1 what is an infinite loop on your computer how can you

1. What is an infinite loop? On your computer, how can you terminate a program that executes an infinite loop? 2. Give three strategies for implementing the following "loop and a half": Use a Boolean variable, a break st ...

Assignment reviewing computer operations1 explain why

Assignment: Reviewing Computer Operations 1) Explain why turning off the computer by using the power switch might be harmful to the system. 2) Four medical assistants work at their own computer workstations, which are ne ...

1 what is physical security what are the primary threats to

1. What is physical security? What are the primary threats to physical security? How are they made manifest in attacks against the organization? 2. What are the roles of IT, security, and general management with regard t ...

1 explain the advantages of ipv6 when compared to ipv42

1. Explain the advantages of IPv6 when compared to IPv4. 2. Explain the use of the flow field in IPv6. What is the potential application of this field? 3. Distinguish between compatible and mapped addresses and explain t ...

1 how many invalid unused code sequences can we have in

1. How many invalid (unused) code sequences can we have in 5B/6B encoding? How many in 3B/4B encoding? 2. What is the result of scrambling the sequence 11100000000000 using each of the following scrambling techniques? As ...

1 why is it important to use a structured systematic method

1. Why is it important to use a structured, systematic method for designing networks? What problems can occur if such methods are not used? 2. Compare and contrast the top-down network design method shown in Figure 1-1 w ...

Give reasons why root should not be able to change the

Give reasons why root should not be able to change the audit UID on a UNIX system, and give reasons why it should. Which reasons sound more persuasive to you?

Provide a concrete example selected from media reports or

Provide a concrete example, selected from media reports or your personal experiences, in which attackers compromised a system by exploiting something other than the weakest link. Describe the system, describe what you vi ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

WalMart Identification of theory and critical discussion

Drawing on the prescribed text and/or relevant academic literature, produce a paper which discusses the nature of group

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro