ASSIGNMENT DESCRIPTIONDeliverable Length: Java source code, class files, Word program plan including class diagrams and pseudocode There are two options for this assignment: Paper (Option 1) and Application (Option 2). You only need to select and submit one of the two options. They are both worth the maximum 125 points for this Unit’s Individual Project and they have separate grading rubrics. You do not need to declare which option you select prior to working on the assignment. Contact your instructor with any questions. OPTION 1 – Paper Click here to download this Unit’s paper option assignment details. OPTION 2 – Application
This assignment is to develop your first object-oriented program. You will utilize classes, common data types, and control structures. Following are the instructions. Step 1: Define a Computer class that can be used to describe your computer. The class must have at least two attributes. One variable must be an integer data type and the other must be a String data type. At least one method should be defined in your class. Step 1a: Prepare a class diagram to illustrate your Computer class. Copy to a Word document. Step 1b: Prepare the source code that implements your Computer class. Give your source code a filename of Computer.java. Step 2: Prepare a program that utilizes your Computer class. The requirements for the program include prompting the user for input, making a calculation, and printing out the results. Begin by creating your pseudocode for this program. Once you have your pseudocode, copy it into your Word document. You can now begin writing your program. Your program should prompt the user for information about their existing computer followed by information about a future, more desirable computer. This means that your program will create two instances of Computer class, the first instance reflects the existing Computer, and the second instance reflects the future Computer. Use the Scanner class for obtaining input from the user keyboard. The program must calculate the difference (improvement) between the existing and future Computer class variables of integer data type. For example, Computer class may contain an integer variable named memory. The value of the memory variable for the existing Computer instance may be 8, while the value for this variable in the future Computer instance may be 10. Calculating the difference would indicate an improvement of 2. Print to the screen the values for the existing computer class and the desired computer class, along with the calculated improvement. Your assignment submittal should include your properly commented Java source code for your Computer class as well as for your program. The first step should be to plan your program. Prepare a Word document that shows your program plan description including class diagram and your pseudocode defining program logic. The second step should be to write the code based upon your planning document. Submit the Word design document, source code for Computer class and for your program. Include both .class files. Please submit your assignment. Requirements: According to the instruction
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.Read more
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.Read more
Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.Read more
By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.Read more