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

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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