Locate a single product and display its name

Assignment Help Computer Engineering
Reference no: EM132154624

(a) Understand the concepts cohesion, and how it can be used to decompose problem definition into separate components(classes).

(b) Understand t and coupling and how it is used to assemble the components (classes)into complete programs.

The establishment called ABC Enterprise requires a Java program to keep a database of the inventory of the products that it sells. Each product is identified by its manufacturer, its name, the quantity, and unit price.

Note: a manufacturer is characterized by its company's name and address In addition to storing the information, the program should be able to make updates to the quantity and/or the price as time goes on.

That is, when a sale is made, the quantity of that product must be reduced; similarly, when a product is re-ordered, the quantity of that product must be increased.

Also, when there is a change in the price of a product, the price must be changed. The change must be interpreted as a replacement of the value.

New products may be added to the inventory at any time; also, a product may be removed from the inventory at any time. Maintain a separate list the products that have been deleted from the database of active products.

Your program must be able to produce three kinds of reports, namely:

(a) Locate a single product and display its name, price and quantity alone.

(b) The inventory report should be structured as follows:

Product PurchaseDate Quantity Price Manufacturer State

Telephone 01/20/2013 10 254.99 Motorola FL

Computer 01/06/2013 15 756.99 CBS NY

: : : : : :

: : : : : :

(c) A list of the deleted products should be structured as follows:.

Product Date Manufacturer

Paper reams 01/20/2013 Morgan Jewelry

: : :

In your design, convince yourself that you need a minimum of four classes, not including the test class - Product, Manufacturer, Address, and Database.

You may use the class called GetData.java, Listing 1.6 (in the textbook) , for inputting the data. Use a scrollable panes to display your output.

Reference no: EM132154624

Questions Cloud

Why is an understanding of boolean algebra not important : Why is an understanding of Boolean algebra not important to a weather forecaster?
What is a universal shift register : What is a universal shift register? Draw the schematic and block diagram of a 4-bit universal shift register.
How user interfacev design can be improved : Are uml diagrams adequate in representing aspects of user interfaces?
Compute the projection of f on r : Compute the projection of F on R1. Compute the projection of F on R2. Does the decomposition D preserve the set of dependencies F?
Locate a single product and display its name : Understand the concepts cohesion, and how it can be used to decompose problem definition into separate components(classes).
Evaluate potential data mining approaches for use : Using the identified dataset, evaluate potential data mining approaches for use in exploring said dataset;
Calculate the number of available devices : If the system is in a safe state, list the sequence of requests and releases that will make it possible for all processes to run to completion.
Create a conceptual data modeling for the dataset : Using the identified dataset, create a conceptual data modeling for the dataset; you may use the software of your choice.
What is the project npv : If the firm's WACC is 9%, what is the project's NPV? Round your answer to the nearest cent. Do not round your intermediate calculations.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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