Applications Programming - Computer Builder System

Assignment Help Programming Languages
Reference no: EM132366555

Applications Programming Assignment -

Topics: OO Design, Standard Patterns, Lists

Individual Work - All work is individual. You may discuss ideas, approaches and problems, but you should write every line of code yourself except for code copied from the lecture notes, lecture code or lab code. You MUST NOT let another student see your solution code, and you MUST NOT look at another student's solution code.

Overview - Computer Store - A Computer Builder System

A friend of yours is setting up a computer building business, to help customers decide on what components they want in their system. Your friend has cajoled you, with the promise of cold pizza and fat coke, into writing some software to help this process.

The aim is to increase profits and makes their products more accessible to their customer base. This requirement is urgent, as competitor have heard the rumors of this state-of-the-art system and they have also started working on similar prototypes.

Specification - The system should keep a catalogue of available parts, which can be displayed to the user, updated and filtered by type or price (or both).

The system should also allow the user to build a computer (more accurately a parts list) from parts in the catalogue, add and remove parts from the build, clear the build, and see the build (including the total cost).

The interface for the prototype will be a simple text interface, where parts are identified by their position in the catalogue/build.

As an advanced feature, your friend would like the user to be able to add several parts in one go.

Your friend has provided you with a nicely typed out text demonstration of how the system should work, along with some tests (... yet did not just code it...) to help.

An aside

While reading the first part of the specification, you will notice there is a lot going on.

  • How many functions did you identify?
  • How many classes did you identify?
  • What are the fields in each class?
  • How many goals did you identify?
  • How many patterns did you think of that might be applicable?

This assignment will be challenging and you will probably want to manage your time well.

  • How long do you think it will take you to code the functions?
  • How long do you think it will take you to code each goal?

A good rule of thumb is to think of an estimate, and then multiply that number by 3 or 4!

To manage your time well, you may need to figure out which parts of the assignment you can start early.

  • Which parts can you start now?
  • Which parts can you start in week 6?

If you complete parts in the same week that you learn the topics (while they are fresh in your mind), they will take less time to complete.

Requirements -

Your design will consist of exactly the following  classes with the listed fields, declared as indicated. You may not add or remove classes or fields; however, you may add constructors, functions and procedures to complete your design (in fact, you will have to!). You should pay careful attention to the tests on PLATE, as these will help guide you with some (but not all) of these methods.

To help visualize the design, a partial class diagram has been provided (attached).

Classes - your design will consist of these 5 classes:

1.  ComputerBuilder

2.  Build

3.  Catalogue

4.  Part

