Perform multiplication function using the calculator

Assignment Help JAVA Programming
Reference no: EM131585787

Project

Project is a continuation of the calculator graphical user interface program that you wrote in project 1. Enhance the calculator program to accomplish the following 4 operations.

1. Perform addition function using the calculator graphical user interface. Write code to add a plus (+) button in calculator graphical interface, and write code so that two numbers can be added, when the plus button is pressed.

2. Perform subtraction function using the calculator graphical user interface. Write code to add a minus (-) button in calculator graphical interface, and write code so that you can subtract one number from the other, when the minus button is pressed.

3. Perform multiplication function using the calculator graphical user interface. Write code to add a multiplication (x) button in calculator graphical interface, and write code so that two numbers can be multiplied, when the multiplication button is pressed.

4. Perform division function using calculator graphical user interface. Write code to add a divide (/) button in calculator graphical interface, and write code so that two numbers can be divided, when the division button is pressed. Handle error condition raised, if divided by zero. In other words, the program should not terminate, or throw exception, if the user is trying to divide by zero. Instead, the calculator will say "Cannot divide by zero".

You can demonstrate the use of whole number in your program. You are not required to code for decimal values. You may use any programming language of your choice, examples are Java, or C++, or C# etc. It is typical that the students would use the same programming language for Project 2, which they used for Pproject1.

Deliverables for this project include the following sections. Label the section appropriately, as noted below.

Section 1- Approach

Write up, or explanation on your approach. Write a paragraph, or two on this. Section 2- Assumptions
Write up, or explanation on any assumption that you have made. Write a paragraph, or two on this. If you have not made any assumption, you may keep this section empty.

Section 3- Not Implemented

Write up, or explanation on functions that you were not able to implement. Explain challenges faced, and effort you made to resolve it. Write a paragraph, or two on this. Consider this your

way to defend yourself and explain the effort made. If you have implemented all the functions, then keep this section empty.

Section 4 - lessons Learned

Write up on what lessons you have learned. Write a paragraph, or two on this.

Section 5- Possible Improvements
Write up on ways to improve your code. Improvement could be something you would have done different, but was not able to do because the scope, or time did not permit, functions that you were not able to implement and the reason for not doing, a different approach that you would have taken a different way of solving the problem etc. Write a paragraph, or two on this.

Section 6 - Source Code

Include the source code that you have written. Copy and paste it in the MS Word document. Section 7 - Test Plans
Write up on the test conditions (test plans) that you have tested. Include the positive test (conditions that pass the program), and negative test (conditions that will make the program not perform), explain those scenarios.

Section 8 - Test Runs with Screen Shot

Include screen shots of user interfaces generated while you tested the program. For example, when you run the program, you will receive GUI output, or console output. Include screen shot of each test run of the GUI output to support successful running of the program. Use these screen shots to demonstrate that you have successfully run the program and tested it.

Reference no: EM131585787

Questions Cloud

What is the present value of this promised payment stream : what is the present value of this promised payment stream?
Employee relations policies of the two : Write two pages comparing the employee relations policies of the two.
Why is there a prevalence of hiv-aids infection among person : Why is there a prevalence of HIV/AIDS infection among persons that are alcohol and/or drug dependent? Why do you believe there is high correlation?
Find flow that sends a dozen lunch carts from source to sink : Consider the network shown in Figure. It reflects the paths lunch carts can take through the downtown Ra?cja (Slovenia) area during the lunch rush.
Perform multiplication function using the calculator : Perform addition function using the calculator graphical user interface. Write code to add a plus (+) button in calculator graphical interface
Calculate component costs of debt and preferred stock : Explain and discuss the use of leverage to produce more than normal results. Define and calculate the component costs of debt and preferred
Discuss management responsibility for creating master budget : With the core values of responsible stewardship and integrity in mind, discuss management's responsibility for creating the master budget.
Discussion - impact of low interest rates on monetary policy : Discussion: Impact of Low Interest Rates on Monetary Policy. How do near-zero interest rates limit the ability of expansionary monetary policy to work
Define definable syndrome : How did the psychoanalytic investigation of certain frequently encountered patients led to the recognition of a definable syndrome

Reviews

len1585787

8/1/2017 5:15:17 AM

Grading Attribute Meets Functionality I will look at your documentation (containing copy and paste of code) and also the zip file (containing the source code) for this. Maximum possible points: 40 Writes a program that meets the functionality of plus, minus, multiply and divide Output I will look at your documentation and source code for this. Maximum possible points: 30 Generates the expected GUI and the test results. Documentation I will look at your documentation for this. Maximum possible points: 30 High quality of the documentation provided, including the 8 sections.

Write a Review

JAVA Programming Questions & Answers

  Write the definitions of the methods to implement operations

Calculate and return the day by adding certain days to the current day. For example, if the current day is Monday and we add four days, the day to be returned is Friday. Similarly, if today is Tuesday and we add 13 days, the day to be returned i..

  Why do regulators mandate the use of spread spectrum

Why do regulators mandate the use of spread spectrum and what are some spread spectrum transmission options?

  Write a simple tester program

Implement a class named Friend which extends the Contact class. The Friend class should have a field that represents the friend's birthday. For simplicity, the birthdate can be represented with a String.

  Calculates and displays the mortgage payment amount

Write a Java program without a graphical user interface that calculates and displays the mortgage payment amount given the amount of the mortgage, the term of the mortgage, and the interest rate of the mortgage. In this program, hard code the amou..

  Write a dim statement that declares a myfriend variable

Write a Dim statement that declares a MyFriend variable named school. Write an assignment statement that  assigns the value in the txtFirst control to the strFirst member

  Create a method named justsold that increments the hotdogs

Finally, add a static variable that tracks the total number of hotdogs sold by all hot dog stands and a static method that returns the value in this variable.

  Develop a reservation system program for specific flights.

develop a reservation system program for specific flights. A customer should be able to select from one of four categories of seats on flights from RDU to any of at least three other destinations. Based on the user input of seat type and destination,..

  Create a class named box that includes integer data fields

Create a class named Box that includes integer data fields for length, width and height. Create three constructors that require one, two and three arguments, respectively.

  Display student details and classes in applet

Display student details and classes they have enrolled in Applet. The Applet should have following features. Update and View.

  What value would be returned from call to its size() method

If a collection stores 5 objects, what value would be returned from a call to its size() method?

  Write a recursive boolean method named ismember in java

Write a recursive boolean method named isMember in Java. The method should accept three arguments: an array, a value to search for, and the size of the part of the array being searched.

  Write a fraction class called fraction.java

Write a Fraction class called Fraction.java that implements these methods: add - This method receives a Fraction parameter and adds the parameter fraction to the calling object fraction. multiply - This method receives a Fraction parameter and multip..

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