Prepare a word document that shows your program plan

Assignment Help Computer Engineering
Reference no: EM131906325

Assignment

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.

Reference no: EM131906325

Questions Cloud

Differences between dispositional and evolutionary theories : Write a 1,000- to 1,250-word informational article for a newspaper in which you do the following: Describe the differences between dispositional.
What level of pretax cost savings : At what level of pretax cost savings would you be indifferent between accepting the project and not accepting it?
Range of wavelengths for visible light traveling : The visible spectrum of light is often given in terms of the wavelengths of the various colors, with the range of wavelengths for visible light traveling
What is the typical financial objective of the firm : What is the typical financial objective of the firm? Why is capital budgeting essential for achieving that objective?
Prepare a word document that shows your program plan : Prepare a Word document that shows your program plan description including class diagram and your pseudocode defining program logic.
What is the logic behind the npv capital-budgeting framework : What is the logic behind the NPV capital-budgeting framework? Would changes in the cost of capital ever cause a change in the IRR ranking of several projects?
What is the magnitude of the final velocity : A 5 kg mass with an initial velocity of 7 i m/s collides and sticks to a 6 kg mass with an initial velocity of - 8 j m/s.
Create an online scavenger hunt : Create an online scavenger hunt - develop a series of questions and hot link keywords to websites to locate the answers. After locating the answer, students
Calculate the magnitude of the total momentum : Calculate the magnitude of the total momentum (in kg*m/s) of the two masses.

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