5.  In (this is just the class you've been using throughout the labs to facilitate simpler I/O - just copy it over)

The fields also have some additional requirements and structures:

Lists all have the abstract type of List<>, but must be instantiated with a concrete type that implements the List<> behavior (you will see two of these in week 6, you can choose either - you may also want to think about why you might do things this way).

The type String in Part is stored in lowercase.

Constructors - the constructors of the class have the following requirements:

1. All constructors initialize the fields of their class.

2. The ComputerBuilder constructor takes no parameters.

3. The Catalogue constructor takes no parameters, but will add some initial Parts to the catalogue:

Name

Type

Price

evo 860

storage

155.00

daskeyboard

Keyboard

239.00

i5

cpu

365.00

Corsair 16G

memory

299.00

ASUS ROG

motherboard

159.00

sheetmetal box

case

39.00

Ryzen 7

cpu

299.00

4. The Build constructor takes no parameters.

5. The Part constructor takes three parameters, corresponding to the name, type and price, with the same types as the respective fields.

  • toString() - Catalogue, Build and Part will each have a toString() function, see the I/O trace and tests for the formats.
  • The main method of the program will be in the ComputerBuilder class.
Java assignment need a code to be written according to certain specifications.

Attachment:- Applications Programming Assignment File.rar

Reference no: EM132366555

Questions Cloud

Calculate the number of metres of raw material fabric : Wasbank Manufactures is a business owned by Mbali Mbatha. The business produces one style of jerseys. The financial year ended on 28 February 2018.
Strategic human resource management as ethical stewardship : Critique Reading 1.2 "Strategic Human Resource Management as Ethical Stewardship."
What is meant by the neurochemistry of a drug : What is meant by the neurochemistry of a drug? Identify one neurotransmitter and describe its physiological function in the human brain. Provide an example.
What you might do to overcome the challenges : Explain, using specific examples, what you might do to overcome these challenges. Explain how the laws in your state might differ concerning the use.
Applications Programming - Computer Builder System : 48024 Applications Programming Assignment, University of Technology Sydney, Australia. Overview - Computer Store - A Computer Builder System
Difference between service risk and financial risk : Describe the difference between service risk and financial risk in capitation.
Explain the effects of drug-seeking behavior : Describe the so-called "brain reward pathway" and explain its importance to understanding the effects of drug-seeking behavior. Provide an example to support.
Assumptions for the facility management operating budget : Which of the following activities would be appropriate to help formulate assumptions for the facility management operating budget?
Why does my friend stay in an abusive relationship : Imagine that you are an advice columnist. You regularly respond to readers, providing relationship advice based on social psychological insight. Select one.

Reviews

len2366555

9/5/2019 10:18:56 PM

Java assignment need a code to be written according to certain specifications. Submission and Return -Your solution is to be submitted to PLATE in the same manner as your labs – package in a JAR file including the source code. Your provisional mark and feedback is generated immediately each time you submit to PLATE. However, analysis of spoofing, plagiarism, collusion and general cheating is done in the two weeks following the due date. If you are suspected of Academic Misconduct, I will forward your case to the Misconduct Committee and will notify you by email. There is no scheduled late submission period. An extension of up to one week may be given by the subject coordinator before the due date; you have to supply documentary evidence of your claim. An extension CANNOT be given after the due date. You may also apply for special consideration for reasons including unexpected health, family or work problems.

len2366555

9/5/2019 10:18:48 PM

Marking Scheme - The marks for the assignment are divided into the following functionality components (note that individual tests may test several functionality components, and a functionality component may be tested by several tests): Fields 7 marks, Constructors 7 marks, Main Menu 5 marks, Catalogue Menu 5 marks, Build Menu 5 marks, Add Part to Catalogue 5 marks, Remove Part from Catalogue 8 marks, Filter by Type 7 marks, Filter by Price 7 marks, Filter by Type and Price 7 marks, Add Part to Build 6 marks, Remove Part from Build 6 marks, Check Validity of Build 10 marks, Clear Build/Start New Build 5 marks, and Add Several Parts to Build at Once 10 marks.

Write a Review

Programming Languages Questions & Answers

  The formula for the area of a circle is pir2 where r is the

the formula for the area of a circle is pir2 where r is the radius of the circle. write a program to compute the area

  What is well-formedness and validity in the context of xml?

What is well-formedness and validity in the context of XML?

  Create a binary search tree program

Create a Binary search tree program using recursion for given array integer

  Write a program to simulate deterministic finite automaton

Write a program to simulate any deterministic finite automaton. The set of states includes q0, q1, q2, ..., and the set of final states are in the input also.

  Write a program that requests a floating point number

Write a program that requests a floating point number then separately outputs the integer and fractional components.

  Develop a form using jsp that collects client body statistic

Develop a form using JavaScript that collects client body statistics and customer contact information for record keeping and marketing purposes.

  Program to solve roots of quadratic equation

Write down a program which solves the roots of the quadratic equation of the given form:- ax 2 + bx + c = 0. Display the results on screen.

  Create a windows form application in c#

The total price will be the number of computed rental days times the cost for the model of car selected ($19.95/day for Compact, $24.95/day for Standard and $39/day for Luxury).

  An automated sampling and quality control system

An automated sampling and quality control system experienced a systems failure. You job is to evaluate the data collected over the past 6 hours to determine if the process being measured was in control the entire time Six measurements were taken in e..

  Write a program using binary search approach

Write a program using binary search approach

  Does loop have dependences two-dimensional arrays

Consider the following code with two-dimensional arrays. Does this loop have dependences? Can these loops be written so they are parallel?

  Program to compute flow of water flowing through a pipe

Write a program to calculate the volume flow rate in cubic feet per second of water flowing through a pipe of diameter d in inches and a velocity of v feet per second.

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