Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Java Expert


Home >> Java

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.

Java, Programming

  • Category:- Java
  • Reference No.:- M92394501
  • Price:- $20

Priced at Now at $20, Verified Solution

Have any Question?


Related Questions in Java

Assessment socket programmingtaskwrite a java gui program

Assessment: Socket Programming Task Write a JAVA GUI program that would facilitate text chatting/exchanging between two or multiple computers over the network/internet, using the concept of JAVA socket programming. If yo ...

Part a specification - robot simulationpart a

PART A Specification - Robot Simulation PART A Requirements To complete this assignment you will use the supplied eclipse project Robot P1/. It is already set up to execute a simple arm movement loop which you will build ...

Solving 2nd degree equationsbull write the following java

Solving 2nd degree equations • Write the following Java methods • boolean real-sols(double a, double b, double c): it returns true if the 2nd degree equation ax2 + bx + c has real solutions • double solution1(double a, d ...

Overviewyou are required to use java se 80 and javafx to

Overview You are required to use Java SE 8.0 and JavaFX to develop a Graphical User Interface (GUI) for the FlexiRent rental property management program created in Assignment 1. This assignment is designed to help you: 1 ...

Project descriptionwrite a java program to traverse a

Project Description: Write a java program to traverse a directory structure (DirWalker.java) of csv files that contain csv files with customer info. A simple sample in provided in with the sample code but you MUST will r ...

Overviewyou are required to use java se 80 and javafx to

Overview You are required to use Java SE 8.0 and JavaFX to develop a Graphical User Interface (GUI) for the FlexiRent rental property management program created in Assignment 1. This assignment is designed to help you: 1 ...

Assessment -java program using array of Assessment -JAVA Program using array of objects

Assessment -JAVA Program using array of objects Objectives This assessment item relates to the course learning outcomes as stated in the Unit Profile. Details For this assignment, you are required to develop a Windowed G ...

Applied software engineering assignment 1 -learning

Applied Software Engineering Assignment 1 - Learning outcomes - 1. Understand the notion of software engineering and why it is important. 2. Analyse the risk factors associated with phases of the software development lif ...

Assignment taskwrite a java console application that allows

Assignment task Write a java console application that allows the user to read, validate, store, display, sort and search data such as flight departure city (String), flight number (integer), flight distance (integer), fl ...

Project requirementsfor the problem described in the next

Project requirements For the problem described in the next section, you must do the following: 1. include your student ID at the end of all filenames for all java code files. Three classes have been identified in section ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As