Question

Your solutions will be graded on the bassis of originality, completeness, and compliance to the object...

Your solutions will be graded on the bassis of originality, completeness, and compliance to the object oriented programming concepts. No Java code is required for this section.

Question 1:   Assume you are required to write an object oriented program for purchasing household items for a new house. Identify at least five classes of household items such as decoration items, washroom items etc. Each of these classes must have at least two types of items. Draw a UML class diagram identifying the instance variables and methods of each class and the relationships (inheritance, composition) between the classes, if any. Each class must implement a method for calculating the cost incurred on each item. The cost might include the purchase price of the item, and shipping cost. Each class of household items and its types must have some differentiating features (instance variables) from the other classes, alongwith the common details. Some items might have installation charges, service charges, interior designing charges, insurance, or plumbing cost etc, depending on the type of the item. Electronic items might come with a warranty. …… (Read instructions for all the questions before you draw your diagram)

Homework Answers

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Create a Shape (Object) Class Create a class (Shapes) that prompts the user to select a...
Create a Shape (Object) Class Create a class (Shapes) that prompts the user to select a shape to be drawn on the screen. Objects: Circle, X, box, box with an x inside, or any other object of your choice. Depending on the user’s choice, you will then ask for the number of rows, columns or any requirements needed to draw the shape. Finally, you will display the shape selected by the user to the screen. Your class should have at...
Goal:   Manage the inventory of objects sold in an online or brick and mortar store. If...
Goal:   Manage the inventory of objects sold in an online or brick and mortar store. If you can't implement all of the features of Project described in this document, implement what you can. Start by implementing the StockItem class, and its derived classes. Then add in the InventoryManager class later. In each case, the test files must be in separate classes. UML Diagram: Use Violet or other drawing software to draw the UML diagrams of each class that you use...
Write a program in Java that: 1. will prompt user with a menu that contains options...
Write a program in Java that: 1. will prompt user with a menu that contains options to: a. Add a To-Do Item to a todo list. A To-Do Item contains: i. An arbitrary reference number (4; 44,004; etc.) ii. A text description of the item ("Pick up dry cleaning", etc.) iii. A priority level (1, 2, 3, 4, or 5) b. View an item in the list (based on its reference number) c. Delete an item from the list (based...
The following is for a Java Program Create UML Class Diagram for these 4 java classes....
The following is for a Java Program Create UML Class Diagram for these 4 java classes. The diagram should include: 1) All instance variables, including type and access specifier (+, -); 2) All methods, including parameter list, return type and access specifier (+, -); 3) Include Generalization and Aggregation where appropriate. Java Classes description: 1. User Class 1.1 Subclass of Account class. 1.2 Instance variables __ 1.2.1 username – String __ 1.2.2 fullName – String __ 1.2.3 deptCode – int...
Hey i just read your comment and you just need to answer do you agree or...
Hey i just read your comment and you just need to answer do you agree or disagree with ir and explain My Teacher gave this answer and we need to response this answer You need to response this answer why you agree with it or why you disagree and explain You have Two Answer you need to response on your own word Reactions may include: feedback, agreements, disagreements, etc. with supporting facts, material, citations, etc. to support your reaction (or...
Draw an object-oriented class diagram, including traditional unary, binary, and ternary relationships, as well as generalization...
Draw an object-oriented class diagram, including traditional unary, binary, and ternary relationships, as well as generalization and aggregation relationships as needed, to represent the following business environment. Include all of the attributes and operations listed in the description. The Houston, TX, city government wants to develop an information system to keep track of all the buildings in the city for both taxation and fire department dispatch purposes. The city will track the address, year built, and owner of record of...
***Programming language is Java. After looking at this scenario please look over the requirements at the...
***Programming language is Java. After looking at this scenario please look over the requirements at the bottom (in bold) THIS IS ALL THAT WAS PROVIDED. PLEASE SPECIFY ANY QUESTIONS IF THIS IS NOT CLEAR (don't just say more info, be specific)*** GMU in partnership with a local sports camp is offering a swimming camp for ages 10-18. GMU plans to make it a regular event, possibly once a quarter. You have been tasked to create an object-oriented solution to register,...
Complete ER Diagrams for each scenario given (ignore the fact that the problem says "class diagram"...
Complete ER Diagrams for each scenario given (ignore the fact that the problem says "class diagram" - do an ER diagram like we've been doing in class).   8.99 (do a, b, and c) 8.99 a. Draw a class diagram, showing the relevant classes, attributes, operations, and relationships for each of the following situations (if you believe that you need to make additional assumptions, clearly state them for each situation): a. A company has a number of employees. The attributes of...
JAVA public class Purchase { private String name; private int groupCount; //Part of price, like the...
JAVA public class Purchase { private String name; private int groupCount; //Part of price, like the 2 in 2 for $1.99. private double groupPrice; //Part of price, like the $1.99 in 2 for $1.99. private int numberBought; //Total number being purchased. public Purchase () { name = "no name"; groupCount = 0; groupPrice = 0; numberBought = 0; } public Purchase (String name, int groupCount, double groupPrice, int numberBought) { this.name = name; this.groupCount = groupCount; this.groupPrice = groupPrice; this.numberBought...
You are in a class titled Introduction to Artistic Expression, and your final project must be...
You are in a class titled Introduction to Artistic Expression, and your final project must be completed in class. You know that you will be given three objects and two boards to work with to create two separate displays. You also know that you must arrange the objects on the boards so they balance on a tiny pedestal. Once completed, one display will be a single object resting on a board balanced on top of a pedestal; the other will...